Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix xterm command

Quick links

About xterm
Syntax
Examples
Related commands
Linux / Unix main page

About xterm

Terminal emulator for X.

Syntax

xterm [-toolkitoption ...] [-option]

-helpThis causes xterm to print out a verbose message describing its options.
-132Normally, the VT102 DECCOLM escape sequence that switches between 80 and 132 column mode is ignored. This option causes the DECCOLM escape sequence to be recognized, and the xterm window will resize appropriately.
-ahThis option indicates that xterm should always highlight the text cursor. By default, xterm will display a hollow text cursor whenever the focus is lost or the pointer leaves the window.
+ahThis option indicates that xterm should do text cursor highlighting based on focus.
-b numberThis option specifies the size of the inner border (the distance between the outer edge of the characters and the window border) in pixels. The default is 2.
-cbSet the vt100 resource cutToBeginningOfLine to FALSE.
+cbSet the vt100 resource cutToBeginningOfLine to TRUE.
-ccThis sets classes indicated by the given ranges for using in selecting by words. See the section specifying character classes.
-cnThis option indicates that newlines should not be cut in line-mode selections.
+cnThis option indicates that newlines should be cut in line-mode selections.
-cr colorThis option specifies the color to use for text cursor. The default is to use the same foreground color that is used for text.
-cuThis option indicates that xterm should work around a bug in the more program that causes it to incorrectly display lines that are exactly the width of the window and are followed by a line beginning with a tab (the leading tabs are not displayed). This option is so named because it was originally thought to be a bug in the curses(3x) cursor motion package.
+cuThis option indicates that xterm should not work around the more(3x) bug mentioned above.
-e program [arguments]This option specifies the program (and its command line arguments) to be run in the xterm window. It also sets the window title and icon name to be the basename of the program being executed if neither -T nor -n are given on the command line. This must be
the last option on the command line.
-fb fontThis option specifies a font to be used when displaying bold text. This font must be the same height and width as the normal font. If only one of the normal or bold fonts is specified, it will be used as the normal font and the bold font will be produced by overstriking this font. The default is to do overstriking of the normal font.
-imTurn on the useInsertMode resource.
+imTurn off the useInsertMode resource.
-jThis option indicates that xterm should do jump scrolling. Normally, text is scrolled one line at a time; this option allows xterm to move multiple lines at a time so that it doesn't fall as far behind. Its use is strongly recommended since it make xterm much faster when scanning through large amounts of text. The VT100 escape sequences for enabling and disabling smooth scroll as well as the ``VT Options'' menu can be used to turn this feature on or off.
+jThis option indicates that xterm should not do jump scrolling.
-lsThis option indicates that the shell that is started in the xterm window will be a login shell
(i.e., the first character of argv[0] will be a dash, indicating to the shell that it should read
the user's .login or .profile).
+lsThis option indicates that the shell that is started should not be a login shell (i.e. it will be a normal ``subshell'').
-mbThis option indicates that xterm should ring a margin bell when the user types near the right end of a line. This option can be turned on and off from the ``VT Options'' menu.
+mbThis option indicates that margin bell should not be rung.
-mc millisecondsThis option specifies the maximum time between multi-click selections.
-ms colorThis option specifies the color to be used for the pointer cursor. The default is to use the foreground color.
-nb numberThis option specifies the number of characters from the right end of a line at which the margin bell, if enabled, will ring. The default is 10.
-rwThis option indicates that reverse-wraparound should be allowed. This allows the cursor to backup from the leftmost column of one line to the rightmost column of the previous line. This is very useful for editing long shell command lines and is encouraged. This option can be turned on and off from the ``VT Options'' menu.
+rwThis option indicates that reverse-wraparound should not be allowed.
-awThis option indicates that auto-wraparound should be allowed. This allows the cursor to automatically wrap to the beginning of the next line when when it is at the rightmost position of a line and text is output.
+awThis option indicates that auto-wraparound should not be allowed.
-sThis option indicates that xterm may scroll asynchronously, meaning that the screen does not have to be kept completely up to date while scrolling. This allows xterm to run faster when network latencies are very high and is typically useful when running across a very large Internet or many gateways.
+sThis option indicates that xterm should scroll synchronously.
-sbThis option indicates that some number of lines that are scrolled off the top of the window should be saved and that a scrollbar should be displayed so that those lines can be viewed. This option may be turned on and off from the ``VT Options'' menu.
+sbThis option indicates that a scrollbar should not be displayed.
-sfThis option indicates that Sun Function Key escape codes should be generated for function keys.
+sfThis option indicates that the standard escape codes should be generated for function keys.
-siThis option indicates that output to a window should not automatically reposition the screen to the bottom of the scrolling region. This option can be turned on and off from the ``VT Options'' menu.
+siThis option indicates that output to a window should cause it to scroll to the bottom.
-skThis option indicates that pressing a key while using the scrollbar to review previous lines of text should cause the window to be repositioned automatically in the normal position at the bottom of the scroll region.
+skThis option indicates that pressing a key while using the scrollbar should not cause the window to be repositioned.
-sl numberThis option specifies the number of lines to save that have been scrolled off the top of the screen. The default is 64.
-tThis option indicates that xterm should start in Tektronix mode, rather than in VT102 mode. Switching between the two windows is done using the ``Options'' menus.
+tThis option indicates that xterm should start in VT102 mode.
-tm stringThis option specifies a series of terminal setting keywords followed by the characters that should be bound to those functions, similar to the stty program. Allowable keywords include: intr, quit, erase, kill, eof, eol, swtch, start, stop, brk, susp, dsusp, rprnt, flush, weras, and lnext. Cotrol characters may be specified as ^char (e.g. ^c or ^u) and ^? may be used to indicate delete.
-tn nameThis option specifies the name of the terminal type to be set in the TERM environment variable. This terminal type must exist in the termcap database and should have li# and co# entries.
-utThis option indicates that xterm shouldn't write a record into the the system log file /etc/utmp.
+utThis option indicates that xterm should write a record into the system log file /etc/utmp.
-vbThis option 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 will be flashed.
+vbThis option indicates that a visual bell should not be used.
-wfThis option indicates that xterm should wait for the window to be mapped the first time before starting the subprocess so that the initial terminal size settings and environment variables are correct. It is the application's responsibility to catch subsequent terminal size changes.
+wfThis option indicates that xterm show not wait before starting the subprocess.
-CThis option indicates that this window should receive console output. This is not supported on all systems. To obtain console output, you must be the owner of the console device, and you must have read and write permission for it. If you are running X under xdm on the console screen you may need to have the session startup and reset programs explicitly change the ownership of the console device in order to get this option to work.
SccnThis option specifies the last two letters of the name of a pseudoterminal to use in slave mode, plus the number of the inherited file descriptor. The option is parsed ``%c%c%d''. This allows xterm to  be used as an input and output channel for an existing program and is sometimes used in specialized applications.
%geomThis option specifies the preferred size and position of the Tektronix window. It is shorthand for specifying the ``*tekGeometry'' resource.
#geomThis option specifies the preferred position of the icon window. It is shorthand for specifying the ``*iconGeometry'' resource.
-T stringThis option specifies the title for xterm's windows. It is equivalent to -title.
-n stringThis option specifies the icon name for xterm's windows. It is shorthand for specifying the ``*icon- Name'' resource. Note that this is not the same as the toolkit option -name (see below). The default icon name is the application name.
-rThis option indicates that reverse video should be simulated by swapping the foreground and background colors. It is equivalent to -rv.
-w numberThis option specifies the width in pixels of the border surrounding the window. It is equivalent to -borderwidth or -bw.
-bg colorThis option specifies the color to use for the background of the window. The default is ``white.''
-bd colorThis option specifies the color to use for the border of the window. The default is ``black.''
-bw colorThis option specifies the width in pixels of the border surrounding the window.
-fg colorThis option specifies the color to use for displaying text. The default is ``black.''
-fn colorThis option specifies the font to be used for displaying normal text. The default is fixed.
-fn fontThis option specifies the font to be used for displaying normal text. The default is fixed.
-name nameThis option specifies the application name under which resources are to be obtained, rather than the default executable file name. Name should not contain ``.'' or ``*'' characters.
-title stringThis option specifies the window title string, which may be displayed by window managers if the user so chooses. The default title is the command line specified after the -e option, if any, otherwise the application name.
-rvThis option indicates that reverse video should be simulated by swapping the foreground and background colors.
-geometry geometryThis option specifies the preferred size and position of the VT102 window; see X(1).
-display displayThis option specifies the X server to contact; see X.
-xrm resourcestringThis option specifies a resource string to be used. This is especially useful for setting resources that do not have separate command line options.
-iconicThis option indicates that xterm should ask the window manager to start it as an icon rather than as the normal window.
-dcThis option disables the escape sequence to change the vt100 foreground and background colors, the text cursor color, the mouse cursor foreground and background colors and the Tektronix emulator foreground and background colors.
+dcThis option enables the escape sequence to change the vt100 foreground and background colors, the text cursor color, the mouse cursor foreground and background colors and the Tektronix emulator foreground and background

Examples

xterm - runs the X terminal (if supported).

Related commands

X

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope