version 1.16, 1997/03/14 04:32:12 |
version 1.17, 1997/03/21 20:59:26 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* $NetBSD: cmds.c,v 1.19 1997/03/13 06:23:11 lukem Exp $ */ |
/* $NetBSD: cmds.c,v 1.21 1997/03/16 14:24:14 lukem Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1985, 1989, 1993, 1994 |
* Copyright (c) 1985, 1989, 1993, 1994 |
|
|
printf("Hash mark printing: %s; Mark count: %d; Progress bar: %s.\n", |
printf("Hash mark printing: %s; Mark count: %d; Progress bar: %s.\n", |
onoff(hash), mark, onoff(progress)); |
onoff(hash), mark, onoff(progress)); |
printf("Use of PORT cmds: %s.\n", onoff(sendport)); |
printf("Use of PORT cmds: %s.\n", onoff(sendport)); |
#ifndef SMALLFTP |
#ifndef SMALL |
printf("Command line editing: %s.\n", onoff(editing)); |
printf("Command line editing: %s.\n", onoff(editing)); |
#endif /* !SMALLFTP */ |
#endif /* !SMALL */ |
if (macnum > 0) { |
if (macnum > 0) { |
puts("Macros:"); |
puts("Macros:"); |
for (i=0; i<macnum; i++) { |
for (i=0; i<macnum; i++) { |
|
|
code = togglevar(argc, argv, &bell, "Bell mode"); |
code = togglevar(argc, argv, &bell, "Bell mode"); |
} |
} |
|
|
#ifndef SMALLFTP |
#ifndef SMALL |
/* |
/* |
* Set command line editing |
* Set command line editing |
*/ |
*/ |
|
|
|
|
code = togglevar(argc, argv, &editing, "Editing mode"); |
code = togglevar(argc, argv, &editing, "Editing mode"); |
} |
} |
#endif /* !SMALLFTP */ |
#endif /* !SMALL */ |
|
|
/* |
/* |
* Turn on packet tracing. |
* Turn on packet tracing. |