I have uploaded efax version 0.7 to sunsite.unc.edu. This is a
program that lets you send and receive faxes using a Class 1 or 2
fax modem. It is available at /pub/Linux/Incoming/efax07.tar.z.
The changes from the previous version are described in the README
file that is appended below.
This is the README file for version 0.7 of efax, a program to
send and receive faxes using any Class 1 or Class 2 fax modem.
efax is a relatively small ANSI C/POSIX program that provides the
data transport function for fax applications. A simple shell
script (``fax'') is included in the distribution to let you
create, send, receive, view and print faxes.
efax is smaller and easier to install than FlexFax, NetFax, or
mgetty+sendfax. It uses your system's own getty to handle
incoming data calls. As one user put it, ``EFAX is a nice simple
program for single user systems.''
The package now includes the ``efix'' program to convert text,
fax or PBM files into fax, PBM, PGM, HP-PCL or Postscript files.
To fax Postscript images you will need Ghostscript. To preview
faxes you will need a PGM file viewer (e.g. xv or xloadimage).
If you don't have a PCL or Postscript printer you will need an
appropriate conversion program (e.g. pbmtoepson or Ghostscript) .
This version of the program was written & tested under Linux
0.99.14. Previous versions have been compiled and used under AIX
3.2.4, BSD, IRIX 5.2, NeXT, OSF/1V1.3, SunOS 4.1.1/4.1.3, SCO
3.2.0, SysVR4.2, and ULTRIX 4.3 and should work with minor
changes on any modern UNIX with an ANSI C compiler and library
including select(2) and termios(4).
efax is distributed as a gzip'ed tar file, efax07.tar.gz. It may
be obtained by anonymous FTP from sunsite.unc.edu in
/pub/Linux/Incoming or /pub/Linux/apps/comm/fax.
Changes from version 0.6a to version 0.7
- includes the "efix" program to convert between file formats (no
longer requires Ghostscript or PBM utilities)
- generates page headers using a built-in or external PBM font
- resets START and STOP characters to XON and XOFF (fixes some
flow control problems)
- retains modem responses generated during data transmission
(fixes problems with USR Sportsters)
- isolates Unix dependencies to simplify porting to other
- computes accurate timeout for draining modem's transmit buffer
- enables "software carrier" if available
- many minor bug fixes and improvements
The efax distribution should contain the following files:
README - this file
COPYING - the GNU General Public License
efax.c - program to send and receive faxes
efix.c - program to convert between file formats
efaxlib.h - header file for functions common to efax and efix
efaxlib.c - functions common to efax and efix
efaxos.h - header file for OS-dependent functions
efaxos.c - OS-dependent functions
fax.1 - man page for fax(1)
efax.1 - man page for efax(1)
efix.1 - man page for efix(1)
fax - a (Bourne) shell script to create, send, receive and
efaxfont.h - 204x198 dpi 10-point Courier font
efaxfont.l - 204x96 dpi 10-point Courier font
You'll need an ANSI C compiler, such as gcc, to compile the code.
With gcc, do:
gcc -O -o efax efax*.c
and to compile efix:
gcc -O -o efix efix.c efaxlib.c
Modify the variables at the beginning of the `fax' shell script
according to the comments. Copy the executables, script, and man
pages to appropriate directories (probably /usr/bin and
The efax(1) man page has information on resolving problems and
describes how to modify /etc/inittab (SysV) or /etc/ttytab (BSD)
so efax can handle incoming fax and data calls automatically.
PLEASE remember Keywords: and a short description of the software.