From 215bdb2da3eca77ba01b70503c527baaad67c359 Mon Sep 17 00:00:00 2001 From: "Roberto E. Vargas Caballero" Date: Mon, 13 Apr 2015 19:03:53 +0200 Subject: 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, ...). --- st.1 | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'st.1') 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. -- cgit v1.2.3-13-gbd6f