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