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