aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2015-04-13 19:03:53 +0200
committerGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2015-04-15 10:52:44 +0200
commit215bdb2da3eca77ba01b70503c527baaad67c359 (patch)
treed3d8ea65fb4496e9a26ebc55a898bc34ca37e5a8 /config.def.h
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 'config.def.h')
-rw-r--r--config.def.h1
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
static int borderpx = 2;
static char shell[] = "/bin/sh";
static char *utmp = NULL;
+static char stty_args[] = "stty raw -echo -iexten echonl";
/* identification sequence returned in DA and DECID */
static char vtiden[] = "\033[?6c";