Placate the Sun monster.

This commit is contained in:
wkj 2004-07-03 17:48:02 +00:00
parent 13afc7e57c
commit 5241ed2bc2
4 changed files with 26 additions and 6 deletions

View file

@ -67,7 +67,7 @@ isecho(int fd)
if(debug) fprint(2, "israw %c%c\n",
ttmode.c_lflag&ICANON ? 'c' : '-',
ttmode.c_lflag&ECHO ? 'e' : '-');
return (ttmode.c_lflag&(ICANON|ECHO));
return (ttmode.c_lflag&ICANON && ttmode.c_lflags&ECHO);
}
int