]> Zhao Yanbai Git Server - minix.git/commitdiff
tty/pty: change back default CERASE to ^H 83/2783/1
authorDavid van Moolenbroek <david@minix3.org>
Mon, 25 Aug 2014 19:33:27 +0000 (19:33 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 28 Aug 2014 16:28:54 +0000 (16:28 +0000)
Alternatives should be considered (such as changing our keymaps to
better match NetBSD) in due time, but for now, the current default
is incredibly annoying!

Change-Id: I4cab5d6a9f39983ee8aa80362768fdb9cf3db948

sys/sys/ttydefaults.h

index b46391310b45affa062421e8d4831ffbd1bb597f..42c675845968d783b3e8e90d0da41f4fededbb1e 100644 (file)
 #define CTRL(x)        (x&037)
 #define        CEOF            CTRL('d')
 #define        CEOL            ((unsigned char)'\377') /* XXX avoid _POSIX_VDISABLE */
+#if defined(__minix)
+#define        CERASE          CTRL('h')
+#else
 #define        CERASE          0177
+#endif /* defined(__minix) */
 #define        CINTR           CTRL('c')
 #define        CSTATUS         CTRL('t')
 #define        CKILL           CTRL('u')