e50ba7ea8f
We need not wait for a while any longer after pressing ESC or ^D. Problem description: If a user types characters during performing completion (ESC) or listings (^D), the chars are inserted at weird position of the command line. This makes the command line unusable and irritates the user. I noticed this on 386BSD(98), probably six years ago. This change fixes the bug by implementing salvage of the characters. The salvaged chars are added at the end of the command line. An extra ioctl(FIONREAD) is required to work-around a glitch on kernel tty driver. |
||
---|---|---|
.. | ||
USD.doc | ||
Makefile | ||
alloc.c | ||
char.c | ||
char.h | ||
const.c | ||
csh.1 | ||
csh.c | ||
csh.h | ||
dir.c | ||
dir.h | ||
dol.c | ||
err.c | ||
exec.c | ||
exp.c | ||
extern.h | ||
file.c | ||
func.c | ||
glob.c | ||
hist.c | ||
init.c | ||
lex.c | ||
misc.c | ||
parse.c | ||
pathnames.h | ||
proc.c | ||
proc.h | ||
sem.c | ||
set.c | ||
str.c | ||
strpct.c | ||
time.c |