summaryrefslogtreecommitdiff
path: root/st.1
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-13 19:03:53 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-15 10:52:44 +0200
commit215bdb2da3eca77ba01b70503c527baaad67c359 (patch)
treed3d8ea65fb4496e9a26ebc55a898bc34ca37e5a8 /st.1
parent56abffb4b67f235d20de30f29ba027ab34c171e3 (diff)
Add tty line support
Not always is desirable to create a pseudo terminal, and some times we want to open a terminal emulator over a tty line. With this new patch is possible to do someting like: $ st -l /dev/ttyS0 115200 Without this option was needed to launch another terminal emulator over st (for example minicom, picocom, cu, ...).
Diffstat (limited to 'st.1')
-rw-r--r--st.137
1 files changed, 36 insertions, 1 deletions
diff --git a/st.1 b/st.1
index a9fec15..9548c1a 100644
--- a/st.1
+++ b/st.1
@@ -15,11 +15,36 @@ st \- simple terminal
.IR file ]
.RB [ \-t
.IR title ]
+.RB [ \-l
+.IR line ]
.RB [ \-w
.IR windowid ]
.RB [ \-v ]
.RB [ \-e
.IR command ...]
+.RI [ commands ...]
+.PP
+.B st
+.RB [ \-a ]
+.RB [ \-c
+.IR class ]
+.RB [ \-f
+.IR font ]
+.RB [ \-g
+.IR geometry ]
+.RB [ \-i ]
+.RB [ \-o
+.IR file ]
+.RB [ \-t
+.IR title ]
+.RB [ \-l
+.IR line ]
+.RB [ \-w
+.IR windowid ]
+.RB [ \-v ]
+.RB [ \-l
+.IR line ]
+.RI [ stty_args ...]
.SH DESCRIPTION
.B st
is a simple terminal emulator.
@@ -58,6 +83,11 @@ defines the window title (default 'st').
embeds st within the window identified by
.I windowid
.TP
+.BI \-l " line"
+use a tty line instead of a pseudo terminal.
+When this flag is used
+remaining arguments are used as flags for stty.
+.TP
.B \-v
prints version information to stderr, then exits.
.TP
@@ -67,6 +97,9 @@ st executes
instead of the shell. If this is used it
.B must be the last option
on the command line, as in xterm / rxvt.
+This option is only intended for compability,
+and all the remaining arguments are used as a command
+even without it.
.SH SHORTCUTS
.TP
.B Ctrl-Print Screen
@@ -110,7 +143,9 @@ See the LICENSE file for the authors.
.SH LICENSE
See the LICENSE file for the terms of redistribution.
.SH SEE ALSO
-.BR tabbed (1)
+.BR tabbed (1),
+.BR utmp (1),
+.BR stty (1)
.SH BUGS
See the TODO file in the distribution.