2011-05-14 18:47:37 +03:00
|
|
|
.TH ST 1 st\-VERSION
|
2010-09-02 03:02:56 +03:00
|
|
|
.SH NAME
|
|
|
|
st \- simple terminal
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B st
|
2016-01-29 23:02:40 +02:00
|
|
|
.RB [ \-aiv ]
|
2010-11-30 23:55:44 +02:00
|
|
|
.RB [ \-c
|
|
|
|
.IR class ]
|
2012-09-30 21:23:10 +03:00
|
|
|
.RB [ \-f
|
|
|
|
.IR font ]
|
2012-09-04 00:02:29 +03:00
|
|
|
.RB [ \-g
|
|
|
|
.IR geometry ]
|
2016-01-29 23:03:01 +02:00
|
|
|
.RB [ \-n
|
|
|
|
.IR name ]
|
2012-09-30 21:23:10 +03:00
|
|
|
.RB [ \-o
|
2016-01-29 23:02:40 +02:00
|
|
|
.IR iofile ]
|
2015-07-24 19:24:10 +03:00
|
|
|
.RB [ \-T
|
|
|
|
.IR title ]
|
2016-01-29 23:02:40 +02:00
|
|
|
.RB [ \-t
|
|
|
|
.IR title ]
|
2015-04-13 20:03:53 +03:00
|
|
|
.RB [ \-l
|
|
|
|
.IR line ]
|
2016-01-29 23:02:40 +02:00
|
|
|
.RB [ \-w
|
2011-06-08 22:35:58 +03:00
|
|
|
.IR windowid ]
|
2016-01-29 23:02:40 +02:00
|
|
|
.RB [[ \-e ]
|
|
|
|
.IR command
|
|
|
|
.RI [ arguments ...]]
|
2015-04-13 20:03:53 +03:00
|
|
|
.PP
|
|
|
|
.B st
|
2016-01-29 23:02:40 +02:00
|
|
|
.RB [ \-aiv ]
|
2015-04-13 20:03:53 +03:00
|
|
|
.RB [ \-c
|
|
|
|
.IR class ]
|
|
|
|
.RB [ \-f
|
|
|
|
.IR font ]
|
|
|
|
.RB [ \-g
|
|
|
|
.IR geometry ]
|
2016-01-29 23:03:01 +02:00
|
|
|
.RB [ \-n
|
|
|
|
.IR name ]
|
2015-04-13 20:03:53 +03:00
|
|
|
.RB [ \-o
|
2016-01-29 23:02:40 +02:00
|
|
|
.IR iofile ]
|
2015-07-24 19:24:10 +03:00
|
|
|
.RB [ \-T
|
|
|
|
.IR title ]
|
2016-01-29 23:02:40 +02:00
|
|
|
.RB [ \-t
|
|
|
|
.IR title ]
|
2015-04-13 20:03:53 +03:00
|
|
|
.RB [ \-w
|
|
|
|
.IR windowid ]
|
2015-09-07 21:00:49 +03:00
|
|
|
.RB \-l
|
|
|
|
.IR line
|
2015-04-13 20:03:53 +03:00
|
|
|
.RI [ stty_args ...]
|
2010-09-02 03:02:56 +03:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.B st
|
|
|
|
is a simple terminal emulator.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2013-04-03 21:42:27 +03:00
|
|
|
.B \-a
|
|
|
|
disable alternate screens in terminal
|
|
|
|
.TP
|
2011-05-14 18:47:37 +03:00
|
|
|
.BI \-c " class"
|
|
|
|
defines the window class (default $TERM).
|
2010-11-19 18:13:13 +02:00
|
|
|
.TP
|
2012-09-30 21:23:10 +03:00
|
|
|
.BI \-f " font"
|
|
|
|
defines the
|
|
|
|
.I font
|
|
|
|
to use when st is run.
|
|
|
|
.TP
|
|
|
|
.BI \-g " geometry"
|
2014-04-25 23:34:24 +03:00
|
|
|
defines the X11 geometry string.
|
|
|
|
The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
|
2013-04-13 16:24:26 +03:00
|
|
|
.BR XParseGeometry (3)
|
|
|
|
for further details.
|
2012-09-30 21:23:10 +03:00
|
|
|
.TP
|
2014-08-17 21:49:33 +03:00
|
|
|
.B \-i
|
2014-04-25 23:34:24 +03:00
|
|
|
will fixate the position given with the -g option.
|
|
|
|
.TP
|
2016-01-29 23:03:01 +02:00
|
|
|
.BI \-n " name"
|
|
|
|
defines the window instance name (default $TERM).
|
|
|
|
.TP
|
2015-03-14 09:52:37 +02:00
|
|
|
.BI \-o " iofile"
|
2012-09-30 21:23:10 +03:00
|
|
|
writes all the I/O to
|
2015-03-14 09:52:37 +02:00
|
|
|
.I iofile.
|
2012-09-30 21:23:10 +03:00
|
|
|
This feature is useful when recording st sessions. A value of "-" means
|
|
|
|
standard output.
|
|
|
|
.TP
|
2016-01-29 23:02:40 +02:00
|
|
|
.BI \-T " title"
|
2012-09-30 21:23:10 +03:00
|
|
|
defines the window title (default 'st').
|
|
|
|
.TP
|
2016-01-29 23:02:40 +02:00
|
|
|
.BI \-t " title"
|
2015-07-24 19:24:10 +03:00
|
|
|
defines the window title (default 'st').
|
|
|
|
.TP
|
2011-06-08 22:35:58 +03:00
|
|
|
.BI \-w " windowid"
|
2016-01-29 23:02:40 +02:00
|
|
|
embeds st within the window identified by
|
2011-06-08 22:35:58 +03:00
|
|
|
.I windowid
|
|
|
|
.TP
|
2015-04-13 20:03:53 +03:00
|
|
|
.BI \-l " line"
|
2015-09-07 23:59:05 +03:00
|
|
|
use a tty
|
|
|
|
.I line
|
|
|
|
instead of a pseudo terminal.
|
|
|
|
.I line
|
2016-10-13 17:28:50 +03:00
|
|
|
should be a (pseudo-)serial device (e.g. /dev/ttyS0 on Linux for serial port
|
2015-09-07 23:59:05 +03: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 17:28:50 +03:00
|
|
|
(e.g. 'st -l /dev/ttyS0 115200'). Arguments before the last one are
|
2015-09-07 23:59:05 +03:00
|
|
|
.BR stty(1)
|
|
|
|
flags. If you want to set odd parity on 115200 baud use for example 'st -l
|
2016-10-13 17:28:50 +03: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 23:59:05 +03:00
|
|
|
.BR stty(1)
|
|
|
|
for more arguments and cases.
|
2015-04-13 20:03:53 +03:00
|
|
|
.TP
|
2010-11-30 23:55:44 +02:00
|
|
|
.B \-v
|
2011-05-14 18:47:37 +03:00
|
|
|
prints version information to stderr, then exits.
|
2010-11-30 23:55:44 +02:00
|
|
|
.TP
|
2016-01-29 23:02:40 +02:00
|
|
|
.BI \-e " command " [ " arguments " "... ]"
|
2011-05-14 18:47:37 +03:00
|
|
|
st executes
|
2016-01-29 23:02:40 +02:00
|
|
|
.I command
|
2011-05-14 18:47:37 +03:00
|
|
|
instead of the shell. If this is used it
|
|
|
|
.B must be the last option
|
|
|
|
on the command line, as in xterm / rxvt.
|
2017-10-10 18:49:38 +03:00
|
|
|
This option is only intended for compatibility,
|
2015-04-13 20:03:53 +03:00
|
|
|
and all the remaining arguments are used as a command
|
|
|
|
even without it.
|
2015-03-14 09:52:37 +02:00
|
|
|
.SH SHORTCUTS
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
2015-09-08 18:00:20 +03: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 13:10:11 +03:00
|
|
|
.TP
|
2015-02-19 23:33:22 +02:00
|
|
|
.B Ctrl-Print Screen
|
2015-03-14 09:52:37 +02:00
|
|
|
Toggle if st should print to the
|
|
|
|
.I iofile.
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
|
|
|
.B Shift-Print Screen
|
2015-03-14 09:52:37 +02:00
|
|
|
Print the full screen to the
|
|
|
|
.I iofile.
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
|
|
|
.B Print Screen
|
2015-03-14 09:52:37 +02:00
|
|
|
Print the selection to the
|
|
|
|
.I iofile.
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-Page Up
|
2015-03-14 09:52:37 +02:00
|
|
|
Increase font size.
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-Page Down
|
2015-03-14 09:52:37 +02:00
|
|
|
Decrease font size.
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-Home
|
2015-03-14 09:52:37 +02:00
|
|
|
Reset to default font size.
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-y
|
2015-03-14 09:52:37 +02:00
|
|
|
Paste from primary selection (middle mouse button).
|
2015-02-19 23:33:22 +02:00
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-c
|
2015-03-14 09:52:37 +02:00
|
|
|
Copy the selected text to the clipboard selection.
|
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-v
|
2015-03-14 09:52:37 +02:00
|
|
|
Paste from the clipboard selection.
|
2016-10-22 11:42:46 +03:00
|
|
|
.TP
|
2017-04-10 19:24:03 +03:00
|
|
|
.B Ctrl-Shift-i
|
2016-10-22 11:42:46 +03:00
|
|
|
Launch dmenu to enter a unicode codepoint and send the corresponding glyph
|
|
|
|
to st.
|
2012-09-16 14:59:10 +03: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 20:03:53 +03:00
|
|
|
.BR tabbed (1),
|
|
|
|
.BR utmp (1),
|
|
|
|
.BR stty (1)
|
2012-09-16 14:59:10 +03:00
|
|
|
.SH BUGS
|
|
|
|
See the TODO file in the distribution.
|
|
|
|
|