]> git.armaanb.net Git - st.git/commitdiff
Set default values of stty according to the man page
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 8 Sep 2015 08:44:35 +0000 (10:44 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 8 Sep 2015 08:47:31 +0000 (10:47 +0200)
This configuration is basically 38400 8N1, without echo and
in raw mode. Kernel will not process any of the characters
sent by the user.

config.def.h

index 930e4688e82b545381738bff9084daa1e30a0cfb..11a0c02ffa9913c745d6786c63a9e81a02168dc7 100644 (file)
@@ -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";