minix/commands/ftp101
Gianluca Guida cc17b27a2b Build NetBSD libc library in world in ELF mode.
3 sets of libraries are built now:
  . ack: all libraries that ack can compile (/usr/lib/i386/)
  . clang+elf: all libraries with minix headers (/usr/lib/)
  . clang+elf: all libraries with netbsd headers (/usr/netbsd/)

Once everything can be compiled with netbsd libraries and headers, the
/usr/netbsd hierarchy will be obsolete and its libraries compiled with
netbsd headers will be installed in /usr/lib, and its headers
in /usr/include. (i.e. minix libc and current minix headers set
will be gone.)

To use the NetBSD libc system (libraries + headers) before
it is the default libc, see:
   http://wiki.minix3.org/en/DevelopersGuide/UsingNetBSDCode
This wiki page also documents the maintenance of the patch
files of minix-specific changes to imported NetBSD code.

Changes in this commit:
  . libsys: Add NBSD compilation and create a safe NBSD-based libc.
  . Port rest of libraries (except libddekit) to new header system.
  . Enable compilation of libddekit with new headers.
  . Enable kernel compilation with new headers.
  . Enable drivers compilation with new headers.
  . Port legacy commands to new headers and libc.
  . Port servers to new headers.
  . Add <sys/sigcontext.h> in compat library.
  . Remove dependency file in tree.
  . Enable compilation of common/lib/libc/atomic in libsys
  . Do not generate RCSID strings in libc.
  . Temporarily disable zoneinfo as they are incompatible with NetBSD format
  . obj-nbsd for .gitignore
  . Procfs: use only integer arithmetic. (Antoine Leca)
  . Increase ramdisk size to create NBSD-based images.
  . Remove INCSYMLINKS handling hack.
  . Add nbsd_include/sys/exec_elf.h
  . Enable ELF compilation with NBSD libc.
  . Add 'make nbsdsrc' in tools to download reference NetBSD sources.
  . Automate minix-port.patch creation.
  . Avoid using fstavfs() as it is *extremely* slow and unneeded.
  . Set err() as PRIVATE to avoid name clash with libc.
  . [NBSD] servers/vm: remove compilation warnings.
  . u32 is not a long in NBSD headers.
  . UPDATING info on netbsd hierarchy
  . commands fixes for netbsd libc
2011-06-24 11:46:30 +02:00
..
crc.c Initial revision 2006-06-19 14:55:09 +00:00
file.c Initial revision 2006-06-19 14:55:09 +00:00
file.h Initial revision 2006-06-19 14:55:09 +00:00
ftp.1 Initial revision 2006-06-19 14:55:09 +00:00
ftp.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
ftp.h Initial revision 2006-06-19 14:55:09 +00:00
local.c Initial revision 2006-06-19 14:55:09 +00:00
local.h Initial revision 2006-06-19 14:55:09 +00:00
Makefile Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
net.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
net.h Initial revision 2006-06-19 14:55:09 +00:00
other.c Initial revision 2006-06-19 14:55:09 +00:00
other.h Initial revision 2006-06-19 14:55:09 +00:00
README Initial revision 2006-06-19 14:55:09 +00:00
xfer.c Initial revision 2006-06-19 14:55:09 +00:00
xfer.h Initial revision 2006-06-19 14:55:09 +00:00

ftp101 --- An FTP client program  for Minix 2.0 
written by Michael Temari <Michael@TemWare.Com> release 1.01a 2006-06-07

Full download: <a href="/pub/contrib/ftp101.tar.Z">ftp101.tar.Z</a>

FTP is the File Transfer Protocol client that allows you to connect to
a remote FTP server. 

This version should work equally well with Minix 2 and Minix 3.

Release 1.01a 2006-06-07: minor documentation edits
Release 1.01  2005-02-07: minor bug fix 
Release 1.00  2003-12-14: added "ver" command to display current version 
                          and an ftp(1) man page.

Installation: unpack the tarball, it will create an ftp101 directory. Although
this is a replacement for the ftp client provided in the Minix 2.0.0 and later
distributions, it is suggested you unpack and compile in the /usr/local/src
directory.

zcat < ftp101.tar.Z | tar xvfp -

Invoking make -n will show you what the Makefile will do.

make (or make ftp) compiles a new ftp binary, leaving it in the source
directory.

make install compiles the binary and installs it in /usr/bin.

make installman installs the man page in /usr/local/man/man1. The
directory must exist. 

Note: there is a bug in the version of the ftp client distributed with
Minix 2.0.2 and 2.0.3 that causes a \r (0xd) character to be appended
to file names in the destination directory when files are downloaded in
binary mode using the mget command. The bug was corrected in a release 
prior to 1.00.  

Notes by ASW revised 2006-06-07