DTTERM(1)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸŽ€ dtterm β€” user cmd edition πŸŽ€

bestie, welcome to the manual page for dtterm, section user cmd, and it’s literally here to emulate a terminal window. No cap, that’s the whole assignment. πŸ’…


🌸 NAME 🌸

dtterm β€” emulate a terminal window. That’s it. That’s the vibe. 🫢


✨ SYNOPSIS ✨

dtterm [Β±132]  [Β±aw]  [-background background_color]  [-bg
       background_color]  [Β±bs]  [-C]  [-display display_name]  [-e
       program_argument ...]  [-fb fontset]  [-fg foreground_color]  [-fn
       fontset]  [-font fontset]  [-foreground foreground_color]  [-geometry
       geometry_string]  [-help]  [Β±iconic]  [Β±j]  [Β±kshMode]
        [Β±l]  [-lf file_name]  [Β±ls]  [Β±map]  [Β±mb]  [-ms pointer_color]
       [-name prog_name]  [-nb number]  [Β±rw]  [-S ccn]  [-S c.n]  [Β±sb]  [Β±sf]
       [-sl screens  [s  | l ] ]  [-ti term_id]  [-title title_string]  [-tm
       term_modes]  [-tn term_name]  [-usage]  [Β±vb]  [-xrm resource_string]

πŸ¦‹ DESCRIPTION πŸ¦‹

The dtterm utility provides runtime support of legacy applications written for terminals conforming to ANSI X3.64-1979 and ISO 6429:1992(E), such as the DEC VT220.

So yes, this is your terminal-emulator bestie for legacy terminal-app energy. It’s giving old-school but make it usable. ⭐


πŸ’– OPTIONS πŸ’–

The following options are available, and yes, every single one is getting its moment. No skipping, bestie. πŸ“

  • -132 β€” Recognize the DECCOLM escape sequence and resize the window appropriately. Normally, dtterm ignores the DECCOLM escape sequence, which switches between 80- and 132-column mode.
  • +132 β€” Ignore the DECCOLM escape sequence. This is the default behavior. 🫢
  • -aw β€” Allow auto-wraparound. This option allows the cursor to automatically wrap to the beginning of the next line when it is at the right-most position of a line and text is output. This is the default behavior. ✨
  • +aw β€” Do not allow auto-wraparound.
  • -background background_color β€” Specify the terminal window background and the default background for the scroll bar and the X11 pointer cursor. This option defaults to either the primary colorset background (default) or select pixel (see -bs). The background_color argument describes the background color.
  • -bg background_color β€” The background_color argument describes the background color. πŸ’œ
  • -bs β€” Use the Motif select color instead of the background color for the terminal window’s background color.
  • +bs β€” Do not use the Motif select color instead of the background color for the terminal window’s background color. This is the default behavior.
  • -C β€” Specify that output directed to /dev/console be directed instead to the terminal window. It is provided as a way to prevent output, which would normally be displayed on the internal terminal emulator (ITE), from overwriting the X server’s display. It is not provided as a general purpose mechanism to direct the output from an arbitrary system’s /dev/console to an arbitrary X server. Ownership of, and read-write permission for, /dev/console is required in order to redirect console output.
⚠️ okay but seriously: this is not your general-purpose β€œpipe any console anywhere” button. You need ownership of and read-write permission for /dev/console to redirect console output.
  • -display display_name β€” Specify the X11 display server. This defaults to the DISPLAY environment variable. The display_name argument specifies the X11 display to which dtterm connects. 🌈
  • -e program_argument ... β€” (there’s a stray 10 chillin’ in the source text right after the ... here, so I’m keeping it visible: ..." 10) Specify an executable program and any command-line arguments dtterm invokes as a subprocess when dtterm is started. It must be the last option on the command line. The program_argument arguments specify the program and any command-line arguments to be invoked by dtterm.
  • -fb fontset β€” Specify an XFontSet used by dtterm when displaying bold terminal text. The XFontSet should be specified as a Motif XmFontList(3). The terminal emulator supports only character or mono-spaced fonts. When using proportional fonts, the behavior is undefined. The terminal emulator generates a default bold font based on the XLFD name of the userFont. If that font is not available, the terminal emulator generates bold text by overstriking (with a one pixel offset) the userFont. The fontset argument specifies the bold terminal XFontSet used by dtterm.
🫢 tiny caveat, bestie: character or mono-spaced fonts only. Proportional fonts? undefined behavior. We don’t do that here.
  • -fg foreground_color β€” Specify the foreground color of the terminal window as well as the default foreground color used by dtterm for the scroll bar and for the X11 pointer cursor. This option defaults to either the primary colorset foreground (default) or select pixel. The foreground_color argument specifies the foreground color.
  • -fn fontset β€” Specify an XFontSet used by dtterm when displaying terminal text. It should be specified as a Motif XmFontList(3). Only character or mono-spaced fonts are supported. When using proportional fonts, the behavior is undefined. This font is not used to display non-terminal text (such as menu bar, popup menus or dialogs). The default uses the XmNtextFontList value of the parent bulletin board (see the XmBulletinBoard widget) in the same manner as the XmText widget. The fontset argument specifies the terminal XFontSet.
  • -font fontset β€” Equivalent to -fn. The fontset argument specifies the terminal XFontSet.
  • -foreground foreground_color β€” Equivalent to -fg. The foreground_color argument specifies the foreground color used by dtterm.
  • -geometry geometry_string β€” Specify the terminal window’s preferred size and position. Width and height are expressed in characters. The default size is 24 lines of 80 characters each. There is no default position. The geometry_string argument specifies the terminal geometry used by dtterm. πŸ“
  • -help β€” Display a message summarizing dtterm usage.
  • -iconic β€” Display the terminal emulator initially in an iconified state.
  • +iconic β€” Display the terminal emulator initially as a normal window. This is the default behavior.
  • -j β€” Use jump scrolling. With jump scrolling, the screen may be scrolled more than one line at a time. This provides for faster screen updates when multiple lines of text are sent to the terminal. The maximum number of lines that may be jump scrolled is limited to the number of lines in the terminal window. The dtterm terminal emulator guarantees that all lines are displayed. This is the default behavior. πŸ”₯
  • +j β€” Do not use jump scrolling.
  • -kshMode β€” Enable ksh mode. In ksh mode, a key pressed with the extend modifier bit set generates an escape character followed by the character generated by the un-extended keystroke. This option is provided for use with emacs command-line editor mode of ksh(1). It conflicts with the normal meta key use for generating extended single byte characters and for generating multi-byte Asian characters.
  • +kshMode β€” Do not enable ksh(1) mode. This is the default behavior.
  • -l β€” Enables output logging. When dtterm enables logging, all output received from the subprocess is logged either to a file or to a command pipeline (as specified via the -lf option described in the following paragraph). Since data are logged directly from the subprocess, the log file includes all escape characters and carriage-return and newline pairs the terminal line discipline sends. The application may enable and disable logging via escape sequences.
  • +l β€” Disable output logging. This is the default behavior.
  • -lf file_name β€” Name the file to which dtterm writes the output log. If the file_name argument begins with a pipe symbol (|), dtterm assumes the rest of the string to be a command to be used as the endpoint of a pipe. The default file name is DttermLog XXXXX (where XXXXX is a unique value) and is created in the directory from which the subprocess was started. The file_name argument specifies the log file name used by dtterm for logging. πŸŽ€
  • -ls β€” Start a login shell (the first character of argv[0] is a dash), indicating to the shell that it should read the system’s profile and the user’s .profile files (for ksh(1) and sh(1)), or the system’s csh.login and the user’s .login (for csh(1)).
  • +ls β€” Start a normal (non-login) shell. This is the default behavior.
  • -map β€” Map (de-iconify) dtterm upon subprocess output if dtterm is unmapped (iconified). The user can specify, via the mapOnOutputDelay resource, an initial period of time during which dtterm does not map itself upon subprocess output.
  • +map β€” Indicate there is no special mapping behavior. This is the default behavior.
  • -mb β€” Ring a bell when the user types at a specified distance from the right margin. The distance from the right margin is specified by the -nb option.
  • +mb β€” Do not ring a bell when the user types near the right margin. This is the default behavior.
  • -ms pointer_color β€” Specify the foreground color used by dtterm for the terminal window’s (X11) pointer cursor. The default is the terminal window’s foreground color (see -foreground). The pointer_color argument specifies the pointer foreground color used by dtterm.
  • -name prog_name β€” Specify the X11 name of the dtterm window. The prog_name argument specifies the name to use.
  • -nb number β€” Ring the bell this number of characters from the right margin when enabled. The default is 10. The number argument specifies the number of characters. πŸ””
  • -rw β€” Enable reverse-wraparound.
  • +rw β€” Do not enable reverse-wraparound. This is the default behavior.

okay bestie, we are still in the flag zone, and these next options are lowkey carrying the whole terminal-emulator vibe ✨

  • -Sccn β€” Run the terminal emulator against a pre-opened pty or STREAMS pseudo-terminal device. The terminal emulator provides this option to use when the pseudo-terminal device name is of the form tty?? (that is, exactly two characters following the tty). This option is intended for use when dtterm is programmatically invoked from within another application. The cc argument specifies the last two characters of the pseudo-terminal device's slave name where the pseudo-terminal device slave name is of the form tty??. This value is ignored, but must be exactly two characters in length. The n argument specifies the file descriptor number that corresponds to the pseudo-terminal device's already opened master side. 🫢
  • -Sc.n β€” Equivalent to -Sccn, but provided for systems with a larger pseudo-terminal device name space. The c argument specifies the last component of the pseudo-terminal device slave name. The terminal emulator ignores this value and the value may be empty. The n argument specifies the number of the file descriptor that corresponds to the pseudo-terminal device's already opened master side. πŸ’…
  • -sb β€” Display a scroll bar. This is the default behavior. πŸ’–
  • +sb β€” Do not display a scroll bar. πŸ™ˆ
  • -sf β€” Generate Sun Function Key escape sequences instead of standard ANSI escape sequences for the terminal's function keys. πŸ”₯
  • +sf β€” Generate standard ANSI escape sequences instead of Sun Function Key escape sequences for the terminal's function keys. This is the default behavior. ✨
  • -sl screens[s|l] β€” Specify the number of lines in the terminal buffer beyond the length of the window. The option value consists of a number followed by an optional suffix. If no suffix is included or the suffix is l (ell), the total length of the terminal buffer is screens plus the length of the terminal window. If the suffix is s (ess) the total length of the terminal buffer is ( screens+1) times the length of the terminal window. The dtterm utility attempts to maintain the same buffer-to-window ratio when the window is resized larger. The default is 4s. The screens argument specifies the number of screens or lines to save. πŸŽ€
  • -ti term_id β€” Specify the name used by dtterm to select the correct response to terminal ID queries. Valid values are vt100, vt101, vt102, and vt220. The default is vt220. The term_id argument specifies the terminal ID to use. πŸ¦‹
  • -title title_string β€” The title_string argument specifies the window title used by dtterm. The title defaults to the last component of the program's path if the -e option is specified; otherwise the title defaults to Terminal. πŸ‘‘
  • -tm term_modes β€” Specify a string containing terminal-setting keywords and the characters to which they can be bound. Allowable keywords include: intr, quit, erase, kill, eof, eol, swtch, start, stop, brk, susp, dsusp, rprnt, flush, weras and lnext. The terminal emulator correctly parses and silently ignores keywords that do not apply to a specific architecture. Control characters can be specified as ⁁char (for example, ⁁c or ⁁u), and ⁁? can be used to indicate Delete. This is useful for overriding the default terminal settings without having to do an stty(1) every time a DtTerm widget is created. The default is NULL. The term_modes argument specifies the terminal mode string. 🌸
  • -tn term_name β€” Specify a name to which dtterm sets the TERM environment variable. The default is dtterm. The term_name argument specifies the terminal name used by dtterm. πŸ’œ
  • -usage β€” Display a usage message on the screen. 🌈
  • -vb β€” Use a visual bell instead of an audible one. Flash the window instead of ringing the terminal bell whenever a &<control>-G is received. πŸ’€
  • +vb β€” Use an audio bell instead of a visual one. This is the default behavior. πŸ””
  • -xrm resource_string β€” Allow the user to specify the X11 Resource Manager-style resources on the command line. The resource_string argument specifies an X11 resource string. (See XrmParseCommand(3) and XGetDefault(3) for more information.) 🧚

🧾 OPERANDS

None. πŸ«₯

πŸ“₯ STDIN

Not used. πŸ™…β€β™€οΈ

πŸ—‚οΈ INPUT FILES

None. πŸ“­

🌈 ENVIRONMENT VARIABLES

The following environment variables affect the execution of dtterm:

  • DISPLAY β€” Specify the default X Windows display to connect to (see -display ). The terminal emulator sets the subprocess's DISPLAY environment variable to the connected X11 display name. πŸ–₯️
  • HOME β€” Determine the user's home directory, the location of configuration files. 🏠
  • LANG β€” Provide a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the implementation-specific default locale will be used. If any of the internationalization variables contains an invalid setting, the utility behaves as if none of the variables had been defined. 🌍
  • LC_ALL β€” If set to a non-empty string value, override the values of all the other internationalization variables. πŸ‘‘
  • LC_MESSAGES β€” Determine the locale that is used to affect the format and contents of diagnostic messages written to standard error and informative messages written to standard output. πŸ’¬
  • NLSPATH β€” Determine the location of message catalogues for the processing of LC_MESSAGES. πŸ“š
  • SHELL β€” Determine the default application to run. 🐚
  • XAPPLRESDIR β€” Specify the name of a directory that contains application-specific resources. If this environment variable is defined, and is set to an existing directory, then it is searched (in addition to the standard locations) for files containing application-specific resource specifications. πŸ—‚οΈ
  • XENVIRONMENT β€” Specify the name of a resource file with user- or machine-specific resources. If this variable is not defined, dtterm looks for a file named $HOME/.Xdefaults-hostname instead, where hostname is the name of the host where the application is executing. 🏷️
  • XFILESEARCHPATH β€” Define a language-dependent location of app-defaults. πŸ”Ž
  • XMODIFIER β€” Specify which input method to use. ⌨️
  • XUSERFILESEARCHPATH β€” Control where X applications look for their app-defaults resource files. The default is located in the directory /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/app-defaults. The user must set XUSERFILESEARCHPATH if the user's resource files are not in this location. πŸ“

The terminal emulator creates the following variable when it invokes another process:

  • TERM β€” The terminal emulator sets the subprocess's TERM environment variable to the termName resource value. Applications use this variable to determine the type of escape sequences to use when driving the terminal emulator. πŸ–₯️
  • TERMINAL_EMULATOR β€” The terminal emulator sets the subprocess's TERMINAL_EMULATOR environment variable to dtterm to indicate that the process is running from a dtterm terminal emulator. 🧚
  • WINDOWID β€” The terminal emulator sets the subprocess's WINDOWID environment variable to the window number of the window in which text is rendered. πŸͺŸ

🌈 RESOURCES 🌈

Okay bestie, so dtterm lets you shape its whole personality through X11 resources as well as the command-line interface. Here is the full list of defined resources β€” names, classes, types, and defaults, all preserved exactly. No cap. πŸ’…

πŸŽ€ The dtterm Client Resource Set πŸŽ€

  • allowSendEvents β€” class AllowSendEvents, type Boolean, default False
  • appCursorDefault β€” class AppCursorDefault, type Boolean, default False
  • appKeypadDefault β€” class AppKeypadDefault, type Boolean, default False
  • autoWrap β€” class AutoWrap, type Boolean, default True
  • background β€” class Background, type String, default: (none shown in the table)
  • backgroundIsSelect β€” class BackgroundIsSelect, type Boolean, default False
  • blinkRate β€” class BlinkRate, type int, default 250
  • borderColor β€” class BorderColor, type String, default "black"
  • borderWidth β€” class BorderWidth, type int, default 0
  • c132 β€” class C132, type Boolean, default False
  • charCursorStyle β€” class CharCursorStyle, type String, default "char_cursor_box"
  • consoleMode β€” class ConsoleMode, type Boolean, default False
  • foreground β€” class Foreground, type String, default: (none shown in the table)
  • geometry β€” class Geometry, type String, default NULL
  • iconic β€” class Iconic, type Boolean, default False
  • iconName β€” class IconName, type String, default "dtterm"
  • jumpScroll β€” class JumpScroll, type Boolean, default True
  • kshMode β€” class KshMode, type Boolean, default False
  • logging β€” class Logging, type Boolean, default False
  • logFile β€” class LogFile, type String, default "DttermLogXXXXX" (where XXXXX is a unique value)
  • logInhibit β€” class LogInhibit, type Boolean, default False
  • loginShell β€” class LoginShell, type Boolean, default False
  • mapOnOutput β€” class AutoMap, type Boolean, default False
  • mapOnOutputDelay β€” class MapDelay, type int, default 0
  • marginBell β€” class MarginBell, type Boolean, default False
  • menuBar β€” class MenuBar, type Boolean, default True
  • menuPopup β€” class MenuPopup, type Boolean, default True
  • nMarginBell β€” class NMarginBell, type int, default 10
  • pointerBlank β€” class PointerBlank, type Boolean, default False
  • pointerBlankDelay β€” class PointerBlankDelay, type int, default 2
  • pointerColor β€” class Foreground, type String, default foreground color
  • pointerColorBackground β€” class Background, type String, default background color
  • pointerShape β€” class PointerShape, type String, default "xterm"
  • reverseWrap β€” class ReverseWrap, type Boolean, default False
  • saveLines β€” class SaveLines, type String, default 4s
  • scrollBar β€” class ScrollBar, type Boolean, default True
  • sunFunctionKeys β€” class SunFunctionKeys, type Boolean, default False
  • termId β€” class TermId, type String, default "vt220"
  • termName β€” class TermName, type String, default "dtterm"
  • title β€” class Title, type String, default "dtterm"
  • ttyModes β€” class TtyModes, type String, default NULL
  • userBoldFont β€” class UserBoldFont, type XmFontList, default dynamic
  • userFont β€” class UserFont, type XmFontList, default dynamic
  • visualBell β€” class VisualBell, type Boolean, default False
The resource table also ends with this formatting directive: tgroup dispwid="6.98in"
Psst: iconGeometry has a full description below even though it didn’t get its own row in the table above. 🫢

πŸ¦‹ What Each Resource Actually Does πŸ¦‹

  • allowSendEvents β€” Says the terminal emulator can allow synthetic events, meaning events generated and sent by another application. Bestie, enabling this opens up a possible security hole. πŸ’€ Keep that in mind.
  • appCursorDefault β€” If True, the cursor keys start off in application mode. If False, they start off in cursor mode.
  • appKeypadDefault β€” If True, the keypad keys start off in application mode. If False, they start off in numeric mode.
  • autoWrap β€” Tells you whether auto-wraparound is initially enabled or not.
  • background β€” Sets the background color of the terminal window, plus the default background color for the scroll bar. This resource defaults to either the primary colorset background or the select pixel β€” see backgroundIsSelect.
  • backgroundIsSelect β€” Says the terminal window should use the Motif select color instead of the background color for the terminal window’s background color. Iconic.
  • blinkRate β€” The number of milliseconds the cursor is in the on and off states while blinking. A value of 250 blinks the cursor two times per second. A value of zero turns blinking off. ✨
  • borderColor β€” The border color for the window. The window border need not be visible when re-parenting window managers are used.
  • borderWidth β€” The border width of the shell widget’s window. This value may be overridden by re-parenting window managers.
  • c132 β€” Says whether the DECCOLM escape sequence is honored. That’s the one that switches between a 132- and 80-column window.
  • charCursorStyle β€” Sets the shape of the text cursor. A char_cursor_box value gives you a cursor the width and height of the base font’s bounding box. A char_cursor_bar value gives you a cursor the width of the base font’s bounding box, 2 pixels high, and drawn with its top on the baseline. Cute little cursor details, honestly. πŸŽ€
  • consoleMode β€” Says output directed at /dev/console should be directed instead to the terminal window. It’s provided as a way to prevent output that would normally be displayed on the internal terminal emulator (ITE) from overwriting the X server’s display. It is not provided as a general mechanism to direct the output from an arbitrary system’s /dev/console to an arbitrary X server. Ownership of, and read-write permission for, /dev/console is required in order to redirect console output. Periodt.
  • foreground β€” The foreground of the terminal window, plus the default used by dtterm for the scroll bar and the color used for the pointer cursor. This resource defaults to the primary colorset foreground pixel.
  • geometry β€” The terminal window’s preferred size and position. The default size is 24 lines of 80 characters each. There is no default position.
  • iconGeometry β€” The preferred position of the terminal emulator’s icon. Window managers may ignore this value. There is no default.
  • iconic β€” Says whether the terminal emulator starts out displayed in an iconified state.
  • iconName β€” The name for the icon. When used with the -e option, the default is the last component of the program’s path; otherwise, the default is the last component of the name used to execute dtterm β€” that is, argv[0].
  • jumpScroll β€” Says dtterm should use jump scrolling. With jump scrolling, the screen may be scrolled more than one line at a time. This gives faster screen updates when multiple lines of text are sent to the terminal. The maximum number of lines that may be jump scrolled is limited to the number of lines in the terminal window. The dtterm terminal emulator guarantees that all lines are displayed. Slay.
  • kshMode β€” Enables ksh mode. In ksh mode, a key pressed with the extend modifier bit set generates an escape character followed by the character generated by the un-extended keystroke. This option is provided for use with the emacs command-line editor mode of ksh(1). It conflicts with the normal meta key use for generating extended single byte characters and for generating multi-byte Asian characters. So yeah β€” iconic feature, but it does clash with those other uses. 😭
  • logging β€” Enables output logging. When logging is enabled, all output received from the subprocess is logged either to a file or to a command pipeline, as specified via the logFile option. Since the data is logged directly from the subprocess, it includes all escape characters and carriage-returns and newline pairs the terminal line discipline sends. Logging may be enabled and disabled via escape sequences.
  • logFile β€” The filename to which dtterm writes the output log. If the filename begins with a pipe symbol (|), dtterm assumes the rest of the string is a command to be used as the endpoint of a pipe. The default filename is DttermLogXXXXX (where XXXXX is a unique value) and is created in the directory from which the subprocess was started.
  • logInhibit β€” Tells dtterm to inhibit device and file logging.
  • loginShell β€” Says the shell that is started should be a login shell β€” that is, the first character of argv[0] is a dash β€” indicating that the shell should read the system’s profile and the user’s .profile files (for ksh(1) and sh(1)) or the system csh.login and the user’s .login (for csh(1)). Shell lore, fr fr. 🐚
  • mapOnOutput β€” Says the terminal emulator should map (de-iconify) itself upon subprocess output if it is unmapped (iconified). The user can specify, via the mapOnOutputDelay resource, an initial period of time during which dtterm does not map itself upon subprocess output.
  • mapOnOutputDelay β€” The number of seconds after start-up that dtterm does not honor the mapOnOutput resource. This allows the application to send initial output β€” for example, shell prompts β€” to the terminal without auto mapping the window. The default is zero (no delay).
  • marginBell β€” Says whether the bell rings when the user types near the right margin. The distance from the right margin is specified by the nMarginBell resource. πŸ””
  • menuBar β€” Says dtterm displays a pulldown menu bar. The default is True.
  • menuPopup β€” Says dtterm displays a popup menu. The default is True.
  • nMarginBell β€” The number of characters from the right margin at which the margin bell rings, when enabled.
  • pointerBlank β€” tells dtterm to put the pointer cursor into blanking mode. In this mode, the cursor turns on when the pointer is moved, and it gets blanked after a selectable number of seconds or after keyboard input. The pointerBlankDelay resource sets that delay. πŸ’€
  • pointerBlankDelay β€” the number of seconds to wait after the pointer has stopped moving before blanking the pointer (see pointerBlank). A value of zero delays pointer blanking until a key is pressed. ⏳
  • pointerColor β€” the foreground color used by dtterm for the terminal window's pointer (X11) cursor. The default is the terminal window's foreground color (see foreground). 🎨
  • pointerColorBackground β€” the background color used by dtterm for the terminal window's pointer (X11) cursor. The default is the terminal window's background color (see background). πŸ–ŒοΈ
  • pointerShape β€” the X cursor font character used by dtterm as the pointer cursor. The font character must be specified as a string from the X11/cursorfont.h header with the leading XC_ removed. The default is xterm(1). πŸ–±οΈ
  • reverseWrap β€” specifies whether or not reverse-wraparound is enabled. πŸ”
  • saveLines β€” specifies the number of lines in the terminal buffer beyond the length of the window. The option value consists of a number followed by an optional suffix. If no suffix is included or the suffix is "l" (ell), the total length of the terminal buffer is screens plus the length of the terminal window. If the suffix is "s" (ess), the total length of the terminal buffer is ( screens+1) times the length of the terminal window. The dtterm utility attempts to maintain the same buffer-to-window ratio when the window is resized larger. πŸ“œ
  • scrollBar β€” specifies that dtterm displays a scroll bar. 🎚️
  • sunFunctionKeys β€” specifies whether dtterm generates Sun Function Key escape sequences instead of standard ANSI escape sequences for the terminal's function keys. β˜€οΈ
  • termId β€” supplies the name used to select the correct response to terminal ID queries. Valid values are vt100, vt101, vt102, and vt220. πŸ†”
  • termName β€” specifies a name to which dtterm sets the TERM environment variable. The default is dtterm. 🏷️
  • title β€” specifies the window title. When used with the -e option, the default is the last component of the program's path; otherwise, the default is the last component of the name used to execute dtterm (that is, argv[0]). ✨
  • ttyModes β€” specifies a string containing terminal-setting keywords and the characters to which they can be bound. Allowable keywords include: intr, quit, erase, kill, eof, eol, swtch, start, stop, brk, susp, dsusp, rprnt, flush, weras and lnext. The terminal emulator correctly parses and silently ignores keywords that do not apply to a specific architecture. Control characters can be specified as ⁁char (for example, ⁁c or ⁁u), and ⁁? can be used to indicate Delete. This is useful for overriding the default terminal settings without having to do an stty(1) every time a DtTerm widget is created. ⌨️
  • userBoldFont β€” specifies an XFontSet used by dtterm when displaying bold terminal text. The XFontSet should be specified as a Motif XmFontList(3). The terminal emulator supports only character or mono-spaced fonts. When using proportional fonts, the behavior is undefined. The terminal emulator generates a default bold font based on the XLFD name of the userFont. If that font is not available, dtterm generates bold text by overstriking (with a one pixel offset) the userFont. 🫢
  • userFont β€” specifies an XFontSet used by dtterm when displaying terminal text. XFontSet should be specified as a Motif XmFontList(3). The terminal emulator supports only character or mono-spaced fonts. When using proportional fonts, the behavior is undefined. This font is not used to display non-terminal text (such as menu bar, popup menu and dialog). The default is the XmNtextFontList value of the parent bulletin board (see the XmBulletinBoard widget) in the same manner as the XmText widget. πŸ”€
  • visualBell β€” indicates that a visual bell is preferred over an audible one. Instead of ringing the terminal bell whenever a &<control>-G is received, the window is flashed. πŸ’₯

πŸŽ€ Resource/Option Correspondence πŸŽ€

Many of the preceding resources correspond to the command-line arguments. The following table describes the relationship between the two:

Command-line option            Resource Setting
-132                           *c132: True
+132                           *c132: False
-aw                            *autoWrap: True
+aw                            *autoWrap: False
-background background_color   *background: background_color
-bg background_color           *background: background_color
-bs                            *backgroundIsSelect: True
+bs                            *backgroundIsSelect: False
-C                             *consoleMode: True
-display display_name          .display: display_name
-e program_argument...
-fb fontset                    *userBoldFont: fontset
-fg foreground_color           *foreground: foreground_color
-fn fontset                    *userFont: fontset
-font fontset                  *userFont: fontset
-foreground foreground_color   *foreground: foreground_color
-geometry geometry_string      .geometry: geometry_string
-iconic                        .iconic: True
+iconic                        .iconic: False
-j                             *jumpScroll: True
+j                             *jumpScroll: False
-kshMode                       *kshMode: True
+kshMode                       *kshMode: False
-l                             *logging: True
+l                             *logging: False
-lf file_name                  *logFile: file_name
-ls                            *loginShell: True
+ls                            *loginShell: False
-map                           *mapOnOutput: True
+map                           *mapOnOutput: False
-mb                            *marginBell: True
+mb                            *marginBell: False
-ms pointer_color              *pointerColor: pointer_color
-name prog_name                .name: prog_name
-nb number                     *nMarginBell: number
-rw                            *reverseWrap: True
+rw                            *reverseWrap: False
-sb                            *scrollBar: True
+sb                            *scrollBar: False
-sf                            *sunFunctionKeys: True
+sf                            *sunFunctionKeys: False
-sl screenss                   *saveLines: screens  * lines/screen
-sl lines                      *saveLines: lines
-ti term_id                    *termId: term_id
-title title_string            .title: title_string
-tm term_modes                 *ttyModes: term_modes
-tn term_name                  *termName: term_name
-vb                            *visualBell: True
+vb                            *visualBell: False
tgroup dispwid="6.09in"

And yes, the little manpage-table tail is literally tgroup dispwid="6.09in" β€” we keep the weird guy. 🫑

πŸ’… ASYNCHRONOUS EVENTS πŸ’…

The dtterm utility takes the standard action for all signals. No special signal drama, bestie. 🚦

πŸ“€ STDOUT πŸ“€

Not used.

🚨 STDERR 🚨

Used only for diagnostic messages.

πŸ“ OUTPUT FILES πŸ“

None.

🌈 EXTENDED DESCRIPTION 🌈

🧚 On-the-Spot Preedit Style and Behavior 🧚

When the user selects the on-the-spot input method style, preedit strings are displayed in the dtterm window, causing original data within dtterm to shift out to make room for the data in the preedit buffer. πŸͺ„

To cause dtterm to commit the preedit string, the user can select one of the following actions:

  • cut
  • paste
  • selection
  • cursor movement
  • commit key
Note that the input method server may interpret cursor movement events within the preedit buffer as preedit movement commands. In this case, the string may not be committed. The interpretation of these movement events is completely dependent upon the implementation of the input method server. 😭

In addition to the generic actions listed above, there are several action routines defined in the DtTerm widget that may cause committal. These action routines include move_cursor, process_bdrag, and string. The action routines correspond to the generic commit actions listed above. 🧠

When the preedit buffer is active, it may be highlighted. This highlight value can be set by the input method server. Since there is only a single highlight mode available in the DtTerm widget, the following XIMFeedbacks will set the highlight:

  • XIMPrimary
  • XIMSecondary
  • XIMTertiary

🏁 EXIT STATUS 🏁

  • 0 β€” successful completion
  • >0 β€” an error occurred

πŸ’€ CONSEQUENCES OF ERRORS πŸ’€

Default.

🫢 APPLICATION USAGE 🫢

None.

πŸŽ€ EXAMPLES πŸŽ€

None.

πŸ‘€ SEE ALSO πŸ‘€

Dt/Term.h - DtTerm(5),  stty(1), dtterm(5), X(1), XmFontList(3),
XmText(3), pty(7), tty(7).

🏁 Footer vibes: source/version dtterm(user cmd) plus the date, both chilling at the bottom of the page doing their cute little footer dance. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from