This directory contains the source to xftp/mftp/oftp 1.1 a
Athena (xftp) or Motif (mftp) or Open LOOK (oftp) interface to ftp.

To install edit xftp.config and choose the desired compile time options.

 Ultirx with Motif installed in /usr/lib/DXM (mftp version):
  Define USE_MOTIF in xftp.config.
  If you have Motif 1.1 installed in /usr/lib/DXM, you need only run
  the "make_ultrix.sh" shell script.  This will build the motif
  version,  mftp, of xftp/mftp/oftp. You should be able to do a "make install"
  after the make script is finished.

 SunOS 4.1.2 with Openwindows 2.1 (xftp version):
  Define USE_XAW in xftp.config.
  Define the shell variable OPENWINHOME to the Openwindow 2.1 directory,
  if it ss not installed in  /usr/openwin, and then run the
  "make_openwin.sh" shell script.  This will build the Athena version,
  xftp, of xftp/mftp/oftp.  You should be able to do a "make install"
  after the make script is finished.

 SunOS 4.1.2 with Openwindows 2.1 (oftp version):
  Define USE_OPENWINDOW in xftp.config.
  Define the shell variable OPENWINHOME to the Openwindow 2.1 directory,
  if it not installed in the default place /usr/openwin, and then run the
  "make_openwin.sh" shell script.  This will build the Open Look version,
  oftp, of xftp/mftp/oftp.  You should be able to do a "make install"
  after the make script is finished.

 Solaris 2.1 with Openwindows 3.0 (xftp version):
  Define USE_XAW in xftp.config.
  You can now use /opt/SUNWspro/bin/cc or /usr/ucb/cc.
  Define the shell variable OPENWINHOME to the Openwindow 3.0 directory,
  if it iss not installed in  /usr/openwin, and then run the
  "make_solaris_openwin.sh" shell script.  This will build the Athena version,
  xftp, of xftp/mftp/oftp.  You should be able to do a "make install"
  after the make script is finished.  You wil have to set the LD_PATH to
  include $OPENWINHOME/lib before you can run xftp.

 Solaris 2.1 with Openwindows 3.0 (oftp version):
  Define USE_OPENWINDOW in xftp.config.
  You can now use /opt/SUNWspro/bin/cc or /usr/ucb/cc.
  Define the shell variable OPENWINHOME to the Openwindow 3.0 directory,
  if it not installed in the default place /usr/openwin, and then run the
  "make_solaris_openwin.sh" shell script.  This will build the Open Look 
  version, oftp, of xftp/mftp/oftp.  You should be able to do a "make install"
  after the make script is finished. You wil have to set the LD_PATH to
  include $OPENWINHOME/lib.

 Aix 3.2 with the installed motif libraries directions:
  Define USE_MOTIF in xftp.config.
  Run the  "make_aix3.2.sh" script.  This will build the motif
  version, mftp, of xftp/mftp/oftp.  You should be able to do a "make install"
  after the make script is finished.

 HP-UX 8.X with installed motif libraries:
  Define USE_MOTIF in xftp.config.
  Run the  "make_hp_motif_1.sh" script.  This will build the motif
  version, mftp, of xftp/mftp/oftp.  You should be able to do a "make install"
  after the make script is finished.

 HP-UX 9.X with installed motif libraries:
  Define USE_MOTIF in xftp.config.
  Run the  "make_hp_motif_2.sh" script.  This will try to build a motif
  version, mftp, of xftp/mftp/oftp.  It might compile but will proably
  not run correctly.  If anyone gets it to work on HP-UX 9.X please send me
  a patch file! 

 UNICOS 6.1.6 with installed Athena libraries 
  Define USE_xaw in xftp.config.
  Run the  "/usr/bin/X11/xmkmf" then type "make World". This will build the 
  Athena version, xftp, of xftp/mftp/oftp.  
  You should be able to do a "make install" after the make script is finished.
  If you choose to use pty instead of the ftp program included in this
  package then you will also need to install fixpty before running xftp.

 Convex Os 10.1 With installed Athena libraries
   Define USE_XAW in xftp.config.
   Run the  "/usr/bin/X11/xmkmf" then type "make World". This will build the 
   Athena version, xftp, of xftp/mftp/oftp.

 Convex Os 10.1 with installed motif libraries
   Define USE_MOTIF in xftp.config.
   Run the  "/usr/bin/X11/xmkmf" then type "make World". This will build the 
   motif version, mftp, of xftp/mftp/oftp.

 IRIX System V.3 With installed Athena libraries
   Define USE_XAW in xftp.config.
   Run the  "/usr/bin/X11/xmkmf" then type "make World". This will build the 
   Athena version, xftp, of xftp/mftp/oftp.

 IRIX System V.3 with installed motif libraries
   Define USE_MOTIF in xftp.config.
   Run the  "/usr/bin/X11/xmkmf" then type "make World". This will build the 
   motif version, mftp, of xftp/mftp/oftp.

If you have a properly configured xmkmf you should be able to type "xmkmf" and 
then "make World" after choosing which version xftp or mftp 
of xftp/mftp/oftp the you whish to build.
 
You will need perl if you plan to update the resource files or help text.

You must use ftp_for_xftp if you do not select the USE_PTY option in the
xftp.config file.  If you are running Unicos 6.1.x you will need to to 
install fixpty if you select the PTY option.  You can define the shell 
variable FTP to point to ftp_for_xftp.  If you start xftp/mftp/oftp in the 
source directory it will find ftp_for_xftp if it is not already installed.

If you have already installed a older version of xftp/mftp you may need
to add the "-debug" parameter on xftp/mftp/oftp to test it out before you
install it.

I have build this version of xftp/mftp under:

  Ulitrx with installed motif in /usr/lib/DXM    (mftp version)
  SunOS 4.1.2 with installed Athena libraries    (xftp version)
    supplied with Openwindows 2.1.
  SunOS 5.1 with installed Athena libraries      (xftp version)
    supplied with Openwindows 3.0.
  SunOS 5.1 with installed Open Look libraries   (oftp version)
    supplied with Openwindows 2.0.
  SunOS 4.1.2 with installed Open Look libraries (oftp version)
    supplied with Openwindows 3.0.
  SunOS with X11R5.                              (xftp version)
  SunOS with X11R5 and Motif 1.1.4               (mftp version)
  Unicos 6.1.6 with installed X11R4 and X11R5    (xftp version)
  Unicos 6.1.6 with motif 1.2                    (mftp version)
  Aix 3.2.2 with X11R5                           (xftp version)
  Aix 3.2.2 with installed motif                 (mftp version)
  IRIX with installed X11R4 libraries            (xftp version)
  IRIX with installed  motif libraries           (mftp version)
  Convex OS with installed motif                 (mftp version)
  Convex OS with installed Athena libraris       (xftp version)

Please read the disclaimer in the copywriter.

Send any gripes or suggestions to jones@chpc.utexas.edu

Bill Jones
