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 /config.def.h | |
parent | 56abffb4b67f235d20de30f29ba027ab34c171e3 (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 'config.def.h')
-rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 5e7caaf..bb5596e 100644 --- a/config.def.h +++ b/config.def.h | |||
@@ -9,6 +9,7 @@ static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=fals | |||
9 | static int borderpx = 2; | 9 | static int borderpx = 2; |
10 | static char shell[] = "/bin/sh"; | 10 | static char shell[] = "/bin/sh"; |
11 | static char *utmp = NULL; | 11 | static char *utmp = NULL; |
12 | static char stty_args[] = "stty raw -echo -iexten echonl"; | ||
12 | 13 | ||
13 | /* identification sequence returned in DA and DECID */ | 14 | /* identification sequence returned in DA and DECID */ |
14 | static char vtiden[] = "\033[?6c"; | 15 | static char vtiden[] = "\033[?6c"; |