=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/tty.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/mail/tty.c 1997/07/30 06:32:41 1.8 +++ src/usr.bin/mail/tty.c 1997/07/31 17:55:16 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.8 1997/07/30 06:32:41 millert Exp $ */ +/* $OpenBSD: tty.c,v 1.9 1997/07/31 17:55:16 millert Exp $ */ /* $NetBSD: tty.c,v 1.7 1997/07/09 05:25:46 mikel Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)tty.c 8.2 (Berkeley) 4/20/95"; #else -static char rcsid[] = "$OpenBSD: tty.c,v 1.8 1997/07/30 06:32:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: tty.c,v 1.9 1997/07/31 17:55:16 millert Exp $"; #endif #endif /* not lint */ @@ -73,8 +73,6 @@ sig_t saveint; #ifndef TIOCSTI sig_t savequit; -#else - int extproc, flag; #endif sig_t savetstp; sig_t savettou; @@ -82,9 +80,6 @@ int errs = 0; #ifdef __GNUC__ /* Avoid siglongjmp clobbering */ -#ifdef TIOCSTI - (void)&extproc; -#endif (void)&saveint; (void)&errs; #endif @@ -110,14 +105,6 @@ if ((savequit = signal(SIGQUIT, SIG_IGN)) == SIG_DFL) (void)signal(SIGQUIT, SIG_DFL); #else -# ifdef TIOCEXT - extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0); - if (extproc) { - flag = 0; - if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0) - warn("TIOCEXT: off"); - } -# endif /* TIOCEXT */ if (sigsetjmp(intjmp, 1)) { errs = SIGINT; goto out; @@ -165,14 +152,6 @@ if (ttyset) tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf); (void)signal(SIGQUIT, savequit); -#else -# ifdef TIOCEXT - if (extproc) { - flag = 1; - if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0) - warn("TIOCEXT: on"); - } -# endif /* TIOCEXT */ #endif (void)signal(SIGINT, saveint); return(errs);