README file for readline patches to 4.3BSD-Reno ftp.

Last modified:  Mon Jan 14 22:13:35 1991.

These patches were put together by

  John W. Eaton
  jwe@che.utexas.edu
  Department of Chemical Engineering
  The University of Texas at Austin

and are based on the 4.3BSD-Reno version of ftp, available via
anonymous ftp from uunet.uu.net (137.39.1.2) in the directory
bsd-sources/usr.bin/ftp.

The extra code included in this distribution comes from the following
sources:

fileblocks.c, fileblocks.h:

	GNU fileutils-1.4	anonymous ftp from prep.ai.mit.edu

getpass.c:

	Clyde Hoover's npasswd	anonymous ftp from emx.utexas.edu

herror.c, paths.h, and strerror.c:

	4.3BSD-Reno sources	anonymous ftp from uunet.uu.net

history.c, writev.c:

	John Eaton with help from GNU bash sources.


Because these patches are derived from GNU source, I suppose that the
GNU General Public License must apply.  Take a look at the file
COPYING in this directory.

INSTALLATION TIPS:

0a. Get the 4.3BSD ftp sources, available from uunet.uu.net.

0b. Obtain a working copy of the GNU readline library, either from the
    bash or gdb sources, available from prep.ai.mit.edu.

1.  Edit the Makefile that's supplied with the patches.  See the
    comments there for what to do.

2.  Edit the file paths.h to match your system.  This is not terribly
    critical.

3.  Apply the patches from the file Readline.patches.  If you don't
    have patch(1), you could do this by hand.  I'd recommend getting
    patch, though :-).

4.  Type `make'.  Once you have a working version, try it out.  If it 
    seems to work and you like it, type `make install'


By default, I don't install the man page from the Berkeley sources
because the man macros used in ftp.1 are much different than the ones
from the man macros I have on the systems I use.

Here's a quick list of changes:

ftp has command line history.  emacs style editing is the default.

By default, up to 100 previous commands are read from the file
~/.ftp_history to prime the history list.  The file name and number of
commands to save can be changed using the environment variables
FTPHISTFILE and FTPHISTSIZE.  You can inhibit the use of the history
file with the -q option.

Finally, I can't guarantee fixes for bugs, but if you do find any, I'd
appreciate hearing about them.

Enjoy,

jwe
