💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Menkar › files › 39120b4848c1dd055724e0d8345… captured on 2023-01-29 at 16:12:17. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
0 .TH ST 1 st\-VERSION
1 .SH NAME
2 st \- simple terminal
3 .SH SYNOPSIS
4 .B st
5 .RB [ \-aiv ]
6 .RB [ \-c
7 .IR class ]
8 .RB [ \-f
9 .IR font ]
10 .RB [ \-g
11 .IR geometry ]
12 .RB [ \-n
13 .IR name ]
14 .RB [ \-o
15 .IR iofile ]
16 .RB [ \-T
17 .IR title ]
18 .RB [ \-t
19 .IR title ]
20 .RB [ \-l
21 .IR line ]
22 .RB [ \-w
23 .IR windowid ]
24 .RB [[ \-e ]
25 .IR command
26 .RI [ arguments ...]]
27 .PP
28 .B st
29 .RB [ \-aiv ]
30 .RB [ \-c
31 .IR class ]
32 .RB [ \-f
33 .IR font ]
34 .RB [ \-g
35 .IR geometry ]
36 .RB [ \-n
37 .IR name ]
38 .RB [ \-o
39 .IR iofile ]
40 .RB [ \-T
41 .IR title ]
42 .RB [ \-t
43 .IR title ]
44 .RB [ \-w
45 .IR windowid ]
46 .RB \-l
47 .IR line
48 .RI [ stty_args ...]
49 .SH DESCRIPTION
50 .B st
51 is a simple terminal emulator.
52 .SH OPTIONS
53 .TP
54 .B \-a
55 disable alternate screens in terminal
56 .TP
57 .BI \-c " class"
58 defines the window class (default $TERM).
59 .TP
60 .BI \-f " font"
61 defines the
62 .I font
63 to use when st is run.
64 .TP
65 .BI \-g " geometry"
66 defines the X11 geometry string.
67 The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
68 .BR XParseGeometry (3)
69 for further details.
70 .TP
71 .B \-i
72 will fixate the position given with the -g option.
73 .TP
74 .BI \-n " name"
75 defines the window instance name (default $TERM).
76 .TP
77 .BI \-o " iofile"
78 writes all the I/O to
79 .I iofile.
80 This feature is useful when recording st sessions. A value of "-" means
81 standard output.
82 .TP
83 .BI \-T " title"
84 defines the window title (default 'st').
85 .TP
86 .BI \-t " title"
87 defines the window title (default 'st').
88 .TP
89 .BI \-w " windowid"
90 embeds st within the window identified by
91 .I windowid
92 .TP
93 .BI \-l " line"
94 use a tty
95 .I line
96 instead of a pseudo terminal.
97 .I line
98 should be a (pseudo-)serial device (e.g. /dev/ttyS0 on Linux for serial port
99 0).
100 When this flag is given
101 remaining arguments are used as flags for
102 .BR stty(1).
103 By default st initializes the serial line to 8 bits, no parity, 1 stop bit
104 and a 38400 baud rate. The speed is set by appending it as last argument
105 (e.g. 'st -l /dev/ttyS0 115200'). Arguments before the last one are
106 .BR stty(1)
107 flags. If you want to set odd parity on 115200 baud use for example 'st -l
108 /dev/ttyS0 parenb parodd 115200'. Set the number of bits by using for
109 example 'st -l /dev/ttyS0 cs7 115200'. See
110 .BR stty(1)
111 for more arguments and cases.
112 .TP
113 .B \-v
114 prints version information to stderr, then exits.
115 .TP
116 .BI \-e " command " [ " arguments " "... ]"
117 st executes
118 .I command
119 instead of the shell. If this is used it
120 .B must be the last option
121 on the command line, as in xterm / rxvt.
122 This option is only intended for compatibility,
123 and all the remaining arguments are used as a command
124 even without it.
125 .SH SHORTCUTS
126 .TP
127 .B Break
128 Send a break in the serial line.
129 Break key is obtained in PC keyboards
130 pressing at the same time control and pause.
131 .TP
132 .B Ctrl-Print Screen
133 Toggle if st should print to the
134 .I iofile.
135 .TP
136 .B Shift-Print Screen
137 Print the full screen to the
138 .I iofile.
139 .TP
140 .B Print Screen
141 Print the selection to the
142 .I iofile.
143 .TP
144 .B Ctrl-Shift-Page Up
145 Increase font size.
146 .TP
147 .B Ctrl-Shift-Page Down
148 Decrease font size.
149 .TP
150 .B Ctrl-Shift-Home
151 Reset to default font size.
152 .TP
153 .B Ctrl-Shift-y
154 Paste from primary selection (middle mouse button).
155 .TP
156 .B Ctrl-Shift-c
157 Copy the selected text to the clipboard selection.
158 .TP
159 .B Ctrl-Shift-v
160 Paste from the clipboard selection.
161 .SH CUSTOMIZATION
162 .B st
163 can be customized by creating a custom config.h and (re)compiling the source
164 code. This keeps it fast, secure and simple.
165 .SH AUTHORS
166 See the LICENSE file for the authors.
167 .SH LICENSE
168 See the LICENSE file for the terms of redistribution.
169 .SH SEE ALSO
170 .BR tabbed (1),
171 .BR utmp (1),
172 .BR stty (1),
173 .BR scroll (1)
174 .SH BUGS
175 See the TODO file in the distribution.
176
177