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.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 certificate, instead of using the name or IP address used to make the connection. Takes one of three forms: any, which disables name checking, DNS:name, which specifies a DNS hostname, and IP:address, which specifies a numeric IPv4 or IPv6 address.Name: x3270.activeIcon
When true, x3270's icon becomes a live miniature of the screen display.Name: x3270.aidWait
When 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.allowResize
When 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.altCursor
When true, this causes x3270 to use the alternate (underscore) cursor. When false, it will use a block cursor.Name: x3270.aplCircledAlpha
When 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.aplMode
Enables 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.background
The background color for menus, buttons, and on monochrome X11 displays, the emulator window.Name: x3270.bellVolume
Controls 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.bindLimit
When 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.bindUnlock
When 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.blankFill
When 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.boldColor
This 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.bsdTm
Defines 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.caDir
Defines 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.caFile
Defines a PEM-format file 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.certFile
Gives 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.certFileType
Gives the type of the certificate file specified by x3270.certFile. The value can be pem or asn1.Name: x3270.chainFile
Gives 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.charClass
Defines 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.charset
This 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.color8
If 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.colorBackground
The 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.colorScheme
Defines 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.foo
An 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.composeMap
Gives 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.foo
An 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.confDir
Defines the x3270 configuration directory, where x3270 will search for the ibm_hosts file by default. (See x3270.hostsFile.)Name: x3270.connectFileName
Gives 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.connectTimeout
Specifies 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.crosshair
When true, causes x3270 to display a crosshair over the cursor: lines extending with height and width of the screen.Name: x3270.crosshairColor
Defines 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|
When true, causes x3270 to use a blinking cursor.Name: x3270.cursorColor
On color X11 displays, this is the color of the text cursor. This resource is used only if x3270.useCursorColor is true.Name: x3270.cursorPos
When true, causes x3270 to display the cursor location in the OIA (the status line).Name: x3270.dbcsCgcsgid
Overrides 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.debugTracing
If 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.dftBufferSize
Deprecated resource -- replaced by x3270.ftBufferSize
Specifies 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.devName
Specifies the device name (workstation ID) sent in response to a TELNET NEW-ENVIRON sub-negotiation request, used by iSeries hosts (RFC 4777).Name: x3270.disconnectClear
If true, x3270 will clear the screen when a host disconnects.Name: x3270.doConfirms
When 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.dsTrace
Deprecated resource -- replaced by x3270.trace
When true, x3270 writes 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.emulatorFont
The 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.eof
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 (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.
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.eventTrace
Deprecated resource -- replaced by x3270.trace
When true, x3270 traces information about keyboard and mouse events into a file. The default file name is 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.extended
Deprecated resource -- replaced by x3270.model syntax
Indicates support for the 3270 Extended Data Stream.Name: x3270.fixedSize
Specifies 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.foreground
The foreground color for menus, buttons, and on monochrome X11 displays, the emulator display.Name: x3270.ftAllocation
Defines 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.ftAvblock
Defines the default AVBOCK (average block) allocation size for files sent to TSO hosts by IND$FILE file transfers.Name: x3270.ftBlksize
Defines the default block size for files sent to TSO hosts by IND$FILE file transfers.Name: x3270.ftBufferSize
Specifies 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.ftCr
Defines 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.ftDirection
Defines 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.ftExist
Defines 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.ftHost
Defines the default host type for IND$FILE file transfers. The value can be vm, tso or cics.Name: x3270.ftHostFile
Defines the default host file name for IND$FILE file transfers.Name: x3270.ftLocalFile
Defines the default local file name for IND$FILE file transfers.Name: x3270.ftLrecl
Defines the default logical record length for files sent to the host via IND$FILE.Name: x3270.ftMode
Defines 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.ftPrimarySpace
Defines the default primary space allocation for files sent to TSO hosts via IND$FILE.Name: x3270.ftRecfm
Defines 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.ftRemap
Defines 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.ftSecondarySpace
Defines the default secondary space allocation for files sent to TSO hosts via IND$FILE.Name: x3270.highlightBold
If true, highlighted fields will be displayed in bold. If false, highlighted fields will be displayed in the normal font.Name: x3270.hostname
Gives 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.hostsFile
The 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.httpd
Defines 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.iconFont
The 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.iconLabelFont
When x3270.activeIcon and x3270.labelIcon are true, this is the name of the font used to paint the icon label.Name: x3270.icrnl
This 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.idleCommand
When 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.idleCommandEnabled
Controls 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.idleTimeout
The 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.inlcr
This 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.inputColor
This 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.inputMethod
Specifies 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.intr
This 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.invertKeypadShift
When 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.keyFile
Gives 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.keyFileType
Gives the type of the private key file specified by x3270.keyFile. The value can be pem or asn1.Name: x3270.keyHeight
Defines the height of the keys on the pop-up keypad.Name: x3270.keymap
The 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.foo
The definition of keymap foo. Please refer to the How To Create a Custom Keymap document for a full description of the syntax.Name: x3270.keypad
This 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.keyPasswd
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.Name: x3270.keyWidth
The width in pixels of the lower tier of buttons on a horizontal keypad.Name: x3270.keypad.largeKeyWidth
The width in pixels of the lower tier of buttons on a vertical keypad.Name: x3270.keypad.paWidth
The width in pixels of PA and cursor keys on the keypad.Name: x3270.keypad.pfWidth
The width in pixels of PF keys on the keypad.Name: x3270.keypadBackground
On 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.keypadOn
If true, the keypad will automatically appear when x3270 is started.Name: x3270.kill
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 (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.labelIcon
When 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.largeKeyWidth
Defines the width of the "large" keys in the lower section of the pop-up keypad.Name: x3270.lineWrap
This 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.loginMacro
Defines 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.lnext
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.lockedCursor
The name of the mouse cursor displayed with x3270 is not connected to a host.Name: x3270.m3279
Deprecated resource -- replaced by x3270.model syntax
Indicates support for color (a 3279 terminal).Name: x3270.macros
Defines 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.foo
Defines 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.marginedPaste
When 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.maxRecent
The maximum number of entries in the Connect menu's recent host list.Name: x3270.menuBar
If 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.model
The 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.modifiedSelColor
In 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.mono
If true, x3270 will operate as if it were running on a monochrome X11 display.Name: x3270.monoCase
When true, causes x3270 to run in uppercase-only mode.Name: x3270.newEnviron
If true, x3270 will respond to the TELNET NEW-ENVIRONMENT option. If false, it will not.Name: x3270.noOther
If true, the "Other" options are disabled for selecting fonts and connecting to hosts, limiting users to the options provided on the menus.Name: x3270.normalCursor
Defines 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.normalColor
On 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.numericLock
When true, causes x3270 to lock the keyboard when non-numeric data is entered into fields with the Numeric attribute.Name: x3270.nvtMode
When 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.Name: x3270.onlcr
Used 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.oerrLock
If 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.once
When 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.overlayPaste
When 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.oversize
Sets 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.paWidth
Defines the width of the PA keys in the lower section of the pop-up keypad.Name: x3270.pfWidth
Defines the width of the PF keys on the pop-up keypad.Name: x3270.port
The 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.proxy
Defines 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.preeditType
The 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.printerLu
If 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.assocCommandLine
Note: 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.luCommandLine
Note: 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.printTextCommand
The 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.printTextScreensPerPage
The number of screens to display on a page when tracing screens to the printer.Name: x3270.printWindowCommand
The 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.quit
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 (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.reconnect
When true, x3270 will automatically reconnect to a host after it disconnects.Name: x3270.rectangleSelect
When 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.rprnt
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 (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.saveLines
The 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.sbcsCgcsgid
Overrides 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.schemeList
Lists 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.screenTrace
When 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.screenTraceFile
If defined, gives the name of the file that screen traces will be written into.Name: x3270.scripted
When true, x3270 will read commands from standard input. The rules for these commands are documented in the x3270-script manual page.Name: x3270.scriptPort
If 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.scriptPortOnce
If defined, x3270 will accept only one script connection. When that connection is broken, it will exit.Name: x3270.scrollBar
When true, x3270 will display a scroll bar to the right of the emulator window.Name: x3270.secure
When 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.selectBackground
On 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.selfSignedOk
When true, x3270 will allow SSL authentication with a host that uses a self-signed certificate.Name: x3270.showTiming
When 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.socket
When 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.*suppress
When 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 are:
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 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.suppressFontMenu
If true, the Options -> Font menu will not be displayed.Name: x3270.suppressHost
If true, x3270 will omit the hostname from the File -> About x3270 -> Connection Status pop-up.Name: x3270.termName
An 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.title
Sets the title for the x3270 window, overriding the default of constructing the name from the host that is connected to.Name: x3270.tls
If true, x3270 will accept TLS negotiations from the host. If false, it will reject them.Name: x3270.trace
When 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.traceCommand
Defines the command that runs in the trace window.Name: x3270.traceDir
Defines the directory that trace files are written into.Name: x3270.traceFile
If 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.traceFileSize
If 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.traceMonitor
When 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.unlockDelay
When 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.unlockDelayMs
Overrides 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.useCursorColor
If 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.user
Specifies the user name sent in response to a TELNET NEW-ENVIRON sub-negotiation request, used by iSeries hosts (RFC 4777).Name: x3270.verifyHostCert
If 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.visibleControl
If true, certain control characters, which are normally displayed as blanks, are displayed on the screen.
EBCDIC control characters, displayed with underlines, are as follows:
|<||The SO character (begins a DBCS subfield)|
|>||The SI character (ends a DBCS subfield)|
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.visualSelect
This 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.visualSelectColor
The 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.waitCursor
The 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.werase
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 (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.
x3270 version 3.5ga8 Mon May 9 22:20:18 CDT 2016