neulab/tldr huggingface dataset:
modifyKeyboard (class ModifyKeyboard) Normally xterm makes a special case regarding modifiers (shift, control, etc.)  to handle special keyboard layouts (legacy and vt220).  This is done to provide compatible keyboards for DEC VT220 and related terminals that implement user-defined keys (UDK).
The bits of the resource value selectively enable modification of the given category when these keyboards are selected.  The default is “0”:
0    The legacy/vt220 keyboards interpret only the Control- modifier when constructing numbered function-keys.  Other special keys are not modified.
1    allows modification of the numeric keypad
2    allows modification of the editing keypad
4    allows modification of function-keys, overrides use of Shift-modifier for UDK.
8    allows modification of other special keys
modifyOtherKeys (class ModifyOtherKeys) Like modifyCursorKeys, tells xterm to construct an escape sequence for ordinary (i.e., “other”) keys (such as “2”) when modified by Shift-, Control-, Alt- or Meta-modifiers.  This feature does not apply to special keys, i.e., cursor-, keypad-, function- or control-keys which are labeled on your keyboard. Those have key symbols which XKB identifies uniquely.
For example, this feature does not apply to special control-keys (e.g., Escape, Tab, Enter, Backspace) Other control keys (e.g., Control-I, Control-M, Control-H) may send escape sequences when this feature is enabled.
The default is “0”:
0    disables this feature.
1    enables this feature for keys except for those with well- known behavior, e.g., Tab, Backarrow and some special control character cases which are built into the X11 library, e.g., Control-Space to make a NUL, or Control-3 to make an Escape character.
Except for those special cases built into the X11 library, the Shift- and Control- modifiers are treated normally.  The Alt- and Meta- modifiers do not cause xterm to send escape sequences.  Those modifier keys are interpreted according to other resources, e.g., the metaSendsEscape resource.
2    enables this feature for keys including the exceptions listed.  Xterm ignores the special cases built into the X11 library.  Any shifted (modified) ordinary key sends an escape sequence.  The Alt- and Meta- modifiers cause xterm to send escape sequences.
The Xterm FAQ has an extended discussion of this feature, with examples:
https://invisible-island.net/xterm/modified-keys.html
multiClickTime (class MultiClickTime) Specifies the maximum time in milliseconds between multi-click select events.  The default is “250” milliseconds.
multiScroll (class MultiScroll) Specifies whether or not scrolling should be done asynchronously. The default is “false”.
nMarginBell (class Column) Specifies the number of characters from the right margin at which the margin bell should be rung, when enabled by the marginBell resource.  The default is “10”.
nameKeymap (class NameKeymap) See the discussion of the keymap() action.
nextEventDelay (class NextEventDelay) Specifies a delay time in milliseconds before checking for new X events.  The default is “1”.
numColorRegisters (class NumColorRegisters) If xterm is configured to support ReGIS or SIXEL graphics, this specifies the number of color-registers which are available.
If this resource is not specified, xterm uses a value determined by the decTerminalID resource:
Result   decTerminalID ─────────────────────── 4             125 4             240 4             241 4             330 16             340 2             382 1024           other
numLock (class NumLock) If “true”, xterm checks if NumLock is used as a modifier (see xmodmap(1)).  If so, this modifier is used to simplify the logic when implementing special NumLock for the sunKeyboard resource. Also (when sunKeyboard is false), similar logic is used to find the modifier associated with the left and right Alt keys.  The default is “true”.
oldXtermFKeys (class OldXtermFKeys) If “true”, xterm will use old-style (X11R5) escape sequences for function keys F1 to F4, for compatibility with X Consortium xterm.  Otherwise, it uses the VT100 codes for PF1 to PF4.  The default is “false”.
Setting this resource has the same effect as setting the keyboardType to legacy.  The keyboardType resource is the preferred mechanism for selecting this mode.
The old-style escape sequences resemble VT220 keys, but appear to have been invented for xterm in X11R4.
on2Clicks (class On2Clicks)
on3Clicks (class On3Clicks)
on4Clicks (class On4Clicks)
on5Clicks (class On5Clicks) Specify selection behavior in response to multiple mouse clicks. A single mouse click is always interpreted as described in the Selection Functions section (see POINTER USAGE).  Multiple mouse clicks (using the button which activates the select-start action) are interpreted according to the resource values of on2Clicks, etc.  The resource value can be one of these:
word Select a “word” as determined by the charClass resource.  See the CHARACTER CLASSES section.
If the pointer is on a “word” then xterm searches back to the beginning of the word, and then to the end.
If the pointer is not on a “word” then the result depends on whether it is on whitespace (including a newline), or past the end of the line.  In the latter case xterm may select a “word” beginning after the newline, if there is no additional whitespace.
line Select a line (counting wrapping).
group Select a group of adjacent lines (counting wrapping).  The selection stops on a blank line, and does not extend outside the current page.
page Select all visible lines, i.e., the page.
all Select all lines, i.e., including the saved lines.
regex Select the best match for the POSIX extended regular expression (ERE) which follows in the resource value:
•   Xterm matches the regular expression against a byte array for the entire (possibly wrapped) line.  That byte array may be UTF-8 or ISO-8859-1, depending on the mode in which xterm is running.
•   Xterm steps through each byte-offset in this array, keeping track of the best (longest) match.  If more than one match ties for the longest length, the first is used.
Xterm does this to make it convenient to click anywhere in the area of interest and cause the regular expression to match the entire word, etc.
•   The “^” and “$” anchors in a regular expression denote the ends of the entire line.
•   If the regular expression contains backslashes “\” those should be escaped “\\” because the X libraries interpret backslashes in resource strings.
none No selection action is associated with this resource.  Xterm interprets it as the end of the list.  For example, you may use it to disable triple (and higher) clicking by setting on3Clicks to “none”.
The default values for on2Clicks and on3Clicks are “word” and “line”, respectively.  There is no default value for on4Clicks or on5Clicks, making those inactive.  On startup, xterm determines the maximum number of clicks by the onXClicks resource values which are set.
openIm (class OpenIm) Tells xterm whether to open the input method at startup.  The default is “true”.
pointerColor (class PointerColor) Specifies the foreground color of the pointer.  The default is “XtDefaultForeground”.
pointerColorBackground (class PointerColorBackground) Specifies the background color of the pointer.  The default is “XtDefaultBackground”.
pointerFont (class PointerFont) Specifies the font to be used for the pointer.  The shapes specified by pointerShape are glyphs in this font.  The resource value default is cursor.
pointerMode (class PointerMode) Specifies when the pointer may be hidden as the user types.  It will be redisplayed if the user moves the mouse, or clicks one of its buttons.
0  never
1  the application running in xterm has not activated mouse mode. This is the default.
2  always.
pointerShape (class Cursor) Specifies the name of the shape of the pointer.  The default is “xterm”.
Other shapes can be selected.  Here is a list of the “core” (i.e., standard) names extracted from <X11/cursorfont.h>:
X_cursor, arrow, based_arrow_down, based_arrow_up, boat, bogosity, bottom_left_corner, bottom_right_corner, bottom_side, bottom_tee, box_spiral, center_ptr, circle, clock, coffee_mug, cross, cross_reverse, crosshair, diamond_cross, dot, dotbox, double_arrow, draft_large, draft_small, draped_box, exchange, fleur, gobbler, gumby, hand1, hand2, heart, icon, iron_cross, left_ptr, left_side, left_tee, leftbutton, ll_angle, lr_angle, man, middlebutton, mouse, pencil, pirate, plus, question_arrow, right_ptr, right_side, right_tee, rightbutton, rtl_logo, sailboat, sb_down_arrow, sb_h_double_arrow, sb_left_arrow, sb_right_arrow, sb_up_arrow, sb_v_double_arrow, shuttle, sizing, spider, spraycan, star, target, tcross, top_left_arrow, top_left_corner, top_right_corner, top_side, top_tee, trek, ul_angle, umbrella, ur_angle, watch, xterm
If you are using a cursor theme, expect it to provide about a third of those names, while adding others.
popOnBell (class PopOnBell) Specifies whether the window would be raised when Control-G is received.  The default is “false”.
If the window is iconified, this has no effect.  However, the zIconBeep resource provides you with the ability to see which iconified windows have sounded a bell.
precompose (class Precompose) Tells xterm whether to precompose UTF-8 data into Normalization Form C, which combines commonly-used accents onto base characters.  If it does not do this, accents are left as separate characters.  The default is “true”.
preeditType (class PreeditType) Tells xterm which types of preedit (preconversion) string to display.  The default is “OverTheSpot,Root”.
printAttributes (class PrintAttributes) Specifies whether to print graphic attributes along with the text.  A real DEC VTxxx terminal will print the underline, highlighting codes but your printer may not handle these.
•   “0” disables the attributes.
•   “1” prints the normal set of attributes (bold, underline, inverse and blink) as VT100-style control sequences.
•   “2” prints ANSI color attributes as well.
printFileImmediate (class PrintFileImmediate) When the print-immediate action is invoked, xterm prints the screen contents directly to a file.  Set this resource to the prefix of the filename (a timestamp will be appended to the actual name).
The default is an empty string, i.e., “”, However, when the print-immediate action is invoked, if the string is empty, then “XTerm” is used.
printFileOnXError (class PrintFileOnXError) If xterm exits with an X error, e.g., your connection is broken when the server crashes, it can be told to write the contents of the screen to a file.  To enable the feature, set this resource to the prefix of the filename (a timestamp will be appended to the actual name).
The default is an empty string, i.e., “”, which disables this feature.  However, when the print-on-error action is invoked, if the string is empty, then “XTermError” is used.
These error codes are handled: ERROR_XERROR, ERROR_XIOERROR and ERROR_ICEERROR.
printModeImmediate (class PrintModeImmediate) When the print-immediate action is invoked, xterm prints the screen contents directly to a file.  You can use the printModeImmediate resource to tell it to use escape sequences to reconstruct the video attributes and colors.  This uses the same values as the printAttributes resource.  The default is “0”.
printModeOnXError (class PrintModeOnXError) Xterm implements the printFileOnXError feature using the printer feature, although the output is written directly to a file.  You can use the printModeOnXError resource to tell it to use escape sequences to reconstruct the video attributes and colors.  This uses the same values as the printAttributes resource.  The default is “0”.
printOptsImmediate (class PrintOptsImmediate) Specify the range of text which is printed to a file when the print-immediate action is invoked.
•   If zero (0), then this selects the current (visible screen) plus the saved lines, except if the alternate screen is being used.  In that case, only the alternate screen is selected.
•   If nonzero, the bits of this resource value (checked in descending order) select the range:
8  selects the saved lines.
4  selects the alternate screen.
2  selects the normal screen.
1  selects the current screen, which can be either the normal or alternate screen.
The default is “9”, which selects the current visible screen plus saved lines, with no special case for the alternated screen.
printOptsOnXError (class PrintOptsOnXError) Specify the range of text which is printed to a file when the print-on-error action is invoked.  The resource value is interpreted the same as in printOptsImmediate.
printerAutoClose (class PrinterAutoClose) If “true”, xterm will close the printer (a pipe) when the application switches the printer offline with a Media Copy command.  The default is “false”.
printerCommand (class PrinterCommand) Specifies a shell command to which xterm will open a pipe when the first MC (Media Copy) command is initiated.  The default is an empty string, i.e., “”.  If the resource value is given as an empty string, the printer is disabled.
printerControlMode (class PrinterControlMode) Specifies the printer control mode.  A “1” selects autoprint mode, which causes xterm to print a line from the screen when
•   you move the cursor off that line with a line feed, form feed or vertical tab character, or
•   an autowrap occurs.
Autoprint mode is overridden by printer controller mode (a “2”), which causes all of the output to be directed to the printer. The default is “0”.
printerExtent (class PrinterExtent) Controls whether a print page function will print the entire page (true), or only the portion within the scrolling margins (false). The default is “false”.
printerFormFeed (class PrinterFormFeed) Controls whether a form feed is sent to the printer at the end of a print page function.  The default is “false”.
printerNewLine (class PrinterNewLine) Controls whether a newline is sent to the printer at the end of a print page function.  The default is “true”.
privateColorRegisters (class PrivateColorRegisters) If xterm is configured to support ReGIS or SIXEL graphics, this controls whether xterm allocates separate color registers for each sixel device control string, e.g., for DECGCI.  If not true, color registers are allocated only once, when the terminal is reset, and color changes  in  any  graphic  affect all graphics. The default is “true”.
quietGrab (class QuietGrab) Controls whether the cursor is repainted when NotifyGrab and NotifyUngrab event types are received during change of focus. The default is “false”.
regisDefaultFont (class RegisDefaultFont) If xterm is configured to support ReGIS graphics, this resource tells xterm which font to use if the ReGIS data does not specify one.  No default value is specified; xterm accepts a TrueType font specification as in the faceName resource.
If no value is specified, xterm draws a bitmap indicating a missing character.
regisScreenSize (class RegisScreenSize) If xterm is configured to support ReGIS graphics, this resource tells xterm the default size (in pixels) for these graphics, which also sets the default coordinate space to [0,0] (upper- left) and [width,height] (lower-right).
The application using ReGIS may use the “A” option of the “S” command to adjust the coordinate space or change the addressable portion of the screen.
Xterm accepts a special resource value “auto”, which tells xterm to use the decGraphicsID and decTerminalID resources to set the default size based on the hardware terminal's limits.  Those limits are the same as for the maxGraphicSize resource.
The default is “auto”.
renderFont (class RenderFont) If xterm is built with the Xft library, this controls whether the faceName resource is used.  The default is “default”.
The resource values are strings, evaluated as booleans after startup.
false disable the feature and use the normal (bitmap) font.
true startup using the TrueType font specified by the faceName and faceSize resource settings.  If there is no value for faceName, disable the feature and use the normal (bitmap) font.
After startup, you can still switch to/from the bitmap font using the “TrueType Fonts” menu entry.
default Enable the “TrueType Fonts” menu entry to allow runtime switching to/from TrueType fonts.  The initial font used depends upon whether the faceName resource is set:
•   If the faceName resource is not set, start by using the normal (bitmap) font.  Xterm has a separate compiled-in value for faceName for this special case.  That is normally “mono”.
•   If the faceName resource is set, then start by using the TrueType font rather than the bitmap font.
defaultOff Enable the “TrueType Fonts” menu entry to allow runtime switching to/from TrueType fonts, but allow it to be initially unselected if no faceName resource was given.
resizeByPixel (class ResizeByPixel) Set this “true” to disable hints to the window manager that request resizing by character rather than pixels.
Most window managers provide visual feedback showing the size of a window as you resize it, using these hints.  When you maximize xterm, it disables those hints to allow the window manager to make better use of fractional rows or columns.  Setting this resource disables the hints all the time.
resizeGravity (class ResizeGravity) Affects the behavior when the window is resized to be taller or shorter.  NorthWest specifies that the top line of text on the screen stay fixed.  If the window is made shorter, lines are dropped from the bottom; if the window is made taller, blank lines are added at the bottom.  This is compatible with the behavior in X11R4.  SouthWest (the default) specifies that the bottom line of text on the screen stay fixed.  If the window is made taller, additional saved lines will be scrolled down onto the screen; if the window is made shorter, lines will be scrolled off the top of the screen, and the top saved lines will be dropped.
retryInputMethod (class RetryInputMethod) Tells xterm how many times to retry, in case the input-method server is not responding.  This is a different issue than unsupported preedit type, etc.  You may encounter retries if your X configuration (and its libraries) are missing pieces.  Setting this resource to zero “0” will cancel the retrying.  The default is “3”.
reverseVideo (class ReverseVideo) Specifies whether or not reverse video should be simulated.  The default is “false”.
There are several aspects to reverse video in xterm:
•   The command-line -rv option tells the X libraries to reverse the foreground and background colors.  Xterm's command-line options set resource values.  In particular, the X Toolkit sets the reverseVideo resource when the -rv option is used.
•   If the user has also used command-line options -fg or -bg to set the foreground and background colors, xterm does not see these options directly.  Instead, it examines the resource values to reconstruct the command-line options, and determine which of the colors is the user's intended foreground, etc. Their actual values are irrelevant to the reverse video function; some users prefer the X defaults (black text on a white background), others prefer white text on a black background.
•   After startup, the user can toggle the “Enable Reverse Video” menu entry.  This exchanges the current foreground and background colors of the VT100 widget, and repaints the screen.  Because of the X resource hierarchy, the reverseVideo resource applies to more than the VT100 widget.
Programs running in an xterm can also use control sequences to enable the VT100 reverse video mode.  These are independent of the reverseVideo resource and the menu entry.  Xterm exchanges the current foreground and background colors when drawing text affected by these control sequences.
Other control sequences can alter the foreground and background colors which are used:
•   Programs can also use the ANSI color control sequences to set the foreground and background colors.
•   Extensions to the ANSI color controls (such as 16-, 88- or 256-colors) are treated similarly to the ANSI control.
•   Using other control sequences (the “dynamic colors” feature), a program can change the foreground and background colors.
reverseWrap (class ReverseWrap) Specifies whether or not reverse-wraparound should be enabled. This corresponds to xterm's private mode 45.  The default is “false”.
rightScrollBar (class RightScrollBar) Specifies whether or not the scrollbar should be displayed on the right rather than the left.  The default is “false”.
saveLines (class SaveLines) Specifies the number of lines to save beyond the top of the screen when a scrollbar is turned on.  The default is “1024”.
scrollBar (class ScrollBar) Specifies whether or not the scrollbar should be displayed.  The default is “false”.
scrollBarBorder (class ScrollBarBorder) Specifies the width of the scrollbar border.  Note that this is drawn to overlap the border of the xterm window.  Modifying the scrollbar's border affects only the line between the VT100 widget and the scrollbar.  The default value is 1.
scrollKey (class ScrollCond) Specifies whether or not pressing a key should automatically cause the scrollbar to go to the bottom of the scrolling region. This corresponds to xterm's private mode 1011.  The default is “false”.
scrollLines (class ScrollLines) Specifies the number of lines that the scroll-back and scroll-forw actions should use as a default.  The default value is 1.
scrollTtyOutput (class ScrollCond) Specifies whether or not output to the terminal should automatically cause the scrollbar to go to the bottom of the scrolling region.  The default is “true”.
selectToClipboard (class SelectToClipboard) Tells xterm whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism.  The set-select action can change this at runtime, allowing the user to work with programs that handle only one of these mechanisms.  The default is “false”, which tells it to use PRIMARY.
shiftEscape (class ShiftEscape) Xterm uses the translations resource to determine how to invoke actions for selecting and copying text using the pointer (e.g., a mouse).  It also provides a mouse protocol which can be used by applications running in an xterm to detect mouse button clicks.
The mouse protocol causes xterm to send special escape sequences which allow an application to determine if modifiers (i.e., one or more of shift, control, alt, and meta) were used.
Xterm provides this mouse protocol by interpreting button- and motion-events in the functions which the translations resource calls for selecting and copying text:
insert-selection select-end select-extend select-start start-extend
While the mouse protocol is active, xterm reserves most of the mouse button events for sending special escape sequences to the application.  Xterm normally allows you to use the shift-key to temporarily override this mouse protocol, permitting the selection and copying actions to be used.
The shiftEscape resource setting allows you to tell xterm whether to use the shift-key in this way (i.e., overriding the mouse protocol).  Xterm accepts either a keyword (ignoring case) or the number shown in parentheses:
false (0) Mouse protocol does not send special escapes when shift-key is used.
true (1) Mouse protocol may send special escapes when shift-key is used.
At startup, xterm analyzes the translations to see which buttons are used in the (mouse) button-related bindings for selection and copying text.  If the shift-key is not mentioned explicitly in a button's binding, xterm allows that button with shift-key for overriding the mouse protocol.
always (2) Mouse protocol can always send special escapes when shift-key is used.
never (3) Mouse protocol will never send special escapes when shift-key is used.
Xterm interprets a control sequence which can change this setting between “true” and “false”.  The default is “false”.
shiftFonts (class ShiftFonts) Specifies whether to enable the actions larger-vt-font() and smaller-vt-font(), which are normally bound to the shifted KP_Add and KP_Subtract.  The default is “true”.
showBlinkAsBold (class ShowBlinkAsBold) Tells xterm whether to display text with blink-attribute the same as bold.  If xterm has not been configured to support blinking text, the default is “true”, which corresponds to older versions of xterm, otherwise the default is “false”.
showMissingGlyphs (class ShowMissingGlyphs) Tells xterm whether to display a box outlining places where a character has been used that the font does not represent.  The default is “false”.
showWrapMarks (class ShowWrapMarks) For debugging xterm and applications that may manipulate the wrapped-line flag by writing text at the right margin, show a mark on the right inner-border of the window.  The mark shows which lines have the flag set.
signalInhibit (class SignalInhibit) Specifies whether or not the entries in the Main Options menu for sending signals to xterm should be disallowed.  The default is “false”.
sixelScrolling (class SixelScrolling) If xterm is configured to support SIXEL graphics, this resource tells it whether to scroll up one line at a time when sixels would be written past the bottom line on the window.  The default is “false” which enables scrolling.
sixelScrollsRight (class SixelScrollsRight) If xterm is configured to support SIXEL graphics, this resource tells it whether to scroll to the right as needed to keep the current position visible rather than truncate the plot on the on the right.  The default is “false” which disables scrolling.
tekGeometry (class Geometry) Specifies the preferred size and position of the Tektronix window.  There is no default for this resource.
tekInhibit (class TekInhibit) Specifies whether or not the escape sequence to enter Tektronix mode should be ignored.  The default is “false”.
tekSmall (class TekSmall) Specifies whether or not the Tektronix mode window should start in its smallest size if no explicit geometry is given.  This is useful when running xterm on displays with small screens.  The default is “false”.
tekStartup (class TekStartup) Specifies whether or not xterm should start up in Tektronix mode. The default is “false”.
tiXtraScroll (class TiXtraScroll) Specifies whether xterm should scroll to a new page when processing the ti or te termcap strings, i.e., the private modes 47, 1047 or 1049.  This is only in effect if titeInhibit is “true”, because the intent of this option is to provide a picture of the full-screen application's display on the scrollback without wiping out the text that would be shown before the application was initialized.
titeInhibit (class TiteInhibit) Originally specified whether or not xterm should remove ti and te termcap entries (used to switch between alternate screens on startup of many screen-oriented programs) from the TERMCAP string.
TERMCAP is used rarely now, but xterm supports the feature on modern systems:
•   If set, xterm also ignores the escape sequence to switch to the alternate screen.
•   Xterm supports terminfo in a different way, supporting composite control sequences (also known as private modes) 1047, 1048 and 1049 which have the same effect as the original 47 control sequence.
titleModes (class TitleModes) Tells xterm whether to accept or return window- and icon-labels in ISO-8859-1 (the default) or UTF-8.  Either can be encoded in hexadecimal:
•   UTF-8 titles require special treatment, because they may contain bytes which can be mistaken for control characters. Hexadecimal-encoding is supported to eliminate that possibility.
•   As an alternative, you could use the allowC1Printable resource, which suppresses xterm's parsing of the relevant control characters (and as a result, treats those bytes as data).
The default for this resource is “0”.
Each bit (bit “0” is 1, bit “1” is 2, etc.)  corresponds to one of the parameters set by the title modes control sequence:
0    Set window/icon labels using hexadecimal
1    Query window/icon labels using hexadecimal
2    Set window/icon labels using UTF-8 (gives the same effect as the utf8Title resource).
3    Query window/icon labels using UTF-8
translations (class Translations) Specifies the key and button bindings for menus, selections, “programmed strings”, etc.  The translations resource, which provides much of xterm's configurability, is a feature of the X Toolkit Intrinsics library (Xt).  See the Actions section.
trimSelection (class TrimSelection) If you set highlightSelection, you can see the text which is selected, including any trailing spaces.  Clearing the screen (or a line) resets it to a state containing no spaces.  Some lines may contain trailing spaces when an application writes them to the screen.  However, you may not wish to paste lines with trailing spaces.  If this resource is true, xterm will trim trailing spaces from text which is selected.  It does not affect spaces which result in a wrapped line, nor will it trim the trailing newline from your selection.  The default is “false”.
underLine (class UnderLine) This specifies whether or not text with the underline attribute should be underlined.  It may be desirable to disable underlining when color is being used for the underline attribute.  The default is “true”.
useBorderClipping (class UseBorderClipping) Tell xterm whether to apply clipping when useClipping is false. Unlike useClipping, this simply limits text to keep it within the window borders, e.g., as a refinement to the scaleHeight workaround.  The default is “false”.
useClipping (class UseClipping) Tell xterm whether to use clipping to keep from producing dots outside the text drawing area.  Originally used to work around for overstriking effects, this is also needed to work with some incorrectly-sized fonts.  The default is “true”.
utf8 (class Utf8) This specifies whether xterm will run in UTF-8 mode.  If you set this resource, xterm also sets the wideChars resource as a side- effect.  The resource can be set via the menu entry “UTF-8 Encoding”.  The default is “default”.
false (0) UTF-8 mode is initially off.  The command-line option +u8 sets the resource to this value.  Escape sequences for turning UTF-8 mode on/off are allowed.
true (1) UTF-8 mode is initially on.  Escape sequences for turning UTF-8 mode on/off are allowed.
always (2) The command-line option -u8 sets the resource to this value. Escape sequences for turning UTF-8 mode on/off are ignored.
default (3) This is the default value of the resource.  It is changed during initialization depending on whether the locale resource was set, to false (0) or always (2).  See the locale resource for additional discussion of non-UTF-8 locales.
If you want to set the value of utf8, it should be in this range. Other nonzero values are treated the same as “1”, i.e., UTF-8 mode is initially on, and escape sequences for turning UTF-8 mode on/off are allowed.
utf8Fonts (class Utf8Fonts) See the discussion of the locale resource.  This specifies whether xterm will use UTF-8 fonts specified via resource patterns such as “*vt100.utf8Fonts.font” or normal (ISO-8859-1) fonts via patterns such as “*vt100.font”.  The resource can be set via the menu entry “UTF-8 Fonts”.  The default is “default”.
false (0) Use the ISO-8859-1 fonts.  The menu entry is enabled, allowing the choice of fonts to be changed at runtime.
true (1) Use the UTF-8 fonts.  The menu entry is enabled, allowing the choice of fonts to be changed at runtime.
always (2) Always use the UTF-8 fonts.  This also disables the menu entry.
default (3) At startup, the resource is set to true or false, according to the effective value of the utf8 resource.
utf8Latin1 (class Utf8Latin1) If true, allow an ISO-8859-1 normal font to be combined with an ISO-10646-1 font if the latter is given via the -fw option or its corresponding resource value.  The default is “false”.
utf8SelectTypes (class Utf8SelectTypes) Override xterm's default selection target list (see SELECT/PASTE) for selections in wide-character (UTF-8) mode.  The default is an empty string, i.e., “”, which does not override anything.
utf8Title (class Utf8Title) Applications can set xterm's title by writing a control sequence. Normally this control sequence follows the VT220 convention, which encodes the string in ISO-8859-1 and allows for an 8-bit string terminator.  If xterm is started in a UTF-8 locale, it translates the ISO-8859-1 string to UTF-8 to work with the X libraries which assume the string is UTF-8.
However, some users may wish to write a title string encoded in UTF-8.  The window manager is responsible for drawing window titles.  Some window managers (not all) support UTF-8 encoding of window titles.  Set this resource to “true” to also set UTF-8 encoded title strings using the EWMH properties.
This feature is available as a menu entry, since it is related to the particular applications you are running within xterm.  You can also use a control sequence (see the discussion of “Title Modes” in Xterm Control Sequences), to set an equivalent flag (which can also be set using the titleModes resource).
false (0) Set only ISO-8859-1 title strings, e.g., using the ICCCM WM_NAME STRING property.  The menu entry is enabled, allowing the choice of title-strings to be changed at runtime.
true (1) Set both the EWMH (UTF-8 strings) and the ICCCM WM_NAME, etc.  The menu entry is enabled, allowing the choice to be changed at runtime.
always (2) Always set both the EWMH (UTF-8 strings) and the ICCCM WM_NAME, etc.  This also disables the menu entry.
The default is “default”.
utf8Weblike (class Utf8Weblike) Provide an alternate error-handling scheme for ill-formed UTF-8 as recommended in a W3C document.  The Unicode standard does not require this for conformance.  Some additional information can be found here:
https://invisible-island.net/xterm/bad-utf8/
veryBoldColors (class VeryBoldColors) Specifies whether to combine video attributes with colors specified by colorBD, colorBL, colorIT, colorRV, and colorUL. The resource value is the sum of values for each attribute: 1 for reverse, 2 for underline, 4 for bold, 8 for blink, and 512 for italic
visualBell (class VisualBell) Specifies whether or not a visible bell (i.e., flashing) should be used instead of an audible bell when Control-G is received. The default is “false”, which tells xterm to use an audible bell.
visualBellDelay (class VisualBellDelay) Number of milliseconds to delay when displaying a visual bell. Default is 100.  If set to zero, no visual bell is displayed. This is useful for very slow displays, e.g., an LCD display on a laptop.
visualBellLine (class VisualBellLine) Specifies whether to flash only the current line when displaying a visual bell rather than flashing the entire screen: The default is “false”, which tells xterm to flash the entire screen.
vt100Graphics (class VT100Graphics) This specifies whether xterm will interpret VT100 graphic character escape sequences while in UTF-8 mode.  This feature also applies to code-pages (e.g., for VT320 and VT520) and National Replacement Character Sets (VT220 and up), but not US- ASCII (the initially selected character set), to avoid conflict with UTF-8.  The default is “true”, to provide support for various legacy applications.
wideBoldFont (class WideBoldFont) This option specifies the font to be used for displaying bold wide text.  By default, it will attempt to use a font twice as wide as the font that will be used to draw bold text.  If no double-width font is found, it will improvise, by stretching the bold font.
wideChars (class WideChars) Specifies if xterm should respond to control sequences that process 16-bit characters.  The default is “false”.
wideFont (class WideFont) This option specifies the font to be used for displaying wide text.  By default, it will attempt to use a font twice as wide as the font that will be used to draw normal text.  If no double- width font is found, it will improvise, by stretching the normal font.
ximFont (class XimFont) This option specifies the font to be used for displaying the preedit string in the “OverTheSpot” input method.
In “OverTheSpot” preedit type, the preedit (preconversion) string is displayed at the position of the cursor.  It is the XIM server's responsibility to display the preedit string.  The XIM client must inform the XIM server of the cursor position.  For best results, the preedit string must be displayed with a proper font.  Therefore, xterm informs the XIM server of the proper font.  The font is be supplied by a "fontset", whose default value is “*”.  This matches every font, the X library automatically chooses fonts with proper charsets.  The ximFont resource is provided to override this default font setting.
Tek4014 Widget Resources The following resources are specified as part of the tek4014 widget (class Tek4014).  These are specified by patterns such as “XTerm.tek4014.NAME”:
font2 (class Font) Specifies font number 2 to use in the Tektronix window.
font3 (class Font) Specifies font number 3 to use in the Tektronix window.
fontLarge (class Font) Specifies the large font to use in the Tektronix window.
fontSmall (class Font) Specifies the small font to use in the Tektronix window.
ginTerminator (class GinTerminator) Specifies what character(s) should follow a GIN report or status report.  The possibilities are “none”, which sends no terminating characters, “CRonly”, which sends CR, and “CR&EOT”, which sends both CR and EOT.  The default is “none”.
height (class Height) Specifies the height of the Tektronix window in pixels.
initialFont (class InitialFont) Specifies which of the four Tektronix fonts to use initially. Values are the same as for the set-tek-text action.  The default is “large”.
width (class Width) Specifies the width of the Tektronix window in pixels.
Menu Resources The resources that may be specified for the various menus are described in the documentation for the Athena SimpleMenu widget.  The name and classes of the entries in each of the menus are listed below.  Resources named “lineN” where N is a number are separators with class SmeLine.
As with all X resource-based widgets, the labels mentioned are customary defaults for the application.
The Main Options menu (widget name mainMenu) has the following entries:
toolbar (class SmeBSB) This entry invokes the set-toolbar(toggle) action.
securekbd (class SmeBSB) This entry invokes the secure() action.
allowsends (class SmeBSB) This entry invokes the allow-send-events(toggle) action.
redraw (class SmeBSB) This entry invokes the redraw() action.
logging (class SmeBSB) This entry invokes the logging(toggle) action.
print-immediate (class SmeBSB) This entry invokes the print-immediate() action.
print-on-error (class SmeBSB) This entry invokes the print-on-error() action.
print (class SmeBSB) This entry invokes the print() action.
print-redir (class SmeBSB) This entry invokes the print-redir() action.
dump-html (class SmeBSB) This entry invokes the dump-html() action.
dump-svg (class SmeBSB) This entry invokes the dump-svg() action.
8-bit-control (class SmeBSB) This entry invokes the set-8-bit-control(toggle) action.
backarrow key (class SmeBSB) This entry invokes the set-backarrow(toggle) action.
num-lock (class SmeBSB) This entry invokes the set-num-lock(toggle) action.
alt-esc (class SmeBSB) This entry invokes the alt-sends-escape(toggle) action.
meta-esc (class SmeBSB) This entry invokes the meta-sends-escape(toggle) action.
delete-is-del (class SmeBSB) This entry invokes the delete-is-del(toggle) action.
oldFunctionKeys (class SmeBSB) This entry invokes the set-old-function-keys(toggle) action.
hpFunctionKeys (class SmeBSB) This entry invokes the set-hp-function-keys(toggle) action.
scoFunctionKeys (class SmeBSB) This entry invokes the set-sco-function-keys(toggle) action.
sunFunctionKeys (class SmeBSB) This entry invokes the set-sun-function-keys(toggle) action.
sunKeyboard (class SmeBSB) This entry invokes the sunKeyboard(toggle) action.
suspend (class SmeBSB) This entry invokes the send-signal(tstp) action on systems that support job control.
continue (class SmeBSB) This entry invokes the send-signal(cont) action on systems that support job control.
interrupt (class SmeBSB) This entry invokes the send-signal(int) action.
hangup (class SmeBSB) This entry invokes the send-signal(hup) action.
terminate (class SmeBSB) This entry invokes the send-signal(term) action.
kill (class SmeBSB) This entry invokes the send-signal(kill) action.
quit (class SmeBSB) This entry invokes the quit() action.
The VT Options menu (widget name vtMenu) has the following entries:
scrollbar (class SmeBSB) This entry invokes the set-scrollbar(toggle) action.
jumpscroll (class SmeBSB) This entry invokes the set-jumpscroll(toggle) action.
reversevideo (class SmeBSB) This entry invokes the set-reverse-video(toggle) action.
autowrap (class SmeBSB) This entry invokes the set-autowrap(toggle) action.
reversewrap (class SmeBSB) This entry invokes the set-reversewrap(toggle) action.
autolinefeed (class SmeBSB) This entry invokes the set-autolinefeed(toggle) action.
appcursor (class SmeBSB) This entry invokes the set-appcursor(toggle) action.
appkeypad (class SmeBSB) This entry invokes the set-appkeypad(toggle) action.
scrollkey (class SmeBSB) This entry invokes the set-scroll-on-key(toggle) action.
scrollttyoutput (class SmeBSB) This entry invokes the set-scroll-on-tty-output(toggle) action.
allow132 (class SmeBSB) This entry invokes the set-allow132(toggle) action.
cursesemul (class SmeBSB) This entry invokes the set-cursesemul(toggle) action.
keepSelection (class SmeBSB) This entry invokes the set-keep-selection(toggle) action.
selectToClipboard (class SmeBSB) This entry invokes the set-keep-clipboard(toggle) action.
visualbell (class SmeBSB) This entry invokes the set-visual-bell(toggle) action.
bellIsUrgent (class SmeBSB) This entry invokes the set-bellIsUrgent(toggle) action.
poponbell (class SmeBSB) This entry invokes the set-pop-on-bell(toggle) action.
cursorblink (class SmeBSB) This entry invokes the set-cursorblink(toggle) action.
titeInhibit (class SmeBSB) This entry invokes the set-titeInhibit(toggle) action.
activeicon (class SmeBSB) This entry toggles active icons on and off if this feature was compiled into xterm.  It is enabled only if xterm was started with the command line option +ai or the activeIcon resource is set to “true”.
softreset (class SmeBSB) This entry invokes the soft-reset() action.
hardreset (class SmeBSB) This entry invokes the hard-reset() action.
clearsavedlines (class SmeBSB) This entry invokes the clear-saved-lines() action.
tekshow (class SmeBSB) This entry invokes the set-visibility(tek,toggle) action.
tekmode (class SmeBSB) This entry invokes the set-terminal-type(tek) action.
vthide (class SmeBSB) This entry invokes the set-visibility(vt,off) action.
altscreen (class SmeBSB) This entry invokes the set-altscreen(toggle) action.
sixelScrolling (class SmeBSB) This entry invokes the set-sixel-scrolling(toggle) action.
privateColorRegisters (class SmeBSB) This entry invokes the set-private-colors(toggle) action.
The VT Fonts menu (widget name fontMenu) has the following entries:
fontdefault (class SmeBSB) This entry invokes the set-vt-font(d) action, setting the font using the font (default) resource, e.g., “Default” in the menu.
font1 (class SmeBSB) This entry invokes the set-vt-font(1) action, setting the font using the font1 resource, e.g., “Unreadable” in the menu.
font2 (class SmeBSB) This entry invokes the set-vt-font(2) action, setting the font using the font2 resource, e.g., “Tiny” in the menu.
font3 (class SmeBSB) This entry invokes the set-vt-font(3) action, setting the font using the font3 resource, e.g., “Small” in the menu.
font4 (class SmeBSB) This entry invokes the set-vt-font(4) action, letting the font using the font4 resource, e.g., “Medium” in the menu.
font5 (class SmeBSB) This entry invokes the set-vt-font(5) action, letting the font using the font5 resource, e.g., “Large” in the menu.
font6 (class SmeBSB) This entry invokes the set-vt-font(6) action, letting the font using the font6 resource, e.g., “Huge” in the menu.
font7 (class SmeBSB) This entry invokes the set-vt-font(7) action, letting the font using the font7 resource, e.g., “Enormous” in the menu.
fontescape (class SmeBSB) This entry invokes the set-vt-font(e) action.
fontsel (class SmeBSB) This entry invokes the set-vt-font(s) action.
allow-bold-fonts (class SmeBSB) This entry invokes the allow-bold-fonts(toggle) action.
font-linedrawing (class SmeBSB) This entry invokes the set-font-linedrawing(s) action.
font-packed (class SmeBSB) This entry invokes the set-font-packed(s) action.
font-doublesize (class SmeBSB) This entry invokes the set-font-doublesize(s) action.
render-font (class SmeBSB) This entry invokes the set-render-font(s) action.
utf8-fonts (class SmeBSB) This entry invokes the set-utf8-fonts(s) action.
utf8-mode (class SmeBSB) This entry invokes the set-utf8-mode(s) action.
utf8-title (class SmeBSB) This entry invokes the set-utf8-title(s) action.
allow-color-ops (class SmeBSB) This entry invokes the allow-color-ops(toggle) action.
allow-font-ops (class SmeBSB) This entry invokes the allow-fonts-ops(toggle) action.
allow-tcap-ops (class SmeBSB) This entry invokes the allow-tcap-ops(toggle) action.
allow-title-ops (class SmeBSB) This entry invokes the allow-title-ops(toggle) action.
allow-window-ops (class SmeBSB) This entry invokes the allow-window-ops(toggle) action.
The Tek Options menu (widget name tekMenu) has the following entries:
tektextlarge (class SmeBSB) This entry invokes the set-tek-text(large) action.
tektext2 (class SmeBSB) This entry invokes the set-tek-text(2) action.
tektext3 (class SmeBSB) This entry invokes the set-tek-text(3) action.
tektextsmall (class SmeBSB) This entry invokes the set-tek-text(small) action.
tekpage (class SmeBSB) This entry invokes the tek-page() action.
tekreset (class SmeBSB) This entry invokes the tek-reset() action.
tekcopy (class SmeBSB) This entry invokes the tek-copy() action.
vtshow (class SmeBSB) This entry invokes the set-visibility(vt,toggle) action.
vtmode (class SmeBSB) This entry invokes the set-terminal-type(vt) action.
tekhide (class SmeBSB) This entry invokes the set-visibility(tek,toggle) action.
Scrollbar Resources The following resources are useful when specified for the Athena Scrollbar widget:
background (class Background) Specifies the color to use for the background of the scrollbar.
foreground (class Foreground) Specifies the color to use for the foreground of the scrollbar.
thickness (class Thickness) Specifies the width in pixels of the scrollbar (default: 14).
This may be overridden by the width resource.
thumb (class Thumb) The default “thumb” pixmap used for the scrollbar is a simple checkerboard pattern alternating pixels for foreground and background color.
width (class Width) Specifies the width in pixels of the scrollbar (default: 0).
The widget checks the width resource first, using the thickness value if the width is zero.
Once the VTxxx window is created, xterm allows you to select text and copy it within the same or other windows using the pointer or the keyboard.
A “pointer” could be a mouse, touchpad or similar device.  X applications generally do not care, since they see only button events which have
•   position and
•   button up/down state
Xterm can see these events as long as it has focus.
The keyboard also supplies events, but it is less flexible than the pointer for selecting/copying text.
Events are applied to actions using the translations resource.  See Actions for a complete list, and Default Key Bindings for the built-in set of translations resources.
Selection Functions By default, the selection functions are invoked when the pointer buttons are used with no modifiers, and when they are used with the “shift” key. The “shift” key is special, because xterm uses that to ensure that selection functions are still available when it is programmed to send escape sequences in one of the mouse modes (see Xterm Control Sequences, as well as the resource disallowedMouseOps).
At startup, xterm inspects the translations resource to see which pointer buttons may be used in this way, and remembers these buttons when deciding whether to send escape sequences or perform selection when those buttons are used with the “shift” modifier.  Other pointer buttons, e.g., typically those sent for wheel mouse events, are not affected.
The assignment of the functions described below to keys and buttons may be changed through the resource database; see Actions below.
Pointer button one (usually left) is used to save text into the cut buffer:
~Meta <Btn1Down>:select-start()