projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
657a78e
)
Back out removing 'Escape ...' if VDISABLE,
author
Andrey Chernov
<ache@FreeBSD.org>
Tue, 14 Jun 1994 10:47:57 +0000
(10:47 +0000)
committer
Andrey Chernov
<ache@FreeBSD.org>
Tue, 14 Jun 1994 10:47:57 +0000
(10:47 +0000)
breaks tradition
usr.bin/telnet/commands.c
patch
|
blob
|
blame
|
history
diff --git
a/usr.bin/telnet/commands.c
b/usr.bin/telnet/commands.c
index
4757d78
..
d14a448
100644
(file)
--- a/
usr.bin/telnet/commands.c
+++ b/
usr.bin/telnet/commands.c
@@
-1320,7
+1320,7
@@
setescape(argc, argv)
}
if (arg[0] != '\0')
escape = arg[0];
}
if (arg[0] != '\0')
escape = arg[0];
- if (!In3270
&& escape != _POSIX_VDISABLE
) {
+ if (!In3270) {
printf("Escape character is '%s'.\n", control(escape));
}
(void) fflush(stdout);
printf("Escape character is '%s'.\n", control(escape));
}
(void) fflush(stdout);
@@
-2084,12
+2084,10
@@
status(argc, argv)
printf("No connection.\n");
}
# if !defined(TN3270)
printf("No connection.\n");
}
# if !defined(TN3270)
- if (escape != _POSIX_VDISABLE)
printf("Escape character is '%s'.\n", control(escape));
(void) fflush(stdout);
# else /* !defined(TN3270) */
printf("Escape character is '%s'.\n", control(escape));
(void) fflush(stdout);
# else /* !defined(TN3270) */
- if ((!In3270) && escape != _POSIX_VDISABLE
- && ((argc < 2) || strcmp(argv[1], "notmuch"))) {
+ if ((!In3270) && ((argc < 2) || strcmp(argv[1], "notmuch"))) {
printf("Escape character is '%s'.\n", control(escape));
}
# if defined(unix)
printf("Escape character is '%s'.\n", control(escape));
}
# if defined(unix)