diff options
author | pst <pst@FreeBSD.org> | 1997-12-13 20:38:21 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-12-13 20:38:21 +0000 |
commit | 5ff5a36e72d385d6aeacd844c482b8045dbc147d (patch) | |
tree | efc37af8df64054bcc13f979ffbae7a4303972f1 /usr.bin/ftp/cmdtab.c | |
parent | 7f8db0dd299e62df2aa8f56158134d1af1cbbcce (diff) | |
download | FreeBSD-src-5ff5a36e72d385d6aeacd844c482b8045dbc147d.zip FreeBSD-src-5ff5a36e72d385d6aeacd844c482b8045dbc147d.tar.gz |
Sync with NetBSD v1.3.
Keep I8N1 and quarantine port code. Replace our security fix with NetBSD's
(their idea was better).
Diffstat (limited to 'usr.bin/ftp/cmdtab.c')
-rw-r--r-- | usr.bin/ftp/cmdtab.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/ftp/cmdtab.c b/usr.bin/ftp/cmdtab.c index f67eeb0..37920e7 100644 --- a/usr.bin/ftp/cmdtab.c +++ b/usr.bin/ftp/cmdtab.c @@ -1,5 +1,5 @@ -/* $Id$ */ -/* $NetBSD: cmdtab.c,v 1.15 1997/04/05 03:27:33 lukem Exp $ */ +/* $Id$ */ +/* $NetBSD: cmdtab.c,v 1.17 1997/08/18 10:20:17 lukem Exp $ */ /* * Copyright (c) 1985, 1989, 1993, 1994 @@ -34,11 +34,13 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94"; #else -static char rcsid[] = "$Id$"; +__RCSID("$Id$"); +__RCSID_SOURCE("$NetBSD: cmdtab.c,v 1.17 1997/08/18 10:20:17 lukem Exp $"); #endif #endif /* not lint */ @@ -69,6 +71,7 @@ char domachelp[] = "execute macro"; char edithelp[] = "toggle command line editing"; #endif /* !SMALL */ char formhelp[] = "set file transfer format"; +char gatehelp[] = "toggle gate-ftp; specify host[:port] to change proxy"; char globhelp[] = "toggle metacharacter expansion of local file names"; char hashhelp[] = "toggle printing `#' marks; specify number to set size"; char helphelp[] = "print local help information"; @@ -161,6 +164,7 @@ struct cmd cmdtab[] = { { "form", formhelp, 0, 1, 1, CMPL0 setform }, { "ftp", connecthelp, 0, 0, 1, CMPL0 setpeer }, { "get", receivehelp, 1, 1, 1, CMPL(rl) get }, + { "gate", gatehelp, 0, 0, 0, CMPL0 setgate }, { "glob", globhelp, 0, 0, 0, CMPL0 setglob }, { "hash", hashhelp, 0, 0, 0, CMPL0 sethash }, { "help", helphelp, 0, 0, 1, CMPL(C) help }, |