da626f2307
* confirm(): move from util.c to cmds.c. display mnemonic string in its prompt. add support for `q' (terminate current xfer), `?' (show help list) * in various signal handlers, output a linefeed only if fromatty. * if fgets(stdin) returned NULL (i.e, EOF), clearerr(stdin) because you don't want future fgets to fail. this is not done for the fgets() in the main command loop, since ftp will quit at that point. * unless ftp is invoked with -a, don't retain the anonftp setting between hosts (`ftp somehost:' sets anonftp, but you don't want that to `stick' if you close that connection and open a new one). |
||
---|---|---|
.. | ||
cmds.c | ||
cmdtab.c | ||
complete.c | ||
domacro.c | ||
extern.h | ||
fetch.c | ||
ftp_var.h | ||
ftp.1 | ||
ftp.c | ||
main.c | ||
Makefile | ||
ruserpass.c | ||
util.c |