Linux command
xterm 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
xterm -T [Example]
Example
xterm -fullscreen
Example
xterm -bg darkblue -fg yellow
Example
xterm -geometry 100x35+200+20
Example
xterm -fa '[Serif]' -fs 20
说明
xterm is the standard terminal emulator for the X Window System, providing a text terminal interface within a graphical environment. It supports VT102, VT220, and Tektronix 4014 terminal emulation with extensive customization options. Features include multiple fonts, configurable colors, scrollback buffer, selection and paste, Tektronix graphics mode, and full internationalization support. Configuration can be done via command line, X resources, or the control menus (Ctrl+click).
参数
- -T _string_
- Set window title
- -geometry _WxH+X+Y_
- Set window size and position
- -bg _color_
- Background color
- -fg _color_
- Foreground (text) color
- -fa _font_
- TrueType font face name
- -fs _size_
- TrueType font size in points
- -fn _font_
- Bitmap font name
- -fullscreen
- Start in fullscreen mode
- -rv
- Reverse video (swap foreground/background)
- -sb
- Enable scrollbar
- -sl _lines_
- Number of lines to save in scrollback
- -e _program_ _args_
- Run program instead of shell
- -hold
- Keep window open after command exits
- -class _class_
- X resource class name
FAQ
What is the xterm command used for?
xterm is the standard terminal emulator for the X Window System, providing a text terminal interface within a graphical environment. It supports VT102, VT220, and Tektronix 4014 terminal emulation with extensive customization options. Features include multiple fonts, configurable colors, scrollback buffer, selection and paste, Tektronix graphics mode, and full internationalization support. Configuration can be done via command line, X resources, or the control menus (Ctrl+click).
How do I run a basic xterm example?
Run `xterm -T [Example]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -T _string_ do in xterm?
Set window title