tty/pty: change back default CERASE to ^H
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: I96c34467acb16c0d175dd8c760d62e659bfb8399
This commit is contained in:
parent
cd34841de5
commit
e2fcf09901
|
|
@ -61,7 +61,11 @@
|
||||||
#define CTRL(x) (x&037)
|
#define CTRL(x) (x&037)
|
||||||
#define CEOF CTRL('d')
|
#define CEOF CTRL('d')
|
||||||
#define CEOL ((unsigned char)'\377') /* XXX avoid _POSIX_VDISABLE */
|
#define CEOL ((unsigned char)'\377') /* XXX avoid _POSIX_VDISABLE */
|
||||||
|
#if defined(__minix)
|
||||||
|
#define CERASE CTRL('h')
|
||||||
|
#else
|
||||||
#define CERASE 0177
|
#define CERASE 0177
|
||||||
|
#endif /* defined(__minix) */
|
||||||
#define CINTR CTRL('c')
|
#define CINTR CTRL('c')
|
||||||
#define CSTATUS CTRL('t')
|
#define CSTATUS CTRL('t')
|
||||||
#define CKILL CTRL('u')
|
#define CKILL CTRL('u')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user