Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/11/1999 23:05:03
Module Name:	basesrc
Committed By:	lukem
Date:		Tue Oct 12 06:05:03 UTC 1999

Modified Files:
	basesrc/usr.bin/ftp: cmds.c extern.h fetch.c ftp.1 ftp.c main.c util.c

Log Message:
a few user interface and cosmetic tweaks:
* 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).


To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 basesrc/usr.bin/ftp/cmds.c
cvs rdiff -r1.45 -r1.46 basesrc/usr.bin/ftp/extern.h
cvs rdiff -r1.89 -r1.90 basesrc/usr.bin/ftp/fetch.c
cvs rdiff -r1.53 -r1.54 basesrc/usr.bin/ftp/ftp.1
cvs rdiff -r1.83 -r1.84 basesrc/usr.bin/ftp/ftp.c
cvs rdiff -r1.62 -r1.63 basesrc/usr.bin/ftp/main.c
cvs rdiff -r1.76 -r1.77 basesrc/usr.bin/ftp/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.