diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-06 21:29:32 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-06 21:29:32 +0000 |
commit | 02bc25be56606b3a6c66225687f848f8968a5dff (patch) | |
tree | 51ce772612a78c6698c04b57c4b292c06ff256bf /init.c | |
parent | e5cec4e3ac31ec32fd8a39287155374ea2283518 (diff) |
Fixed backspace and delete so they work properly again -- broken
since 0.44.
-Erik
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -224,7 +224,7 @@ static void message(int device, char *fmt, ...) } } -#define CTRLCHAR(ch) ((ch)&0x1f) +#define CTRLCHAR(ch) ((ch)-0x40) /* Set terminal settings to reasonable defaults */ void set_term(int fd) @@ -242,7 +242,7 @@ void set_term(int fd) tty.c_cc[VSTART] = CTRLCHAR('Q'); /* Ctrl-Q */ tty.c_cc[VSTOP] = CTRLCHAR('S'); /* Ctrl-S */ tty.c_cc[VSUSP] = CTRLCHAR('Z'); /* Ctrl-Z */ - + /* use line dicipline 0 */ tty.c_line = 0; |