aboutsummaryrefslogtreecommitdiff
path: root/shells/44bsd-csh
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2011-07-05 13:34:43 +0000
committerCy Schubert <cy@FreeBSD.org>2011-07-05 13:34:43 +0000
commit335a7ae799944ed82837edad89dd13ef510ccaf3 (patch)
tree14aaab6e207ffae69b2ff199665b2e61570a1c8b /shells/44bsd-csh
parent4408259a685abb656dc35ddabe2e90a4d5fdea7a (diff)
downloadports-335a7ae799944ed82837edad89dd13ef510ccaf3.tar.gz
ports-335a7ae799944ed82837edad89dd13ef510ccaf3.zip
Notes
Diffstat (limited to 'shells/44bsd-csh')
-rw-r--r--shells/44bsd-csh/files/patch-file.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/shells/44bsd-csh/files/patch-file.c b/shells/44bsd-csh/files/patch-file.c
index 1c3344b0d554..ffd734ffa2e1 100644
--- a/shells/44bsd-csh/files/patch-file.c
+++ b/shells/44bsd-csh/files/patch-file.c
@@ -1,5 +1,5 @@
---- file.c.orig 2011-07-04 06:54:10.348798410 -0700
-+++ file.c 2011-07-04 16:23:57.199132280 -0700
+--- file.c.orig 2011-07-05 06:22:52.572441868 -0700
++++ file.c 2011-07-05 06:25:04.233646750 -0700
@@ -82,7 +82,7 @@
static void setup_tty __P((int));
@@ -20,16 +20,18 @@
{
Char *p;
struct termios tty, tty_normal;
-@@ -168,6 +169,8 @@
+@@ -168,6 +169,10 @@
(void) tcgetattr(SHOUT, &tty);
tty_normal = tty;
tty.c_lflag &= ~(ECHOKE | ECHO | ECHOE | ECHOK | ECHONL | ECHOPRT | ECHOCTL);
++#if __FreeBSD_version >= 800000
+ if (list == LIST)
+ tty.c_lflag |= ECHO;
++#endif
(void) tcsetattr(SHOUT, TCSANOW, &tty);
for (p = string; (c = *p) != '\0'; p++)
-@@ -660,7 +663,7 @@
+@@ -660,7 +665,7 @@
should_retype = TRUE;
if (should_retype)
printprompt();