diff options
author | wkj <devnull@localhost> | 2004-07-03 17:48:02 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-07-03 17:48:02 +0000 |
commit | 5241ed2bc2c0a0553c75b628d16d3b588cdee685 (patch) | |
tree | 4cc67cab95483522941582fce328978a985a3517 /src/cmd/9term | |
parent | 13afc7e57c2dd8001f23a8875719d57db2a8633c (diff) | |
download | plan9port-5241ed2bc2c0a0553c75b628d16d3b588cdee685.tar.gz plan9port-5241ed2bc2c0a0553c75b628d16d3b588cdee685.tar.bz2 plan9port-5241ed2bc2c0a0553c75b628d16d3b588cdee685.zip |
Placate the Sun monster.
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/SunOS.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/SunOS.c b/src/cmd/9term/SunOS.c index 12f64b85..4c85918e 100644 --- a/src/cmd/9term/SunOS.c +++ b/src/cmd/9term/SunOS.c @@ -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 |