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")
Defines a specific name to accept when validating the name presented in the server's SSL/TLS certificate, instead of using the name used to make the connection. (The form DNS:name is also accepted for backwards compatibility.)
Name: x3270.activeIconWhen 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.alwaysInsertWhen true, x3270 will set insert mode by default, and insert mode can only be disabled by the ToggleInsert() action.
Name: x3270.altCursorWhen true, this causes x3270 to use the alternate (underscore) cursor. When false, it will use a block cursor.
Name: x3270.aplCircledAlphaWhen set to true, allows x3270 to work properly with special APL fonts like the APL385 font. APL385 maps the APL underscored alphabetic characters, which have no Unicode equivalent, to the DBCS circled alphabetic characters in the range U+24B6 to U+25CF. Otherwise, the only way to display these characters is with one of the special 3270 fonts included with x3270.
Because this mapping is non-standard, this setting affects only the display. The Ascii action will always output underscored alphabetics as blanks, and copy-and-paste operations will also represent them this way, though this may change to use the Unicode Combining Low Line character U+0332 at some point.
Name: x3270.aplModeSets x3270 APL mode at start-up. APL mode sets up a temporary keymap and compose map to allow the entry of APL symbols. At run-time, APL mode is toggled with the Shift-Esc key.
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.bindUnlockWhen true, x3270 will unlock the keyboard as soon as the host sends a BIND image. Otherwise, it will wait until the host sends a Write command.
Note that in some previous releases, unlocking as soon as the BIND image was recevied was the default, and this behavior could be overridden (forcing x3270 to wait for the Write) by the B: option on the hostname. Since waiting for the Write is now the default, B: is still supported as a no-op.
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/TLS negotiation. The default is determined by the OpenSSL library on your workstation. (OpenSSL only)
Name: x3270.caFileDefines a PEM-format file containing CA (root) certificates, used to validate a certificate presented by the host during SSL/TLS negotiation. The default is determined by the OpenSSL library on your workstation. (OpenSSL only)
Name: x3270.certFileGives the name of a client certificate file, provided to the host during SSL/TLS negotiation.
With OpenSSL, 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.
On the Mac, the file must be in PKCS12 format.
Name: x3270.certFileTypeGives the type of the certificate file specified by x3270.certFile. The value can be pem or asn1. (OpenSSL only)
Name: x3270.chainFileGives the name of a certificate chain file to provided to the host during SSL/TLS 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. (OpenSSL only)
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.clientCertGives the name of a client certificate, provided during SSL/TLS negotiation. (Mac only)
Name: x3270.codepageThis defines the host EBCDIC code page, 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.
To display the code pages supported by x3270, use the -v command-line option or the Query(CodePages) action.
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.connectTimeoutSpecifies a timeout, in seconds, that x3270 will wait for a host connection to complete. If this is not set, the timeout will be determined by the operating system. Note that x3270 will wait for the lesser of the two times (the specified timeout and the system-defined timeout).
Name: x3270.consoleOverrides the default console emulator program used for the x3270> prompt and the trace monitor window.
The resource can take two forms. If it is just a keyword, it is the name of a well-known console: gnome-terminal, konsole, xfce4-terminal or xterm. If the string includes colons (:), it defines a console, and consists of four fields: program-name:title-option:extra-option:exec-option.
program-name is the name of the executable program.
title-option is the option used to set the window title.
extra-option is an extra command-line option to pass, such as -sb to turn on the xterm scroll bar. It can be empty.
exec-option is the option used to end the argument list, with the remaining options specifying the command and arguments to run inside the console window.
For example, the specification for gnome-terimnal is gnome-terminal:--title::--.
Name: x3270.crosshairWhen true, causes x3270 to display a crosshair over the cursor: lines extending with height and width of the screen.
Name: x3270.crosshairColorDefines the color used for the crosshair cursor (see x3270.crosshair). The value is a host color name or numeric host color index:
Host Color Name | Host Color Index |
---|---|
NeutralBlack | 0 |
Blue | 1 |
Red | 2 |
Pink | 3 |
Green | 4 |
Turquoise | 5 |
Yellow | 6 |
NeutralWhite | 7 |
Black | 8 |
DeepBlue | 9 |
Orange | 10 |
Purple | 11 |
PaleGreen | 12 |
PaleTurquoise | 13 |
Grey | 14 |
White | 15 |
When 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.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.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.dpiOverrides the system DPI (screen resolution) setting, normally retrieved from Xft.dpi. This resource modifies the sizes of visual elements on the screen, but not fonts.
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.codepage). However, the special OIA (status line) symbols are only available with the 3270 fonts.
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.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.ftAllocationDefines the default allocation type for files sent to TSO hosts by IND$FILE file transfers. Possible values are default, which lets the host decide the allocation type, or tracks, cylinders, or avblock.
Name: x3270.ftAvblockDefines the default AVBOCK (average block) allocation size for files sent to TSO hosts by IND$FILE file transfers.
Name: x3270.ftBlksizeDefines the default block size for files sent to TSO hosts by IND$FILE file transfers.
Name: x3270.ftBufferSizeSpecifies 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.ftCrDefines the default action for line separators (carriage returns and line feeds) in ASCII files during IND$FILE file transfers. The value can be auto, which will add them when files are received from the host and remove them when they are sent to the host, add (same as auto), remove (same as auto), or keep, meaning no special processing is done.
Name: x3270.ftDirectionDefines the default IND$FILE file transfer direction, from the perspective of the workstation. The value can be either send (send file from workstation to host) or receive (receive file from host to workstation).
Name: x3270.ftExistDefines the default behavior for IND$FILE file transfers when the destination file already exists. The value keep means that the transfer will be aborted (or if invoked interactively, the user will be prompted to confirm the file is to be overwritten), replace means that the file will be overwritten unconditionally, and append means that the new file will be appended to the old file.
Name: x3270.ftHostDefines the default host type for IND$FILE file transfers. The value can be vm, tso or cics.
Name: x3270.ftHostFileDefines the default host file name for IND$FILE file transfers.
Name: x3270.ftLocalFileDefines the default local file name for IND$FILE file transfers.
Name: x3270.ftLreclDefines the default logical record length for files sent to the host via IND$FILE.
Name: x3270.ftModeDefines the default mode for IND$FILE file transfers: ascii (text, with translation between the workstation's code page and EBCDIC), or binary (no translation).
Name: x3270.ftPrimarySpaceDefines the default primary space allocation for files sent to TSO hosts via IND$FILE.
Name: x3270.ftRecfmDefines the default record format for files sent to the host using IND$FILE. Possibe values are default, fixed, variable, and undefined. The default value of 'default' lets IND$FILE choose an appropriate format.
Name: x3270.ftRemapDefines the default mapping behavior for ASCII files transferred with IND$FILE. When set to yes, ASCII files are translated by x3270 to produce as accurate a mapping as possible between the workstation's code page and the host's EBCDIC code page. When set to no, only the fixed translation built into the IND$FILE application is run, which (roughly) maps ISO 8859-1 to host code page 37.
Name: x3270.ftSecondarySpaceDefines the default secondary space allocation for files sent to TSO hosts via IND$FILE.
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.httpdDefines the TCP port and optional address to listen on for HTTP connections. (x3270 implements a simple REST API and a set of HTML objects for access by scripts.) The syntax of this resource is [address:]port, where address is an IPv4 or IPv6 address such as 127.0.0.1 or 0.0.0.0, and port is a TCP port such as 4080. The address can also be specified as * to indicate 0.0.0.0. A numeric IPv6 address must be enclosed in square brackets, e.g., [1234:5678::3], to avoid ambiguity between the colons inside the address and the colon separating the address from the port. If no address is specified, it defaults to 127.0.0.1.
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.insertModeControls 3270 insert mode.
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. (OpenSSL only)
Name: x3270.keyFileTypeGives the type of the private key file specified by x3270.keyFile. The value can be pem or asn1. (OpenSSL only)
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.keyPasswdOn OpenSSL, gives 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.
On the Mac, this gives the password for the x3270.certfile certifiate file.
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.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.maxRecentThe maximum number of entries in the Connect menu's recent host list.
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.newEnvironIf true, x3270 will respond to the TELNET NEW-ENVIRONMENT option. If false, it will not.
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.nopSecondsIf nonzero, x3270 will send a TELNET NOP to the host every n seconds. This can be used to keep host sessions running that would otherwise be terminated due to inactivity.
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.numericLockWhen true, causes x3270 to lock the keyboard when non-numeric data is entered into fields with the Numeric attribute.
Name: x3270.nvtModeWhen true, causes x3270 to start immediately in NVT mode and allow keyboard input immediately, instead of waiting for the host to send data or negotiate 3270 mode. It also causes the default terminal type to be xterm.
NVT mode can also be selected per session by prepending an A: onto the hostname.
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.overlayPasteWhen true, the Paste action will overlay protected fields, instead of locking the keyboard and stopping. This means that when the cursor is on a protected field, a displayable character read from the paste buffer will simply cause the cursor to advance to the right; the actual character is ignored. This allows regions of the screen that include protected fields to be copied and pasted back into a formatted screens that include the same protected fields (i.e., a form).
Note: Setting overlayPaste to true will cause x3270 to act as if the x3270.marginedPaste toggle were also set.
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:[username:password@]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.assocCommandLineNote: This resource is for debug purposes only. To add optional parameters to the wc3270 command line, use x3270.printer.options.
The 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.luCommandLineNote: This resource is for debug purposes only. To add optional parameters to the wc3270 command line, use x3270.printer.options.
The 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.printTextScreensPerPageThe number of screens to display on a page when tracing screens to the printer.
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.reverseInputModeWhen true in 3270 mode, input fields fill in the opposite direction of the screen display.
Name: x3270.rightToLeftModeWhen true, the x3270 display will be in right-to-left mode, with column 1 on the right instead of on the left.
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. Note that the scroll bar operates on full screens of data, so the value divided by the number of rows on the screen gives you the number of screens that will be saved.
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. The format of the list is one entry per line, each line containing the menu label, a colon and the name of the color scheme.
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 x3scr.pid. The directory where the file is written 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. The syntax of this resource is [address:]port, where address is an IPv4 or IPv6 address such as 127.0.0.1 or 0.0.0.0, and port is a TCP port such as 4081. The address can also be specified as * to indicate 0.0.0.0. A numeric IPv6 address must be enclosed in square brackets, e.g., [1234:5678::3], to avoid ambiguity between the colons inside the address and the colon separating the address from the port. If no address is specified, it defaults to 127.0.0.1.
Name: x3270.scriptPortOnceIf defined, x3270 will accept only one script connection. When that connection is broken, it will exit.
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 -> x3270> Prompt 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.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.startTlsIf true, x3270 will accept the TELNET STARTTLS negotiation from the host. If false, it will reject them.
Name: x3270.*suppress When true, suppresses a menu item. For example, setting
x3270*aboutConfig.suppress to true will remove
the Configuration option from the About menu.
The names of the menu items are:
aboutMenu.aboutConfig.suppress
aboutMenu.aboutCopyright.suppress
aboutMenu.aboutStatus.suppress
fileMenu.abortScriptOption.suppress
fileMenu.aboutOption.suppress
fileMenu.disconnectOption.suppress
fileMenu.exitOption.suppress
fileMenu.ftOption.suppress
fileMenu.printerOption.suppress
fileMenu.printWindowOption.suppress
fileMenu.promptOption.suppress
fileMenu.saveOption.suppress
fileMenu.screenTraceOption.suppress
fileMenu.traceOption.suppress
modelsMenu.model2Option.suppress
modelsMenu.model3Option.suppress
modelsMenu.model4Option.suppress
modelsMenu.model5Option.suppress
modelsMenu.oversizeOption.suppress
optionsMenu.codepageOption.suppress
optionsMenu.colorsOption.suppress
optionsMenu.fontsOption.suppress
optionsMenu.idleCommandOption.suppress
optionsMenu.keymapDisplayOption.suppress
optionsMenu.keymapOption.suppress
optionsMenu.modelsOption.suppress
optionsMenu.togglesOption.suppress
printerMenu.assocButton.suppress
printerMenu.luButton.suppress
printerMenu.printerOffButton.suppress
togglesMenu.blankFillOption.suppress
togglesMenu.blockCursorOption.suppress
togglesMenu.characterModeOption.suppress
togglesMenu.crosshairOption.suppress
togglesMenu.cursorBlinkOption.suppress
togglesMenu.extendedDsOption.suppress
togglesMenu.lineModeOption.suppress
togglesMenu.lineWrapOption.suppress
togglesMenu.m3278Option.suppress
togglesMenu.m3279Option.suppress
togglesMenu.marginedPasteOption.suppress
togglesMenu.monocaseOption.suppress
togglesMenu.overlayPasteOption.suppress
togglesMenu.rectangleSelectOption.suppress
togglesMenu.scrollBarOption.suppress
togglesMenu.showTimingOption.suppress
togglesMenu.underlineCursorOption.suppress
togglesMenu.visibleControlOption.suppress
A 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 at the prompt. 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.traceWhen true, x3270 writes information about events and actions, as well as a hexadecimal representation of all network traffic (and its interpretation) into a file, which defaults to 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 where the file is written is defined by x3270.traceDir. If x3270.traceFile is defined, it gives the entire pathname and x3270.traceDir is ignored.
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.typeaheadWhen true, x3270 will store keystrokes in a buffer when the keyboard is locked. When false, these keystrokes will be dropped.
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 default), the keyboard unlock will be delayed for x3270.unlockDelayMs milliseconds. Setting it to false removes this delay.
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 true (the default), x3270 will verify SSL/TLS host certificates, and not allow an SSL/TLS connection to complete unless the host certificate can be validated. If false, x3270 will not verify SSL/TLS host certificates.
This resource is overridden by a y: prepended to the hostname when connecting, which disables certificate checking.
Name: x3270.visibleControlIf true, certain control characters, which are normally displayed as blanks, are displayed on the screen.
EBCDIC control characters, displayed with underlines, are as follows: