aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9term/SunOS.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9term/SunOS.c')
-rw-r--r--src/cmd/9term/SunOS.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/cmd/9term/SunOS.c b/src/cmd/9term/SunOS.c
index ac1432de..e0f866ab 100644
--- a/src/cmd/9term/SunOS.c
+++ b/src/cmd/9term/SunOS.c
@@ -78,25 +78,6 @@ isecho(int fd)
}
int
-setecho(int fd, int newe)
-{
- int old;
-
- if(tcgetattr(fd, &ttmode) < 0)
- fprint(2, "tcgetattr: %r\n");
- old = (ttmode.c_lflag&ECHO)==ECHO;
- if(old != newe){
- if(newe)
- ttmode.c_lflag |= ECHO;
- else
- ttmode.c_lflag &= ~ECHO;
- if(tcsetattr(fd, TCSANOW, &ttmode) < 0)
- fprint(2, "tcsetattr: %r\n");
- }
- return old;
-}
-
-int
getintr(int fd)
{
if(tcgetattr(fd, &ttmode) < 0)