From 6076cfe05b127c4be828d26ffc5b32a735777d45 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 7 Mar 1994 23:28:09 +0000 Subject: [PATCH] i'm surprised this ever worked right before... --- bin/csh/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/csh/file.c b/bin/csh/file.c index ccbf9cb196b6..67aafe26f883 100644 --- a/bin/csh/file.c +++ b/bin/csh/file.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)file.c 5.17 (Berkeley) 6/8/91";*/ -static char rcsid[] = "$Id: file.c,v 1.4 1993/08/01 19:00:45 mycroft Exp $"; +static char rcsid[] = "$Id: file.c,v 1.5 1994/03/07 23:28:09 cgd Exp $"; #endif /* not lint */ #ifdef FILEC @@ -122,6 +122,7 @@ setup_tty(on) (void) tcsetattr(SHIN, on, &tchars); } else { + (void) tcgetattr(SHIN, &tchars); tchars.c_cc[VEOL] = _POSIX_VDISABLE; (void) tcsetattr(SHIN, TCSANOW, &tchars); }