summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncftp/cmdtab.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-24 01:15:19 +0000
committerache <ache@FreeBSD.org>1994-12-24 01:15:19 +0000
commit9b98551f59193f2b6827c9a2c5a759c79e8f9ea1 (patch)
tree1040552508de23d7e69676af66b08aa0c165c552 /usr.bin/ncftp/cmdtab.c
parent125adadea78fa9b8c887c5cf6f49653c5984691b (diff)
downloadFreeBSD-src-9b98551f59193f2b6827c9a2c5a759c79e8f9ea1.zip
FreeBSD-src-9b98551f59193f2b6827c9a2c5a759c79e8f9ea1.tar.gz
Merging.
v1.9.0 - December 22, 1994. The program won't exit from the interactive shell if it's working from a tty. For example, it won't exit if you do an mget on a pattern that won't match anything. Added padding around jmp_buf's for SunOS. SunOS needs sigjmp_buf's, but plenty of OS's don't support sigjmp_buf's yet. Fixed the tips to reflect the new archive site. v1.8.9 - December 20, 1994. Can now set "passive" user variable, or use passive command to toggle PASV/PORT ftp. Debug mode now prints remote responses. Can now get around buggy FTP servers like boombox.micro.umn.edu, that give back invalid port numbers to PASV. v1.8.8 - December 19, 1994. Now falls back to port FTP if passive FTP fails.
Diffstat (limited to 'usr.bin/ncftp/cmdtab.c')
-rw-r--r--usr.bin/ncftp/cmdtab.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.bin/ncftp/cmdtab.c b/usr.bin/ncftp/cmdtab.c
index d4e161f..86d4a5f 100644
--- a/usr.bin/ncftp/cmdtab.c
+++ b/usr.bin/ncftp/cmdtab.c
@@ -90,10 +90,7 @@ Examples:\n\
#define PAGEHELP "view a file on the remote host with your $PAGER"
#define PAGEUSAGE REMOTEFILE
-#ifdef PASSIVEMODE
#define PASSIVEHELP "enter passive transfer mode"
-#endif
-
#define PDIRUSAGE " [flags] [remote-files]"
@@ -191,9 +188,7 @@ struct cmd cmdtab[] = {
{ "ntrans", 0, 1, unimpl, UNIMPLHELP, UNIMPLUSAGE },
{ "open", 0, 0, cmdOpen, OPENHELP, OPENUSAGE },
{ "p", 1, 1, get, PAGEHELP, PAGEUSAGE },
-#ifdef PASSIVEMODE
{ "passive", 0, 0, setpassive, PASSIVEHELP, EMPTYSTR },
-#endif
{ "page", 1, 0, get, PAGEHELP, PAGEUSAGE },
{ "pdir", 1, 0, ls,
"view a remote directory listing (long mode) with your $PAGER",
OpenPOWER on IntegriCloud