DTTERM(1)
π 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 theDECCOLMescape sequence and resize the window appropriately. Normally,dttermignores theDECCOLMescape sequence, which switches between80-and132-columnmode.+132β Ignore theDECCOLMescape 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). Thebackground_colorargument describes the background color.-bg background_colorβ Thebackground_colorargument 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/consolebe 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/consoleto an arbitrary X server. Ownership of, and read-write permission for,/dev/consoleis 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 theDISPLAYenvironment variable. Thedisplay_nameargument specifies the X11 display to whichdttermconnects. π-e program_argument ...β (thereβs a stray10chillinβ in the source text right after the...here, so Iβm keeping it visible:..." 10) Specify an executable program and any command-line argumentsdtterminvokes as a subprocess whendttermis started. It must be the last option on the command line. Theprogram_argumentarguments specify the program and any command-line arguments to be invoked bydtterm.-fb fontsetβ Specify an XFontSet used bydttermwhen displaying bold terminal text. The XFontSet should be specified as a MotifXmFontList(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 theuserFont. If that font is not available, the terminal emulator generates bold text by overstriking (with a one pixel offset) theuserFont. Thefontsetargument specifies the bold terminal XFontSet used bydtterm.
π«Ά 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 bydttermfor the scroll bar and for the X11 pointer cursor. This option defaults to either the primary colorset foreground (default) or select pixel. Theforeground_colorargument specifies the foreground color.-fn fontsetβ Specify an XFontSet used bydttermwhen displaying terminal text. It should be specified as a MotifXmFontList(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 theXmNtextFontListvalue of the parent bulletin board (see theXmBulletinBoardwidget) in the same manner as theXmTextwidget. Thefontsetargument specifies the terminal XFontSet.-font fontsetβ Equivalent to-fn. Thefontsetargument specifies the terminal XFontSet.-foreground foreground_colorβ Equivalent to-fg. Theforeground_colorargument specifies the foreground color used bydtterm.-geometry geometry_stringβ Specify the terminal windowβs preferred size and position. Width and height are expressed in characters. The default size is24lines of80characters each. There is no default position. Thegeometry_stringargument specifies the terminal geometry used bydtterm. π-helpβ Display a message summarizingdttermusage.-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. Thedttermterminal 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 ofksh(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 enableksh(1)mode. This is the default behavior.-lβ Enables output logging. Whendttermenables logging, all output received from the subprocess is logged either to a file or to a command pipeline (as specified via the-lfoption 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 whichdttermwrites the output log. If thefile_nameargument begins with a pipe symbol (|),dttermassumes the rest of the string to be a command to be used as the endpoint of a pipe. The default file name isDttermLog XXXXX(whereXXXXXis a unique value) and is created in the directory from which the subprocess was started. Thefile_nameargument specifies the log file name used bydttermfor logging. π-lsβ Start a login shell (the first character ofargv[0]is a dash), indicating to the shell that it should read the systemβs profile and the userβs.profilefiles (forksh(1)andsh(1)), or the systemβscsh.loginand the userβs.login(forcsh(1)).+lsβ Start a normal (non-login) shell. This is the default behavior.-mapβ Map (de-iconify)dttermupon subprocess output ifdttermis unmapped (iconified). The user can specify, via themapOnOutputDelayresource, an initial period of time during whichdttermdoes 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-nboption.+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 bydttermfor the terminal windowβs (X11) pointer cursor. The default is the terminal windowβs foreground color (see-foreground). Thepointer_colorargument specifies the pointer foreground color used bydtterm.-name prog_nameβ Specify the X11 name of thedttermwindow. Theprog_nameargument specifies the name to use.-nb numberβ Ring the bell this number of characters from the right margin when enabled. The default is10. Thenumberargument 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 formtty??(that is, exactly two characters following thetty). This option is intended for use whendttermis programmatically invoked from within another application. Theccargument specifies the last two characters of the pseudo-terminal device's slave name where the pseudo-terminal device slave name is of the formtty??. This value is ignored, but must be exactly two characters in length. Thenargument 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. Thecargument specifies the last component of the pseudo-terminal device slave name. The terminal emulator ignores this value and the value may be empty. Thenargument 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. β¨-slscreens[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 isl(ell), the total length of the terminal buffer isscreensplus the length of the terminal window. If the suffix iss(ess) the total length of the terminal buffer is( screens+1)times the length of the terminal window. Thedttermutility attempts to maintain the same buffer-to-window ratio when the window is resized larger. The default is4s. Thescreensargument specifies the number of screens or lines to save. π-titerm_idβ Specify the name used bydttermto select the correct response to terminal ID queries. Valid values arevt100,vt101,vt102, andvt220. The default isvt220. Theterm_idargument specifies the terminal ID to use. π¦-titletitle_stringβ Thetitle_stringargument specifies the window title used bydtterm. The title defaults to the last component of the program's path if the-eoption is specified; otherwise the title defaults toTerminal. π-tmterm_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,werasandlnext. 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,βcorβu), andβ?can be used to indicate Delete. This is useful for overriding the default terminal settings without having to do anstty(1)every time aDtTermwidget is created. The default isNULL. Theterm_modesargument specifies the terminal mode string. πΈ-tnterm_nameβ Specify a name to whichdttermsets theTERMenvironment variable. The default isdtterm. Theterm_nameargument specifies the terminal name used bydtterm. π-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>-Gis received. π+vbβ Use an audio bell instead of a visual one. This is the default behavior. π-xrmresource_stringβ Allow the user to specify the X11 Resource Manager-style resources on the command line. Theresource_stringargument specifies an X11 resource string. (SeeXrmParseCommand(3)andXGetDefault(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'sDISPLAYenvironment 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. IfLANGis 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 ofLC_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,dttermlooks for a file named$HOME/.Xdefaults-hostnameinstead, wherehostnameis 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 setXUSERFILESEARCHPATHif 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'sTERMenvironment variable to thetermNameresource 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'sTERMINAL_EMULATORenvironment variable todttermto indicate that the process is running from adttermterminal emulator. π§WINDOWIDβ The terminal emulator sets the subprocess'sWINDOWIDenvironment 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β classAllowSendEvents, typeBoolean, defaultFalseappCursorDefaultβ classAppCursorDefault, typeBoolean, defaultFalseappKeypadDefaultβ classAppKeypadDefault, typeBoolean, defaultFalseautoWrapβ classAutoWrap, typeBoolean, defaultTruebackgroundβ classBackground, typeString, default: (none shown in the table)backgroundIsSelectβ classBackgroundIsSelect, typeBoolean, defaultFalseblinkRateβ classBlinkRate, typeint, default250borderColorβ classBorderColor, typeString, default"black"borderWidthβ classBorderWidth, typeint, default0c132β classC132, typeBoolean, defaultFalsecharCursorStyleβ classCharCursorStyle, typeString, default"char_cursor_box"consoleModeβ classConsoleMode, typeBoolean, defaultFalseforegroundβ classForeground, typeString, default: (none shown in the table)geometryβ classGeometry, typeString, defaultNULLiconicβ classIconic, typeBoolean, defaultFalseiconNameβ classIconName, typeString, default"dtterm"jumpScrollβ classJumpScroll, typeBoolean, defaultTruekshModeβ classKshMode, typeBoolean, defaultFalseloggingβ classLogging, typeBoolean, defaultFalselogFileβ classLogFile, typeString, default"DttermLogXXXXX"(whereXXXXXis a unique value)logInhibitβ classLogInhibit, typeBoolean, defaultFalseloginShellβ classLoginShell, typeBoolean, defaultFalsemapOnOutputβ classAutoMap, typeBoolean, defaultFalsemapOnOutputDelayβ classMapDelay, typeint, default0marginBellβ classMarginBell, typeBoolean, defaultFalsemenuBarβ classMenuBar, typeBoolean, defaultTruemenuPopupβ classMenuPopup, typeBoolean, defaultTruenMarginBellβ classNMarginBell, typeint, default10pointerBlankβ classPointerBlank, typeBoolean, defaultFalsepointerBlankDelayβ classPointerBlankDelay, typeint, default2pointerColorβ classForeground, typeString, defaultforeground colorpointerColorBackgroundβ classBackground, typeString, defaultbackground colorpointerShapeβ classPointerShape, typeString, default"xterm"reverseWrapβ classReverseWrap, typeBoolean, defaultFalsesaveLinesβ classSaveLines, typeString, default4sscrollBarβ classScrollBar, typeBoolean, defaultTruesunFunctionKeysβ classSunFunctionKeys, typeBoolean, defaultFalsetermIdβ classTermId, typeString, default"vt220"termNameβ classTermName, typeString, default"dtterm"titleβ classTitle, typeString, default"dtterm"ttyModesβ classTtyModes, typeString, defaultNULLuserBoldFontβ classUserBoldFont, typeXmFontList, defaultdynamicuserFontβ classUserFont, typeXmFontList, defaultdynamicvisualBellβ classVisualBell, typeBoolean, defaultFalse
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β IfTrue, the cursor keys start off in application mode. IfFalse, they start off in cursor mode.appKeypadDefaultβ IfTrue, the keypad keys start off in application mode. IfFalse, 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 β seebackgroundIsSelect.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 of250blinks 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 theDECCOLMescape sequence is honored. Thatβs the one that switches between a 132- and 80-column window.charCursorStyleβ Sets the shape of the text cursor. Achar_cursor_boxvalue gives you a cursor the width and height of the base fontβs bounding box. Achar_cursor_barvalue gives you a cursor the width of the base fontβs bounding box,2pixels high, and drawn with its top on the baseline. Cute little cursor details, honestly. πconsoleModeβ Says output directed at/dev/consoleshould 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/consoleto an arbitrary X server. Ownership of, and read-write permission for,/dev/consoleis required in order to redirect console output. Periodt.foregroundβ The foreground of the terminal window, plus the default used bydttermfor 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 is24lines of80characters 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-eoption, the default is the last component of the programβs path; otherwise, the default is the last component of the name used to executedttermβ that is,argv[0].jumpScrollβ Saysdttermshould 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. Thedttermterminal 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 ofksh(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 thelogFileoption. 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 whichdttermwrites the output log. If the filename begins with a pipe symbol (|),dttermassumes the rest of the string is a command to be used as the endpoint of a pipe. The default filename isDttermLogXXXXX(whereXXXXXis a unique value) and is created in the directory from which the subprocess was started.logInhibitβ Tellsdttermto inhibit device and file logging.loginShellβ Says the shell that is started should be a login shell β that is, the first character ofargv[0]is a dash β indicating that the shell should read the systemβs profile and the userβs.profilefiles (forksh(1)andsh(1)) or the systemcsh.loginand the userβs.login(forcsh(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 themapOnOutputDelayresource, an initial period of time during whichdttermdoes not map itself upon subprocess output.mapOnOutputDelayβ The number of seconds after start-up thatdttermdoes not honor themapOnOutputresource. 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 thenMarginBellresource. πmenuBarβ Saysdttermdisplays a pulldown menu bar. The default isTrue.menuPopupβ Saysdttermdisplays a popup menu. The default isTrue.nMarginBellβ The number of characters from the right margin at which the margin bell rings, when enabled.pointerBlankβ tellsdttermto 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. ThepointerBlankDelayresource sets that delay. π€pointerBlankDelayβ the number of seconds to wait after the pointer has stopped moving before blanking the pointer (seepointerBlank). A value of zero delays pointer blanking until a key is pressed. β³pointerColorβ the foreground color used bydttermfor the terminal window's pointer (X11) cursor. The default is the terminal window's foreground color (seeforeground). π¨pointerColorBackgroundβ the background color used bydttermfor the terminal window's pointer (X11) cursor. The default is the terminal window's background color (seebackground). ποΈpointerShapeβ the X cursor font character used bydttermas the pointer cursor. The font character must be specified as a string from theX11/cursorfont.hheader with the leadingXC_removed. The default isxterm(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. Thedttermutility attempts to maintain the same buffer-to-window ratio when the window is resized larger. πscrollBarβ specifies thatdttermdisplays a scroll bar. ποΈsunFunctionKeysβ specifies whetherdttermgenerates 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 arevt100,vt101,vt102, andvt220. πtermNameβ specifies a name to whichdttermsets theTERMenvironment variable. The default isdtterm. π·οΈtitleβ specifies the window title. When used with the-eoption, the default is the last component of the program's path; otherwise, the default is the last component of the name used to executedtterm(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,werasandlnext. 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,βcorβu), andβ?can be used to indicate Delete. This is useful for overriding the default terminal settings without having to do anstty(1)every time a DtTerm widget is created. β¨οΈuserBoldFontβ specifies an XFontSet used bydttermwhen displaying bold terminal text. The XFontSet should be specified as a MotifXmFontList(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 theuserFont. If that font is not available,dttermgenerates bold text by overstriking (with a one pixel offset) theuserFont. π«ΆuserFontβ specifies an XFontSet used bydttermwhen displaying terminal text. XFontSet should be specified as a MotifXmFontList(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 theXmNtextFontListvalue 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>-Gis 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:
cutpasteselectioncursor movementcommit 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:
XIMPrimaryXIMSecondaryXIMTertiary
π 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
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms