diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-04-13 19:03:53 +0200 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-04-15 10:52:44 +0200 |
| commit | 215bdb2da3eca77ba01b70503c527baaad67c359 (patch) | |
| tree | d3d8ea65fb4496e9a26ebc55a898bc34ca37e5a8 /st.1 | |
| parent | Fix memmove() invocation with src/dst being NULL (diff) | |
| download | st-215bdb2da3eca77ba01b70503c527baaad67c359.tar.gz st-215bdb2da3eca77ba01b70503c527baaad67c359.zip | |
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 '')
| -rw-r--r-- | st.1 | 37 |
1 files changed, 36 insertions, 1 deletions
| @@ -15,11 +15,36 @@ st \- simple terminal | |||
| 15 | .IR file ] | 15 | .IR file ] |
| 16 | .RB [ \-t | 16 | .RB [ \-t |
| 17 | .IR title ] | 17 | .IR title ] |
| 18 | .RB [ \-l | ||
| 19 | .IR line ] | ||
| 18 | .RB [ \-w | 20 | .RB [ \-w |
| 19 | .IR windowid ] | 21 | .IR windowid ] |
| 20 | .RB [ \-v ] | 22 | .RB [ \-v ] |
| 21 | .RB [ \-e | 23 | .RB [ \-e |
| 22 | .IR command ...] | 24 | .IR command ...] |
| 25 | .RI [ commands ...] | ||
| 26 | .PP | ||
| 27 | .B st | ||
| 28 | .RB [ \-a ] | ||
| 29 | .RB [ \-c | ||
| 30 | .IR class ] | ||
| 31 | .RB [ \-f | ||
| 32 | .IR font ] | ||
| 33 | .RB [ \-g | ||
| 34 | .IR geometry ] | ||
| 35 | .RB [ \-i ] | ||
| 36 | .RB [ \-o | ||
| 37 | .IR file ] | ||
| 38 | .RB [ \-t | ||
| 39 | .IR title ] | ||
| 40 | .RB [ \-l | ||
| 41 | .IR line ] | ||
| 42 | .RB [ \-w | ||
| 43 | .IR windowid ] | ||
| 44 | .RB [ \-v ] | ||
| 45 | .RB [ \-l | ||
| 46 | .IR line ] | ||
| 47 | .RI [ stty_args ...] | ||
| 23 | .SH DESCRIPTION | 48 | .SH DESCRIPTION |
| 24 | .B st | 49 | .B st |
| 25 | is a simple terminal emulator. | 50 | is a simple terminal emulator. |
| @@ -58,6 +83,11 @@ defines the window title (default 'st'). | |||
| 58 | embeds st within the window identified by | 83 | embeds st within the window identified by |
| 59 | .I windowid | 84 | .I windowid |
| 60 | .TP | 85 | .TP |
| 86 | .BI \-l " line" | ||
| 87 | use a tty line instead of a pseudo terminal. | ||
| 88 | When this flag is used | ||
| 89 | remaining arguments are used as flags for stty. | ||
| 90 | .TP | ||
| 61 | .B \-v | 91 | .B \-v |
| 62 | prints version information to stderr, then exits. | 92 | prints version information to stderr, then exits. |
| 63 | .TP | 93 | .TP |
| @@ -67,6 +97,9 @@ st executes | |||
| 67 | instead of the shell. If this is used it | 97 | instead of the shell. If this is used it |
| 68 | .B must be the last option | 98 | .B must be the last option |
| 69 | on the command line, as in xterm / rxvt. | 99 | on the command line, as in xterm / rxvt. |
| 100 | This option is only intended for compability, | ||
| 101 | and all the remaining arguments are used as a command | ||
| 102 | even without it. | ||
| 70 | .SH SHORTCUTS | 103 | .SH SHORTCUTS |
| 71 | .TP | 104 | .TP |
| 72 | .B Ctrl-Print Screen | 105 | .B Ctrl-Print Screen |
| @@ -110,7 +143,9 @@ See the LICENSE file for the authors. | |||
| 110 | .SH LICENSE | 143 | .SH LICENSE |
| 111 | See the LICENSE file for the terms of redistribution. | 144 | See the LICENSE file for the terms of redistribution. |
| 112 | .SH SEE ALSO | 145 | .SH SEE ALSO |
| 113 | .BR tabbed (1) | 146 | .BR tabbed (1), |
| 147 | .BR utmp (1), | ||
| 148 | .BR stty (1) | ||
| 114 | .SH BUGS | 149 | .SH BUGS |
| 115 | See the TODO file in the distribution. | 150 | See the TODO file in the distribution. |
| 116 | 151 | ||
