NAME¶
stterm - suckless tools terminal aka simple terminal
SYNOPSIS¶
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...]
DESCRIPTION¶
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
OPTIONS¶
- -a
- 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.
- -i
- 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.
- -v
- 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.
SHORTCUTS¶
- 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.
- Alt-Shift-Home
- Reset to default font size.
- Shift-Insert
- Paste from primary selection (middle mouse button).
- Alt-Shift-Insert
- Paste from clipboard selection.
- Alt-Shift-c
- Copy the selected text to the clipboard selection.
- Alt-Shift-v
- Paste from the clipboard selection.
CUSTOMIZATION¶
stterm can be customized by creating a custom config.h and (re)compiling
the source code. This keeps it fast, secure and simple.
AUTHORS¶
See the LICENSE file for the authors.
LICENSE¶
See the LICENSE file for the terms of redistribution.
BUGS¶
See the TODO file in the distribution.