From 5241ed2bc2c0a0553c75b628d16d3b588cdee685 Mon Sep 17 00:00:00 2001 From: wkj Date: Sat, 3 Jul 2004 17:48:02 +0000 Subject: Placate the Sun monster. --- src/cmd/9term/SunOS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/9term') 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 -- cgit v1.2.3