iMaking st.1 more descriptive about -l and fix -l in st.c. - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit aa5d4c3b340d180eb0b375b3b4a923cf91ffb04a /scm/st//commit/aa5d4c3b340d180eb0b375b3b4a923cf91ffb04a.gph gopher.r-36.net 70 1parent 080a5ae4252c9c9a9d83b702d8478966ab79326e /scm/st//commit/080a5ae4252c9c9a9d83b702d8478966ab79326e.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Mon, 7 Sep 2015 22:59:05 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iMaking st.1 more descriptive about -l and fix -l in st.c. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i st.1 | 21 ++++++++++++++++++--- Err gopher.r-36.net 70 i st.c | 2 +- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 19 insertions(+), 4 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/st.1 b/st.1 /scm/st//file/st.1.gph gopher.r-36.net 70 i@@ -89,9 +89,24 @@ embeds st within the window identified by Err gopher.r-36.net 70 i .I windowid Err gopher.r-36.net 70 i .TP Err gopher.r-36.net 70 i .BI \-l " line" Err gopher.r-36.net 70 i-use a tty line instead of a pseudo terminal. Err gopher.r-36.net 70 i-When this flag is used Err gopher.r-36.net 70 i-remaining arguments are used as flags for stty. Err gopher.r-36.net 70 i+use a tty Err gopher.r-36.net 70 i+.I line Err gopher.r-36.net 70 i+instead of a pseudo terminal. Err gopher.r-36.net 70 i+.I line Err gopher.r-36.net 70 i+should be a (pseudo-)serial device (e.g. /dev/ttySO on Linux for serial port Err gopher.r-36.net 70 i+0). Err gopher.r-36.net 70 i+When this flag is given Err gopher.r-36.net 70 i+remaining arguments are used as flags for Err gopher.r-36.net 70 i+.BR stty(1). Err gopher.r-36.net 70 i+By default st initializes the serial line to 8 bits, no parity, 1 stop bit Err gopher.r-36.net 70 i+and a 38400 baud rate. The speed is set by appending it as last argument Err gopher.r-36.net 70 i+(e.g. 'st -l 115200'). Arguments before the last one are Err gopher.r-36.net 70 i+.BR stty(1) Err gopher.r-36.net 70 i+flags. If you want to set odd parity on 115200 baud use for example 'st -l Err gopher.r-36.net 70 i+parenb parodd 115200'. Set the number of bits by using for example 'st -l cs7 Err gopher.r-36.net 70 i+115200'. See Err gopher.r-36.net 70 i+.BR stty(1) Err gopher.r-36.net 70 i+for more arguments and cases. Err gopher.r-36.net 70 i .TP Err gopher.r-36.net 70 i .B \-v Err gopher.r-36.net 70 i prints version information to stderr, then exits. Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -4294,7 +4294,7 @@ usage(void) Err gopher.r-36.net 70 i " [-i] [-t title] [-T title] [-w windowid] [-e command ...]" Err gopher.r-36.net 70 i " [command ...]\n" Err gopher.r-36.net 70 i " st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]\n" Err gopher.r-36.net 70 i- " [-i] [-t title] [-T title] [-w windowid] [-l line]" Err gopher.r-36.net 70 i+ " [-i] [-t title] [-T title] [-w windowid] -l line" Err gopher.r-36.net 70 i " [stty_args ...]\n", Err gopher.r-36.net 70 i argv0); Err gopher.r-36.net 70 i } Err gopher.r-36.net 70 .