2011-05-14 16:47:37 +01:00
|
|
|
.TH ST 1 st\-VERSION
|
2010-09-02 01:02:56 +01:00
|
|
|
.SH NAME
|
2018-10-16 19:41:14 +01:00
|
|
|
st \- simple terminal (Luke Smith (https://lukesmith.xyz)'s build)
|
2010-09-02 01:02:56 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B st
|
2016-01-29 21:02:40 +00:00
|
|
|
.RB [ \-aiv ]
|
2010-11-30 21:55:44 +00:00
|
|
|
.RB [ \-c
|
|
|
|
.IR class ]
|
2012-09-30 19:23:10 +01:00
|
|
|
.RB [ \-f
|
|
|
|
.IR font ]
|
2012-09-03 22:02:29 +01:00
|
|
|
.RB [ \-g
|
|
|
|
.IR geometry ]
|
2016-01-29 21:03:01 +00:00
|
|
|
.RB [ \-n
|
|
|
|
.IR name ]
|
2012-09-30 19:23:10 +01:00
|
|
|
.RB [ \-o
|
2016-01-29 21:02:40 +00:00
|
|
|
.IR iofile ]
|
2015-07-24 17:24:10 +01:00
|
|
|
.RB [ \-T
|
|
|
|
.IR title ]
|
2016-01-29 21:02:40 +00:00
|
|
|
.RB [ \-t
|
|
|
|
.IR title ]
|
2015-04-13 18:03:53 +01:00
|
|
|
.RB [ \-l
|
|
|
|
.IR line ]
|
2016-01-29 21:02:40 +00:00
|
|
|
.RB [ \-w
|
2011-06-08 20:35:58 +01:00
|
|
|
.IR windowid ]
|
2016-01-29 21:02:40 +00:00
|
|
|
.RB [[ \-e ]
|
|
|
|
.IR command
|
|
|
|
.RI [ arguments ...]]
|
2015-04-13 18:03:53 +01:00
|
|
|
.PP
|
|
|
|
.B st
|
2016-01-29 21:02:40 +00:00
|
|
|
.RB [ \-aiv ]
|
2015-04-13 18:03:53 +01:00
|
|
|
.RB [ \-c
|
|
|
|
.IR class ]
|
|
|
|
.RB [ \-f
|
|
|
|
.IR font ]
|
|
|
|
.RB [ \-g
|
|
|
|
.IR geometry ]
|
2016-01-29 21:03:01 +00:00
|
|
|
.RB [ \-n
|
|
|
|
.IR name ]
|
2015-04-13 18:03:53 +01:00
|
|
|
.RB [ \-o
|
2016-01-29 21:02:40 +00:00
|
|
|
.IR iofile ]
|
2015-07-24 17:24:10 +01:00
|
|
|
.RB [ \-T
|
|
|
|
.IR title ]
|
2016-01-29 21:02:40 +00:00
|
|
|
.RB [ \-t
|
|
|
|
.IR title ]
|
2015-04-13 18:03:53 +01:00
|
|
|
.RB [ \-w
|
|
|
|
.IR windowid ]
|
2015-09-07 19:00:49 +01:00
|
|
|
.RB \-l
|
|
|
|
.IR line
|
2015-04-13 18:03:53 +01:00
|
|
|
.RI [ stty_args ...]
|
2010-09-02 01:02:56 +01:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.B st
|
|
|
|
is a simple terminal emulator.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2013-04-03 19:42:27 +01:00
|
|
|
.B \-a
|
|
|
|
disable alternate screens in terminal
|
|
|
|
.TP
|
2011-05-14 16:47:37 +01:00
|
|
|
.BI \-c " class"
|
|
|
|
defines the window class (default $TERM).
|
2010-11-19 16:13:13 +00:00
|
|
|
.TP
|
2012-09-30 19:23:10 +01:00
|
|
|
.BI \-f " font"
|
|
|
|
defines the
|
|
|
|
.I font
|
|
|
|
to use when st is run.
|
|
|
|
.TP
|
|
|
|
.BI \-g " geometry"
|
2014-04-25 21:34:24 +01:00
|
|
|
defines the X11 geometry string.
|
|
|
|
The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
|
2013-04-13 14:24:26 +01:00
|
|
|
.BR XParseGeometry (3)
|
|
|
|
for further details.
|
2012-09-30 19:23:10 +01:00
|
|
|
.TP
|
2014-08-17 19:49:33 +01:00
|
|
|
.B \-i
|
2014-04-25 21:34:24 +01:00
|
|
|
will fixate the position given with the -g option.
|
|
|
|
.TP
|
2016-01-29 21:03:01 +00:00
|
|
|
.BI \-n " name"
|
|
|
|
defines the window instance name (default $TERM).
|
|
|
|
.TP
|
2015-03-14 07:52:37 +00:00
|
|
|
.BI \-o " iofile"
|
2012-09-30 19:23:10 +01:00
|
|
|
writes all the I/O to
|
2015-03-14 07:52:37 +00:00
|
|
|
.I iofile.
|
2012-09-30 19:23:10 +01:00
|
|
|
This feature is useful when recording st sessions. A value of "-" means
|
|
|
|
standard output.
|
|
|
|
.TP
|
2016-01-29 21:02:40 +00:00
|
|
|
.BI \-T " title"
|
2012-09-30 19:23:10 +01:00
|
|
|
defines the window title (default 'st').
|
|
|
|
.TP
|
2016-01-29 21:02:40 +00:00
|
|
|
.BI \-t " title"
|
2015-07-24 17:24:10 +01:00
|
|
|
defines the window title (default 'st').
|
|
|
|
.TP
|
2011-06-08 20:35:58 +01:00
|
|
|
.BI \-w " windowid"
|
2016-01-29 21:02:40 +00:00
|
|
|
embeds st within the window identified by
|
2011-06-08 20:35:58 +01:00
|
|
|
.I windowid
|
|
|
|
.TP
|
2015-04-13 18:03:53 +01:00
|
|
|
.BI \-l " line"
|
2015-09-07 21:59:05 +01:00
|
|
|
use a tty
|
|
|
|
.I line
|
|
|
|
instead of a pseudo terminal.
|
|
|
|
.I line
|
2016-10-13 15:28:50 +01:00
|
|
|
should be a (pseudo-)serial device (e.g. /dev/ttyS0 on Linux for serial port
|
2015-09-07 21:59:05 +01:00
|
|
|
0).
|
|
|
|
When this flag is given
|
|
|
|
remaining arguments are used as flags for
|
|
|
|
.BR stty(1).
|
|
|
|
By default st initializes the serial line to 8 bits, no parity, 1 stop bit
|
|
|
|
and a 38400 baud rate. The speed is set by appending it as last argument
|
2016-10-13 15:28:50 +01:00
|
|
|
(e.g. 'st -l /dev/ttyS0 115200'). Arguments before the last one are
|
2015-09-07 21:59:05 +01:00
|
|
|
.BR stty(1)
|
|
|
|
flags. If you want to set odd parity on 115200 baud use for example 'st -l
|
2016-10-13 15:28:50 +01:00
|
|
|
/dev/ttyS0 parenb parodd 115200'. Set the number of bits by using for
|
|
|
|
example 'st -l /dev/ttyS0 cs7 115200'. See
|
2015-09-07 21:59:05 +01:00
|
|
|
.BR stty(1)
|
|
|
|
for more arguments and cases.
|
2015-04-13 18:03:53 +01:00
|
|
|
.TP
|
2010-11-30 21:55:44 +00:00
|
|
|
.B \-v
|
2011-05-14 16:47:37 +01:00
|
|
|
prints version information to stderr, then exits.
|
2010-11-30 21:55:44 +00:00
|
|
|
.TP
|
2016-01-29 21:02:40 +00:00
|
|
|
.BI \-e " command " [ " arguments " "... ]"
|
2011-05-14 16:47:37 +01:00
|
|
|
st executes
|
2016-01-29 21:02:40 +00:00
|
|
|
.I command
|
2011-05-14 16:47:37 +01:00
|
|
|
instead of the shell. If this is used it
|
|
|
|
.B must be the last option
|
|
|
|
on the command line, as in xterm / rxvt.
|
2018-04-25 21:15:11 +01:00
|
|
|
This option is only intended for compatibility,
|
2015-04-13 18:03:53 +01:00
|
|
|
and all the remaining arguments are used as a command
|
|
|
|
even without it.
|
2015-03-14 07:52:37 +00:00
|
|
|
.SH SHORTCUTS
|
2015-02-19 21:33:22 +00:00
|
|
|
.TP
|
2018-10-16 20:21:02 +01:00
|
|
|
.B Alt-j/k or Alt-Up/Down or Alt-Mouse Wheel
|
2018-07-08 19:23:08 +01:00
|
|
|
Scroll up/down one line at a time.
|
|
|
|
.TP
|
2018-10-16 19:41:14 +01:00
|
|
|
.B Alt-u/d or Alt-Page Up/Page Down
|
2018-07-08 19:23:08 +01:00
|
|
|
Scroll up/down one screen at a time.
|
|
|
|
.TP
|
2018-10-16 20:21:02 +01:00
|
|
|
.B Alt-Shift-k/j or Alt-Shift-Page Up/Page Down or Alt-Shift-Mouse Wheel
|
2018-07-08 19:23:08 +01:00
|
|
|
Increase or decrease font size.
|
|
|
|
.TP
|
2018-12-13 22:54:26 +00:00
|
|
|
.B Alt-Home
|
2018-10-16 19:41:14 +01:00
|
|
|
Reset to default font size.
|
|
|
|
.TP
|
|
|
|
.B Shift-Insert or Alt-v
|
|
|
|
Paste from clipboard.
|
|
|
|
.TP
|
|
|
|
.B Alt-c
|
|
|
|
Copy to clipboard.
|
|
|
|
.TP
|
|
|
|
.B Alt-p
|
|
|
|
Paste/input primary selection.
|
|
|
|
.TP
|
2018-12-13 22:23:38 +00:00
|
|
|
.B Alt-l
|
|
|
|
Show dmenu menu of all URLs on screen and choose one to open.
|
|
|
|
.TP
|
2015-09-08 16:00:20 +01:00
|
|
|
.B Break
|
|
|
|
Send a break in the serial line.
|
|
|
|
Break key is obtained in PC keyboards
|
|
|
|
pressing at the same time control and pause.
|
2015-09-08 11:10:11 +01:00
|
|
|
.TP
|
2015-02-19 21:33:22 +00:00
|
|
|
.B Ctrl-Print Screen
|
2015-03-14 07:52:37 +00:00
|
|
|
Toggle if st should print to the
|
|
|
|
.I iofile.
|
2015-02-19 21:33:22 +00:00
|
|
|
.TP
|
|
|
|
.B Shift-Print Screen
|
2015-03-14 07:52:37 +00:00
|
|
|
Print the full screen to the
|
|
|
|
.I iofile.
|
2015-02-19 21:33:22 +00:00
|
|
|
.TP
|
|
|
|
.B Print Screen
|
2015-03-14 07:52:37 +00:00
|
|
|
Print the selection to the
|
|
|
|
.I iofile.
|
2015-02-19 21:33:22 +00:00
|
|
|
.TP
|
2018-04-25 21:15:11 +01:00
|
|
|
.B Ctrl-Shift-i
|
2016-10-22 09:42:46 +01:00
|
|
|
Launch dmenu to enter a unicode codepoint and send the corresponding glyph
|
|
|
|
to st.
|
2012-09-16 12:59:10 +01:00
|
|
|
.SH CUSTOMIZATION
|
|
|
|
.B st
|
|
|
|
can be customized by creating a custom config.h and (re)compiling the source
|
|
|
|
code. This keeps it fast, secure and simple.
|
|
|
|
.SH AUTHORS
|
|
|
|
See the LICENSE file for the authors.
|
|
|
|
.SH LICENSE
|
|
|
|
See the LICENSE file for the terms of redistribution.
|
|
|
|
.SH SEE ALSO
|
2015-04-13 18:03:53 +01:00
|
|
|
.BR tabbed (1),
|
|
|
|
.BR utmp (1),
|
|
|
|
.BR stty (1)
|
2012-09-16 12:59:10 +01:00
|
|
|
.SH BUGS
|
|
|
|
See the TODO file in the distribution.
|
|
|
|
|