Scroll to navigation

STTERM(1) General Commands Manual STTERM(1)


stterm - 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
defines the window class (default $TERM).
defines the font to use.
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.
writes all the I/O to iofile. This feature is useful when recording sessions. A value of "-" means standard output.
defines the window title (default 'st').
embeds stterm within the window identified by windowid
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.
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.


Toggle if st should print to the iofile.
Print the full screen to the iofile.
Print the selection to the iofile.
Increase font size.
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.


tabbed(1), utmp(1), stty(1)


See the TODO file in the distribution.