aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2015-09-08 10:44:35 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-09-08 10:47:31 +0200
commit473326f2e3115f4b745730be782b2eba63e0934c (patch)
tree34d566ef4cd19255eeecbe7f6ef807d1d7d31ea0 /config.def.h
parentaa5d4c3b340d180eb0b375b3b4a923cf91ffb04a (diff)
downloadst-473326f2e3115f4b745730be782b2eba63e0934c.tar.gz
st-473326f2e3115f4b745730be782b2eba63e0934c.tar.bz2
st-473326f2e3115f4b745730be782b2eba63e0934c.zip
Set default values of stty according to the man page
This configuration is basically 38400 8N1, without echo and in raw mode. Kernel will not process any of the characters sent by the user.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 930e468..11a0c02 100644
--- a/config.def.h
+++ b/config.def.h
@@ -18,7 +18,7 @@ static int borderpx = 2;
*/
static char shell[] = "/bin/sh";
static char *utmp = NULL;
-static char stty_args[] = "stty raw -echo -iexten echonl";
+static char stty_args[] = "stty raw pass8 nl -echo -iexten -cstopb 38400";
/* identification sequence returned in DA and DECID */
static char vtiden[] = "\033[?6c";