aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tip
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
commita16f65c7d117419bd266c28a1901ef129a337569 (patch)
tree2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /usr.bin/tip
parent8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff)
This commit was manufactured to restore the state of the 1.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/acu.c2
-rw-r--r--usr.bin/tip/cmdtab.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tip/acu.c b/usr.bin/tip/acu.c
index da958b9b75b2..b8f55ec9cbe6 100644
--- a/usr.bin/tip/acu.c
+++ b/usr.bin/tip/acu.c
@@ -116,6 +116,8 @@ connect()
return ("can't open phone number file");
}
while (fgets(string, sizeof(string), fd) != NOSTR) {
+ if(*string == '#')
+ continue;
for (cp = string; !any(*cp, " \t\n"); cp++)
;
if (*cp == '\n') {
diff --git a/usr.bin/tip/cmdtab.c b/usr.bin/tip/cmdtab.c
index 9efa7ba7762d..df0362a2540d 100644
--- a/usr.bin/tip/cmdtab.c
+++ b/usr.bin/tip/cmdtab.c
@@ -45,8 +45,8 @@ esctable_t etable[] = {
{ '!', NORM, "shell", shell },
{ '<', NORM, "receive file from remote host", getfl },
{ '>', NORM, "send file to remote host", sendfile },
- { 't', NORM, "take file from remote UNIX", cu_take },
- { 'p', NORM, "put file to remote UNIX", cu_put },
+ { 't', NORM, "take file from remote UNIX-like system", cu_take },
+ { 'p', NORM, "put file to remote UNIX-like system", cu_put },
{ '|', NORM, "pipe remote file", pipefile },
{ '$', NORM, "pipe local command to remote host", pipeout },
#ifdef CONNECT