Subject: more ftp(1) mods. please test
To: None <current-users@NetBSD.ORG>
From: Luke Mewburn <lukem@connect.com.au>
List: current-users
Date: 03/13/1997 17:51:34
I've fixed a couple more things in ftp, and added a feature or two.
Please test and send-pr any problems with this, preferrably with
enough info so I can attempt to reproduce the problem.

The bugs I've been having the most fun fixing are the remote
completion ones; testing remote completion against ftp servers
other than the standard BSD one would be good!  The trickiest
bug is where most UNIX servers return "//filename" on "nlist /".

Here's the log message from the commit:
===
Features:
* support remglobbing of auto_fetch arguments
* new flag - '-e'; disable editing
* "page file" == "get file |${PAGER-less}"

Bugfixes/cleanup:
* consistently use a trailing '.' on messages
* code cleanup, including buffer overrun fixes, use puts
  and putchar in places, etc (inspired by OpenBSD mods)
* disable progress bar when local-file is a pipe or '-'
* skip \r in http headers
* fix remote ftpd slash bug more elegantly (so it works with ////)
* abort_remote(): check if cout==NULL before using it. should fix [bin/3273]
* fixed up cosmetic problems when complete_remote() generated errors from the
  remote server (such as "no files found", "login with user and pass", ...)
  done by adding extra argument to remglob(), which is a pointer to an error
  buffer to put messages in rather than printing to stdout.