diff options
author | mp <mp@FreeBSD.org> | 2009-07-11 05:35:08 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2009-07-11 05:35:08 +0000 |
commit | e5921a6fae9164c5f8ad6bb718db42f3f7a9e455 (patch) | |
tree | b22c970391cc429da340ec007eb76294ea034b89 /contrib/tcsh/sh.file.c | |
parent | 9b2f8ecbb332eb8e16c52d1731de9082d102e68b (diff) | |
parent | 50eaa69b9f8628c1a960d67f9226b2178e1af1cb (diff) | |
download | FreeBSD-src-e5921a6fae9164c5f8ad6bb718db42f3f7a9e455.zip FreeBSD-src-e5921a6fae9164c5f8ad6bb718db42f3f7a9e455.tar.gz |
Update to tcsh 6.17.00.
Approved by: re (kensmith)
Diffstat (limited to 'contrib/tcsh/sh.file.c')
-rw-r--r-- | contrib/tcsh/sh.file.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/contrib/tcsh/sh.file.c b/contrib/tcsh/sh.file.c index 6955358..37e9475 100644 --- a/contrib/tcsh/sh.file.c +++ b/contrib/tcsh/sh.file.c @@ -1,4 +1,4 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/sh.file.c,v 3.35 2006/08/23 15:03:14 christos Exp $ */ +/* $Header: /p/tcsh/cvsroot/tcsh/sh.file.c,v 3.36 2007/07/05 14:13:06 christos Exp $ */ /* * sh.file.c: File completion for csh. This file is not used in tcsh. */ @@ -33,7 +33,7 @@ #include "sh.h" #include "ed.h" -RCSID("$tcsh: sh.file.c,v 3.35 2006/08/23 15:03:14 christos Exp $") +RCSID("$tcsh: sh.file.c,v 3.36 2007/07/05 14:13:06 christos Exp $") #if defined(FILEC) && defined(TIOCSTI) @@ -234,7 +234,11 @@ pushback(const Char *string) (void) ioctl(SHOUT, TCSETAW, (ioctl_t) &tty); # endif /* POSIX */ tty_normal = tty; - tty.c_lflag &= ~(ECHOKE | ECHO | ECHOE | ECHOK | ECHONL | ECHOPRT | ECHOCTL); + tty.c_lflag &= ~(ECHOKE | ECHO | ECHOE | ECHOK | ECHONL | +#ifndef __QNXNTO__ + ECHOPRT | +#endif + ECHOCTL); # ifdef POSIX (void) xtcsetattr(SHOUT, TCSANOW, &tty); # else @@ -390,7 +394,9 @@ retype(void) (void) ioctl(SHOUT, TCGETA, (ioctl_t) &tty); # endif /* POSIX */ +#ifndef __QNXNTO__ tty.c_lflag |= PENDIN; +#endif # ifdef POSIX (void) xtcsetattr(SHOUT, TCSANOW, &tty); |