Fixed backspace and delete so they work properly again -- broken
since 0.44. -Erik
This commit is contained in:
parent
e5cec4e3ac
commit
02bc25be56
@ -29,6 +29,9 @@
|
||||
Matt Kraai <kraai@alumni.carnegiemellon.edu>.
|
||||
* Reorganized signal names in kill.c for better architecture support
|
||||
-- patch thanks to simon wood <simon@mungewell.uklinux.net>
|
||||
* In 0.43, backspace and delete worked properly, but with 0.45,
|
||||
it just echoed a ^? for backspace, and ^H for control-h. This
|
||||
was due to a broken macro in init.c, that is now fixed.
|
||||
|
||||
|
||||
-Erik Andersen
|
||||
|
2
init.c
2
init.c
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user