stterm(1) suckless tools terminal aka simple terminal


stterm [-a] [-c class] [-f font] [-g geometry] [-i] [-o file] [-T title] [-l line] [-w windowid] [-v] [-e command...] [commands...]

st [-a] [-c class] [-f font] [-g geometry] [-i] [-o file] [-t title] [-l line] [-w windowid] [-v] [-l line] [stty_args...]


stterm is a simple terminal emulator. The original project released the binary under name "st". If you would like to access the program by a short name, add an alias or function to the shell startup file:
alias st=stterm # E.g. in ~/.bashrc for bash; consult your $SHELL


disable alternate screens in terminal
-c class
defines the window class (default $TERM).
-f font
defines the font to use.
-g geometry
defines the X11 geometry string. The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See XParseGeometry(3) for further details.
will fixate the position given with the -g option.
-o iofile
writes all the I/O to iofile. This feature is useful when recording sessions. A value of "-" means standard output.
-T title
defines the window title (default 'st').
-w windowid
embeds stterm within the window identified by windowid
-l line
use a tty line instead of a pseudo terminal. When this flag is used remaining arguments are used as flags for stty.
prints version information to stderr, then exits.
-e program [ arguments ... ]
executes program instead of the shell. If this is used it must be the last option on the command line, as in xterm / rxvt. This option is only intended for compability, and all the remaining arguments are used as a command even without it.


Ctrl-Print Screen
Toggle if st should print to the iofile.
Shift-Print Screen
Print the full screen to the iofile.
Print Screen
Print the selection to the iofile.
Alt-Shift-Page Up
Increase font size.
Alt-Shift-Page Down
Decrease font size.
Reset to default font size.
Paste from primary selection (middle mouse button).
Paste from clipboard selection.
Copy the selected text to the clipboard selection.
Paste from the clipboard selection.


stterm can be customized by creating a custom config.h and (re)compiling the source code. This keeps it fast, secure and simple.


See the LICENSE file for the authors.


See the LICENSE file for the terms of redistribution.


See the TODO file in the distribution.