Resource definitions come from the following sources:
-xrm 'x3270.bsdTm: true'Note that -xrm is supported on all of the 3270 emulators, not just on x3270.
x3270.resource-name: value
x3270.keymap.foo: \ <Key>a: String("bob") \n\ <Key>b: String("fred") \n\ <Key>c: String("joe")
When true, x3270's icon becomes a live miniature of the screen display.
Name: x3270.aidWaitWhen true, x3270 will not block a script after executing an AID action (Enter, Clear, PF or PA). It is then script's responsibility to poll x3270's status until it shows that the keyboard is no longer unlocked.
Name: x3270.allowResizeWhen true, the x3270 window can be resized by the mouse (actually, by the window manager). When false, the window can only be resized from menu options. The purpose of disabling mouse resizing is to allow a window bigger than will fit on the screen, which some window managers (e.g., mwm) will not allow if permitted to resize it.
Name: x3270.altCursorWhen true, this causes x3270 to use the alternate (underscore) cursor. When false, it will use a block cursor.
Name: x3270.aplModeEnables x3270 APL mode. APL mode appends apl to the list of names in x3270.keymap (causing the Alt key plus many alphanumeric keys to produce basic APL symbols), sets x3270.composeMap to apl (allowing Compose key sequences to construct complex APL symbols), and sets x3270.charset to apl (allowing the display of APL symbols using several of the 3270 fonts).
Name: x3270.backgroundThe background color for menus, buttons, and on monochrome X11 displays, the emulator window.
Name: x3270.bellVolumeControls the volume used when ringing the terminal bell. The value ranges from -100 (silent) through 0 (normal) to +100 (loud). Not all X11 servers can vary the bell volume, other than turning it on and off. This resource can be overridden by x3270.visualBell, which if true, will replace the bell with a flash of the screen.
Name: x3270.bindLimitWhen true, x3270 will restrict its screen dimensions to those specified in the BIND image sent by the host. If false, it will not.
Name: x3270.blankFillWhen true, in 3270 mode x3270 will automatically convert trailing blanks in a field to NULLs in order to insert a character, and will automatically convert leading NULLs to blanks so that input data is not squeezed to the left. This works around some of the quirkier behavior of real 3270 terminals.
Name: x3270.boldColorThis resource defines the X11 color used to display intensified text in 3278 mode.
Previous versions of x3270 implemented something called pseudo-color mode, where a monochrome (3278) terminal was emulated with various colors assigned to different kinds of fields. To emulate pseudo-color mode with the current version of x3270, select 3278 emulation with x3270.model, set x3270.inputColor to orange and set x3270.boldColor to cyan.
Name: x3270.bsdTmDefines x3270's response to the TELNET DO TIMING MARK option. When set to false, x3270 will respond to DO TIMING MARK with WONT TIMING MARK, which is consistent with most modern TELNET clients. When true, x3270 will respond with WILL TIMING MARK, which is consistent with the old BSD telnet command and with previous versions of x3270. In either case, x3270 will never respond to a DONT TIMING MARK option.
Name: x3270.caDirDefines a directory containing CA (root) certificates, used to validate a certificate presented by the host during SSL negotiation. The default is determined by the OpenSSL library on your workstation.
Name: x3270.caFileDefines a PEM-format file containing CA (root) certificates, used to validate a certificate presented by the host during SSL negotiation.
Name: x3270.certFileGives the name of a certificate file, provided to the host if requested during SSL negotiation. The default file format is PEM; it can be overridden by x3270.certFileType. The private key for the certificate is specified by x3270.keyFile. If x3270.chainFile is specified, it overrides x3270.certFile.
Name: x3270.certFileTypeGives the type of the certificate file specified by x3270.certFile. The value can be pem or asn1.
Name: x3270.chainFileGives the name of a certificate chain file, provided to the host if requested during SSL negotiation. The file contains a PEM-format certificate, optionally followed by any intermediate certificates used to sign it, and the CA (root) certificate. The private key for the certificate is specified by x3270.keyFile. If x3270.chainFile is specified, it overrides x3270.certFile.
Name: x3270.charClassDefines groups of characters that should be treated the same when doing cut and paste of words. Identical in use to the xterm resource of the same name.
Name: x3270.charsetThis defines the host EBCDIC character set, that is, what glyph (image) is displayed for each EBCDIC code sent by the host, and what EBCDIC code is sent to the host for each character typed on the keyboard. This is more correctly referred to as the host code page.
To display the character sets supported by x3270, use the -v command-line option.
Name: x3270.charsetListDefines the Options -> Character Set menu. Can contain '>' characters to define a menu hierarchy.
See the file X3270.xad for an example.
Name: x3270.color8If true, x3270 will respond to a Query(Color) with a list of 8 supported colors. If false, it will send a list of 16 colors. The 8-color setting is required for some hosts which abort a session if 16 colors are reported.
Name: x3270.colorBackgroundThe background color for the emulator window. This resource is used only on color X11 displays when x3270.model specifies 3278 mode. On monochrome X11 displays, the background color is white, unless -rv (reverse video) is selected on the command line; in 3279 mode, the screen background is determined by x3270.colorScheme.
Name: x3270.colorSchemeDefines the colors used to paint the emulator window in 3279 (full-color) mode. This resource is used only when x3270.model specifies a 3279 display. x3270.colorScheme is just the name of the color scheme. The actual color scheme definition for color scheme foo is x3270.colorScheme.foo.
Name: x3270.colorScheme.fooAn individual color scheme definition. I.e., to define color scheme foo, a resource named x3270.colorScheme.foo must be defined.
Each resource is a whitespace-separated list of 23 items:
Note: Host color 0 (NeutralBlack) means black on a display screen (a white-on-black device) and white on a printer (a black-on-white device). Host color 7 (NeutralWhite) means white on a display screen and black on a printer.
Name: x3270.composeMapGives the name of the map used to define the pairs of characters that form composite characters with the Compose key. The definition of compose map foo is the resource x3270.composeMap.foo.
Name: x3270.composeMap.fooAn individual compose map definition. Each line in the resource is of the form:
keysym1 + keysym2 = keysym3
meaning "when the Compose key is pressed, followed by keysym1 and keysym2 (in either order), interpret it as keysym3." The definitions are case-sensitive.
Name: x3270.confDirDefines the x3270 configuration directory, where x3270 will search for the ibm_hosts file by default. (See x3270.hostsFile.)
Name: x3270.connectFileNameGives the name of the file to store the recently-connected host list in. If given the value none, no file will be read or written. Note that by default, this file is shared among all instances of x3270 that run under the same username.
Name: x3270.crosshairWhen true, causes x3270 to display a crosshair over the cursor: lines extending with height and width of the screen.
Name: x3270.cursorBlinkWhen true, causes x3270 to use a blinking cursor.
Name: x3270.cursorColorOn color X11 displays, this is the color of the text cursor. This resource is used only if x3270.useCursorColor is true.
Name: x3270.cursorPosWhen true, causes x3270 to display the cursor location in the OIA (the status line).
Name: x3270.dbcsCgcsgidOverrides the compiled-in value of the CGCSGID for the current host character set, which will be reported to the host in response to a Query(Character Sets). The value is an integer, which can be prefixed with '0x' to be in hexadecimal. The upper 16 bits are the GCSGID (character set) and the lower 16 bits are the CPGID (code page). This value applies only to the double-byte (DBCS) character set. Use x3270.sbcsCgcsgid for the single-byte (SBCS) character set.
Name: x3270.debugTracingIf true, options are available on the File menu to trace the 3270 data stream and X11 events. If false, these options are not displayed.
Name: x3270.dftBufferSizeSpecifies the default buffer size for DFT IND$FILE file transfers. This value can be overridden in the File Transfer dialog and by a parameter to the Transfer action.
Name: x3270.devNameSpecifies the device name (workstation ID) sent in response to a TELNET NEW-ENVIRON sub-negotiation request, used by iSeries hosts (RFC 4777).
Name: x3270.disconnectClearIf true, x3270 will clear the screen when a host disconnects.
Name: x3270.doConfirmsWhen true, x3270 will display a pop-up to report successful completion of certain operations, such as screen printing. When false, these pop-ups are not displayed.
Name: x3270.dsTraceWhen true, x3270 writes a hexadecimal representation of all network traffic (and its interpretation) into a file, which defaults to /tmp/x3trc.pid. It also pops up a window to watch the file as it is created, with the pathname of the file as the window title. The command run in the window is defined by x3270.traceCommand. The directory prefix is defined by x3270.traceDir. If x3270.traceFile is defined, it gives the entire pathname and x3270.traceDir is ignored.
Name: x3270.emulatorFontThe font used for the emulator window. By default it is 3270, a 14-pixel clone of a real 3278 display font. Other 3270-specific fonts are available in 8-, 12-, 16-, 24- and 32-pixel sizes. Any standard X11 constant-spaced font can also be used, provided that it implements a display character set compatible with the host code page (x3270.charset). However, the special OIA (status line) symbols are only available with the 3270 fonts.
Name: x3270.emulatorFontList.fooA list of fonts for display character set foo. This list will be presented by the Options -> Font menu when the host code page (x3270.charset) requires display character set foo.
The list can include '>' characters to present a hierarchy of options.
See the file X3270.xad for an example.
Name: x3270.eofThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name.
When connected in line-at-a-time mode (when x3270 gathers a line of input before forwarding it to the host), entering this character at the keyboard causes the current line of input to be forwarded to the host without a trailing CR/LF sequence.
Name: x3270.erase
This setting is used only in NVT mode, and is similar in function to the stty parameter of the same name.
When connected in line-at-a-time mode (x3270 gathers a line of input before forwarding it ot the host), entering this character at the keyboard will cause x3270 to discard the last character on the input line.
When connected in character-at-a-time mode (x3270 sends each keystroke to the host as it is entered), this is the character that will be sent to the host by the Erase action.
Name: x3270.eventTraceWhen true, x3270 traces information about keyboard and mouse events into a file. The default file name is /tmp/x3trc.pid. It also pops up a window to watch the file as it is created, with the pathname of the file as the window title. The command run in the window is defined by x3270.traceCommand. The directory prefix is defined by x3270.traceDir. If x3270.traceFile is defined, it gives the entire pathname and x3270.traceDir is ignored.
Name: x3270.extendedDeprecated resource -- replaced by x3270.model syntax
Indicates support for the 3270 Extended Data Stream.
Name: x3270.fixedSizeSpecifies a fixed size for the x3270 display window. If set, x3270 will not allow its window to be resized by the window manager. The syntax is widthxheight. The 3270 display screen will float in the center of the window if necessary.
Name: x3270.foregroundThe foreground color for menus, buttons, and on monochrome X11 displays, the emulator display.
Name: x3270.highlightBoldIf true, highlighted fields will be displayed in bold. If false, highlighted fields will be displayed in the normal font.
Name: x3270.hostnameGives the name of the host to connect to. The name can include the usual options (prefixes to specify special connection options, LU names, and port). A hostname specified on the command line takes precedence over x3270.hostname.
The most common use of x3270.hostname is in session files, where a file is used to pass all of the options to establish a x3270 session.
Name: x3270.hostsFileThe pathname of a file listing the host names that appear on the File -> Connect menu. The file can also be used to create hostname aliases and to define a set of actions to perform when connecting to a host.
The format of the file is explained on the ibm_hosts manual page. The default pathname is actually ibm_hosts in the directory defined by x3270.confDir.
Name: x3270.iconFontThe font used to paint the text inside the active icon (see x3270.activeIcon). The default of nil2 is a one-by-two pixel font that produces a "greeked" picture of the screen image.
Name: x3270.iconLabelFontWhen x3270.activeIcon and x3270.labelIcon are true, this is the name of the font used to paint the icon label.
Name: x3270.icrnlThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name. It controls whether input carriage returns are mapped to newlines.
Name: x3270.idleCommandWhen x3270.idleCommand is defined, it specifies a command to execute after a period of keyboard inactivity (no AID keys pressed). The x3270.idleCommand can be an arbitrary sequence of x3270 actions, but it should include an action which generates an AID (Enter, Clear, PF or PA). x3270.idleCommandEnabled must be true in order for the x3270.idleCommand to take effect. (This is so an idle command can be defined, but needs to be enabled explicitly at some point after login.) x3270.idleTimeout specifies the inactivity interval.
Name: x3270.idleCommandEnabledControls whether x3270.idleCommand has effect as soon as a host session is established. (This is so an idle command can be defined, but needs to be explicitly enabled at some point after login.)
Name: x3270.idleTimeoutThe timeout value for x3270.idleCommand. If the value ends in h, it specifies hours; if it ends in m it specifies minutes; if it ends in s or does not have an alphanumeric suffix, it specifies seconds.
If the value begins with a tilde ~, the time will be randomly varied +/-10% from the value specified.
Name: x3270.inlcrThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name. It controls whether input newlines are mapped to carriage returns.
Name: x3270.inputColorThis resource defines the color used to display light-pen selectable text in 3278 (monochrome) emulation mode.
Previous versions of x3270 implemented something called pseudo-color mode, where a monochrome (3278) terminal was emulated with various colors assigned to different kinds of fields. To emulate pseudo-color mode with the current version of x3270, select 3278 emulation with x3270.model, set x3270.inputColor to orange and set x3270.boldColor to cyan.
If the resource x3270.modifiedSel is true, modified fields are also displayed using x3270.inputColor.
Name: x3270.inputMethodSpecifies the name of the multi-byte input method. The default is specified by the XMODIFIERS environment variable, if set, or will be constructed by Xlib based on the current locale.
Name: x3270.intrThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name. When this character is typed on the keyboard, the TELNET IP (Interrupt Process) sequence is sent to the host.
Name: x3270.invertKeypadShiftWhen true, causes the PF1-PF12 and PF13-PF24 keys on the pop-up keypad to be swapped. Normally, the low-numbered keys appear; when Shift, Alt, Ctrl or Meta is pressed, the high-numbered keys appear. With this resource true, that is reversed.
Name: x3270.keyFileGives the name of a file containg the private key for the certificate specified by x3270.certFile or x3270.chainFile. The default file type is PEM; it can be overridden by x3270.keyFileType. If the private key is encrypted, the password is specified by x3270.keyPasswd.
Name: x3270.keyFileTypeGives the type of the private key file specified by x3270.keyFile. The value can be pem or asn1.
Name: x3270.keyHeightDefines the height of the keys on the pop-up keypad.
Name: x3270.keymapThe name of the keyboard map to use. It can be a single keymap name or a comma-separated list of keymaps, which will be applied in order.
Each keymap can optionally be defined in three separate parts: a common keymap, which is applied at all times, an NVT-mode keymap, which is applied only in NVT mode, and a 3270-mode keymap, which is only applied in 3270 mode. The NVT-mode keymap has the same name as the common keymap, with the suffix .nvt appended. The 3270-mode keymap has the suffix .3270 appended. Thus specifying a x3270.keymap value of foo implies the use of three different keymaps (if found): foo, foo.nvt and foo.3270.
After that, the string .user is appended to the keymap name and three more keymaps are searched for: foo.user, foo.user.nvt and foo.user.3270, for a total of six.
If no x3270.keymap is defined, the environment variables $KEYMAP and $KEYBD are checked, in that order, for the name. x3270.keymap is only the name; the keymap definition for name foo is the resource x3270.keymap.foo.
Name: x3270.keymap.fooThe definition of keymap foo. Please refer to the How To Create a Custom Keymap document for a full description of the syntax.
Name: x3270.keypadThis controls the position of the pop-up keypad. It can have one of five values:
The height in pixels of all of the buttons on the keypad.
Name: x3270.keyPasswdGives the password for the private key file specified by x3270.keyFile, if it is encrypted. The value can take one of two forms. file:filename specifies that the password is in a file. string:string gives the password value in the resource itself.
Name: x3270.keyWidthThe width in pixels of the lower tier of buttons on a horizontal keypad.
Name: x3270.keypad.largeKeyWidthThe width in pixels of the lower tier of buttons on a vertical keypad.
Name: x3270.keypad.paWidthThe width in pixels of PA and cursor keys on the keypad.
Name: x3270.keypad.pfWidthThe width in pixels of PF keys on the keypad.
Name: x3270.keypadBackgroundOn color X11 displays, this is the color of the empty area behind the buttons on the main window and keypad window. On monochrome X11 displays, these areas are filled with a 50% grey bitmap.
Name: x3270.keypadOnIf true, the keypad will automatically appear when x3270 is started.
Name: x3270.killThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name.
When connected in line-at-a-time mode (when x3270 gathers a line of input before forwarding it to the host), entering this character at the keyboard causes the current input line to be erased.
When connected in character-at-a-time mode (when x3270 sends each keystroke to the host), this is the ASCII character that is sent to the host by the DeleteField action.
Name: x3270.labelIconWhen x3270.activeIcon is true, the twm window manager will not put a label on x3270's icon. Setting x3270.labelIcon to true causes x3270 to supply its own label for the icon.
The icon label is drawn using the font specified by x3270.iconLabelFont.
Name: x3270.largeKeyWidthDefines the width of the "large" keys in the lower section of the pop-up keypad.
Name: x3270.lineWrapThis setting is used only in NVT mode. When true, x3270 will automatically insert a CR/LF sequence when output reaches the end of a line. When false, output will pile up at the end of each line until the host sends a CR/LF sequence.
Name: x3270.loginMacroDefines a sequence of commands to run as soon as a host connection is established. Usually these would be commands used to navigate through login screens, such String, Tab and Enter.
If a x3270.hostsFile is in use and a matching entry is found, the login macro from that entry will be used in preference to the x3270.loginMacro.
Name: x3270.lnextThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name.
When connected in line-at-a-time mode (when x3270 gathers a line of input before forwarding it to the host), entering this character at the keyboard removes any special meaning from the next character entered.
Name: x3270.lockedCursorThe name of the mouse cursor displayed with x3270 is not connected to a host.
Name: x3270.m3279Deprecated resource -- replaced by x3270.model syntax
Indicates support for color (a 3279 terminal).
Name: x3270.macrosDefines a set of macros assigned to the Macros menu that appears when connected to a host. The syntax is similar to a keymap (an X11 translation table), except that rather than a keysym name, the left-hand side is a name that will appear on the menu. A list of actions can be specified on the right-hand side.
x3270.macros defines a set of macros for all hosts. To specify a set of macros for host foo, use x3270.macros.foo.
Name: x3270.macros.fooDefines a set of macros assigned to the Macros menu that appears when connected to host foo. It overrides the contents of x3270.macros. See x3270.macros for details on its syntax.
Name: x3270.marginedPasteWhen true, x3270 will use the current cursor position as a left margin for pasted data: no pasted data will be input into an area to the left of the current cursor positon.
Name: x3270.menuBarIf false, the menu bar will not be displayed at the top of the x3270 main window. The three pull-down menus are still available, however, by pressing Ctrl and each of the mouse buttons.
Name: x3270.modelThe terminal model that x3270 is emulating. The model is in three parts, separated by dashes; each part is optional.
When true, modified fields are displayed in a different color than other modifiable fields. In 3278 mode, this color is the "input" (light pen selectable) color, defined by x3270.inputColor. In 3279 mode, this is the color whose index is defined by x3270.modifiedSelColor. When x3270.modifiedSel is false, modified fields are displayed in the same colors as unmodified fields.
Name: x3270.modifiedSelColorIn 3279 mode, when x3270.modifiedSel is true, this is index of the host color used to display modified fields. The default value of 10 corresponds to "orange". (See x3270.colorSchemes for the host color index definitions.)
Name: x3270.monoIf true, x3270 will operate as if it were running on a monochrome X11 display.
Name: x3270.monoCaseWhen true, causes x3270 to run in uppercase-only mode.
Name: x3270.noOtherIf true, the "Other" options are disabled for selecting fonts and connecting to hosts, limiting users to the options provided on the menus.
Name: x3270.normalCursorDefines the mouse cursor that x3270 uses when it is connected to a host, not waiting for the host to complete a command, and the keyboard is not locked.
Name: x3270.numericLockWhen true, causes x3270 to lock the keyboard when non-numeric data is entered into fields with the Numeric attribute.
Name: x3270.normalColorOn color X11 displays in 3278 mode, this is the color of normal-intensity text. On monochrome X11 displays, normal text uses the foreground color.
Name: x3270.onlcrUsed only in NVT line-at-a-time mode; similar to the stty parameter of the same name. It controls whether output newlines are mapped to CR/LF sequences.
Name: x3270.oerrLockIf true, operator errors (typing into protected fields, insert overflow, etc.) will cause the keyboard to lock with an error message in the OIA (status line). If false, these errors will simply cause the terminal bell will ring, without any keyboard lock or message.
Name: x3270.onceWhen true, x3270 will exit as soon as a host disconnects. The default is false if no hostname is specified on the command line or in a session file, true otherwise.
Name: x3270.oversizeSets the screen dimensions to be larger than the default for the chosen model. Its value is a string in the format colsxrows. It is used only if the x3270.model includes the "-E" (extended data stream) suffix, and only if the specified dimensions are larger than the model number defaults. Also, only hosts that support the Query Reply structured field will function properly with x3270 in this mode.
Name: x3270.paWidthDefines the width of the PA keys in the lower section of the pop-up keypad.
Name: x3270.pfWidthDefines the width of the PF keys on the pop-up keypad.
Name: x3270.portThe name of the default TCP port for x3270 to connect to. This can be either a symbolic name from /etc/services, or an integer.
Name: x3270.proxyDefines a proxy server that x3270 will use to connect to hosts. The value is of the form type:server[:port], where options for type are described on the x3270 manual page.
Name: x3270.preeditTypeThe preedit type for the multi-byte input method. Valid values are OverTheSpot, OffTheSpot, Root and OnTheSpot. The value for OverTheSpot can include an optional suffix, a signed number indicating the vertical distance in rows of the preedit window from the cursor position, e.g. OverTheSpot+1 or OverTheSpot-2.
Name: x3270.printerLuIf a value is set, x3270 will automatically start a pr3287 printer session when a host connection is established. If the value is ".", the pr3287 session will be associated with the interactive terminal session (this requires that the host supports TN3270E). Otherwise, the value is taken as the LU name to associate with the printer session.
Name: x3270.printer.assocCommandLineThe shell command to use to start a printer session, when associated with the current TN3270E session LU (when x3270.printerLU is "."). Within the string, the following substitutions are made:
The name of the command supplied to the "-command" option of the pr3287 program to print each job. This is the text which is substituted for %C in x3270.printer.assocCommandLine and x3270.printer.luCommandLine resources.
Name: x3270.printer.luCommandLineThe shell command to use to start a printer session, when associated with a specific LU. Within the string, the following substitutions are made:
Defines extra parameters to substutute for the %O% token in the printer command line.
Name: x3270.printTextCommandThe shell command used by the PrintText action. An ASCII image of the 3270 display becomes the standard input to this command. If the first character of the command is '@', the usual pop-up windows before and after the text is printed will not appear.
Name: x3270.printWindowCommandThe shell command used by the PrintWindow action. The X11 window identifier of the main x3270 window is substituted for any %d in the command. If the first character of the command is '@', the usual pop-up windows before and after the window is printed will not appear.
Name: x3270.quitThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name. When connected in line-at-a-time mode (when x3270 gathers a line of input before forwarding it to the host), entering this character at the keyboard causes the TELNET BREAK sequence to be sent to the host.
Name: x3270.reconnectWhen true, x3270 will automatically reconnect to a host after it disconnects.
Name: x3270.rectangleSelectWhen true, x3270 will always select rectangular areas of the screen. When false, x3270 will select rectangular areas in 3270 mode, but in NVT mode it will select continuous areas of the screen like xterm.
Name: x3270.rprntThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name. When connected in line-at-a-time mode (when x3270 gathers a line of input before forwarding it to the host), entering this character at the keyboard causes the current input line to be redisplayed.
Name: x3270.saveLinesThe number of display lines to save for the scroll bar.
Name: x3270.sbcsCgcsgidOverrides the compiled-in value of the CGCSGID for the current host character set. The value is an integer, which can be prefixed with '0x' to be in hexadecimal. The upper 16 bits are the GCSGID (character set) and the lower 16 bits are the CPGID (code page). This value applies only to the single-byte (SBCS) character set. Use x3270.dbcsCgcsgid for the double-byte (DBCS) character set.
Name: x3270.schemeListLists the options on the Color Scheme menu. Can contain '>' characters to indicate a menu hierarchy. See the file X3270.xad for an example.
Name: x3270.screenTraceWhen true, x3270 will save an ASCII version of the screen image in a file every time it changes. The file name defaults to /tmp/x3scr.pid. The directory prefix is defined by x3270.traceDir. If x3270.screenTraceFile is defined, it defines the file name and x3270.traceDir is ignored.
Name: x3270.screenTraceFileIf defined, gives the name of the file that screen traces will be written into.
Name: x3270.scriptedWhen true, x3270 will read commands from standard input. The rules for these commands are documented in the x3270-script manual page.
Name: x3270.scriptPortIf defined, x3270 will accept script connections on the specified local TCP port. The rules for the commands passed over these connections are documented in the x3270-script manual page.
Name: x3270.scrollBarWhen true, x3270 will display a scroll bar to the right of the emulator window.
Name: x3270.secureWhen true, x3270 will prevent users from executing arbitrary commands from within the program. In particular, the File -> Execute an Action menu option is disabled, as are the pop-ups which allow editing the commands for File -> Print Screen Text and File -> Print Window Bitmap, and x3270.disconnectClear is true. See x3270.noOther and x3270.suppressActions for additional security options.
Name: x3270.selectBackgroundOn color X11 displays, this is the background color used for selected text (text highlighted with the mouse for cut and paste). On monochrome X11 displays, selected text is in reverse video.
Name: x3270.selfSignedOkWhen true, x3270 will allow SSL authentication with a host that uses a self-signed certificate.
Name: x3270.showTimingWhen true, x3270 will display on the OIA (status line) the time that the host takes to unlock the keyboard after an AID is sent.
Name: x3270.socketWhen true, x3270 will create a Unix-domain socket than can be used by an external script to control the session. The name of the socket is /tmp/x3sck.pid. The -p option of the x3270if command can be used to connect to this socket.
Name: x3270.*suppressWhen true, suppresses a menu item. For example, setting x3270*executeActionOption.suppress to true will remove the Execute an Action option on the File menu. The names of the menu items generally end in 'Option' and have label resources in X3270.xad.
Name: x3270.suppressActionsA list of whitespace-separated action names, with or without parentheses, which are to be ignored. The actions will be completely inaccessible, whether by keymaps, scripts, macros or the Execute an Action menu option. This resource is intended to be used as a security precaution for users who can define their own keymaps, but who do not have access to resource definitions or command-line options.
Name: x3270.suppressFontMenuIf true, the Options -> Font menu will not be displayed.
Name: x3270.suppressHostIf true, x3270 will omit the hostname from the File -> About x3270 -> Connection Status pop-up.
Name: x3270.termNameAn alternate name to be sent in response to the host's TELNET DO OPTION TERMINAL-NAME request. The default is IBM-, followed by the value of x3270.model.
Name: x3270.titleSets the title for the x3270 window, overriding the default of constructing the name from the host that is connected to.
Name: x3270.traceCommandDefines the command that runs in the trace window.
Name: x3270.traceDirDefines the directory that trace files are written into.
Name: x3270.traceFileIf defined, gives the name of the file that data stream and event traces will be written into. If it begins with ">>", data will be appended to the file. If given the value stdout, traces will be written to standard output. If given the value none, then the traces will be piped directory to the monitor window, and no file will be created.
Name: x3270.traceFileSizeIf defined, gives a limit on the size of the file that data stream and event traces will be written into. If not defined, or defined as 0, there will be no limit on the size of the file. The value is a number, followed by an optional suffix. If the suffix is K (e.g., 128K), the value will be multiplied by 1024. If the suffix is M, the value will be multiplied by (1024*1024). The size limit enforced at operation boundaries, not per byte, so the actual file may grow slightly larger. When the file size exceeds the limit, the trace file will be renamed with a "-" appended and a new file started.
Name: x3270.traceMonitorWhen true, x3270 will create a window to monitor data stream and event traces. When false, no monitor window will be created (and the value of none for x3270.traceFile will be considered invalid).
Name: x3270.unlockDelayWhen x3270 sends the host an AID (the Enter, Clear, PF or PA actions), it locks the keyboard until the host sends a reply to unlock it. Some hosts unlock the keyboard before they are actually finished processing the command, which can cause scripts to malfunction subtly. To avoid this, x3270 implements a hack to briefly delay actually unlocking the keyboard. When x3270.unlockDelay is true, the keyboard unlock will be delayed for x3270.unlockDelayMs milliseconds. Setting it to false removes this delay, except when executing a macro.
Name: x3270.unlockDelayMsOverrides the default value for the unlock delay (the delay between the host unlocking the keyboard and x3270 actually performing the unlock). The value is in milliseconds; use 0 to turn off the delay completely, including for macros.
Name: x3270.useCursorColorIf false, the cursor will be drawn using the same color as the text behind it. If true, on color X11 displays the cursor will be drawn with the color specified by x3270.cursorColor.
Name: x3270.userSpecifies the user name sent in response to a TELNET NEW-ENVIRON sub-negotiation request, used by iSeries hosts (RFC 4777).
Name: x3270.verifyHostCertIf false (the default), x3270 will not verify SSL host certificates. If true or if the -verifycert option is given, x3270 will verify SSL host certificates, and not allow an SSL or SSL/TLS connection to complete unless the host certificate can be validated.
Name: x3270.visibleControlIf true, control characters will be displayed on the screen (normally they are blank). Control characters, displayed with underlines, are as follows:
When true, x3270 will flash the screen in response to an ALARM WCC or BELL character, rather than ringing the terminal's bell.
Name: x3270.visualSelectThis resource controls how x3270 displays light pen selectable fields that do not have a color explicitly set by the host. When true, x3270 will display these fields using the color defined by x3270.visualSelectColor. When false, x3270 will display these fields based on their highlighting attribute. This attribute is used only in 3279 mode.
Name: x3270.visualSelectColorThe host color index of the color to use to display light pen selectable fields. This resource is used only if x3270.visualSelect is true. The default is 6 (yellow).
Name: x3270.waitCursorThe name of the mouse cursor displayed when x3270 is connected to a host, but is unable to process keyboard input. Cursor names are in the file <X11/cursorfont.h>.
Name: x3270.weraseThis setting is used only in NVT mode, and is similar in function to the stty parameter of the same name. When connected in line-at-a-time mode (when x3270 gathers a line of input before forwarding it to the host), entering this character at the keyboard erases the last word of input.
When connected in character-at-a-time mode (when x3270 sends each keystroke to the host), this is the ASCII character that is sent to the host by the DeleteWord action.
charset | hostname | keymap | model |
port | proxy | printerLu |
eof | erase | icrnl | inlcr |
intr | kill | lineWrap | lnext |
onlcr | quit | rprnt | werase |
bindLimit | bsdTm | color8 | dbcsCgcsgid |
dftBufferSize | devName | sbcsCgcsgid | termName |
user |
blankFill | idleCommand | idleCommandEnabled | idleTimeout |
marginedPaste | numericLock | oerrLock | rectangleSelect |
visualBell |
caDir | caFile | certFile | certFileType |
chainFile | debugTracing | keyFile | keyFileType |
keyPasswd | noOther | secure | selfSignedOk |
*suppress | suppressActions | verifyHostCert |
debugTracing | dsTrace | eventTrace | screenTrace |
screenTraceFile | traceDir | traceFile | traceFileSize |
traceMonitor |
extended | m3279 |
x3270 version 3.3.12ga13 Thu May 2 20:12:48 CDT 2013