[hackers] [st] Set default values of stty according to the man page || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 8 Sep 2015 10:48:38 +0200 (CEST)

commit 473326f2e3115f4b745730be782b2eba63e0934c
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Sep 8 10:44:35 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Sep 8 10:47:31 2015 +0200

    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.

diff --git a/config.def.h b/config.def.h
index 930e468..11a0c02 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -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";
Received on Tue Sep 08 2015 - 10:48:38 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 08 2015 - 11:00:12 CEST