[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
efax (fax program) version 0.4 available
I have uploaded efax version 0.4 beta to sunsite.unc.edu. This
is the second release of a simple program that lets you send and
receive faxes using a Class 2 fax modem. It is available at
~/pub/Linux/Incoming/efax04.tar.z. The changes from the previous
version are described in the README file that is appended below.
This is the README file for the 0.4 release of efax. efax is a
program to send and receive faxes using a Class 2 fax modem.
efax is a relatively small (800-line) ANSI C/POSIX program that
provides the data transport function for fax applications. A
simple shell script is included in this distribution to provide a
a way to create, send, receive, and print faxes.
Unlike FlexFax and NetFax, efax is not a network-based
client-server system. As one user put it, ``EFAX is a nice
simple program for single user systems.''
In addition to efax you'll need Ghostscript (I used version
2.5.2), to create the fax image files and the PBMPlus utilities to
convert the received fax to a format that you can print.
The program was written & tested under Linux 0.99pl10, gcc 2.4.3
and libc 4.4.1. It has also been compiled under ULTRIX, SunOS
and SysVR4 and should work with minor changes on any modern UNIX
with an ANSI C compiler and a termios(3) serial device interface.
efax is distributed as a gzip'ed tar file, efax04.tar.z. It may
be obtained by anonymous FTP from sunsite.unc.edu in
/pub/Linux/Incoming or /pub/Linux/apps/comm.
Changes from version 0.3 to 0.4
- efax now looks at the whole modem response rather than just the
first character. This means, for example, that `CED' is no
longer confused with CONNECT.
- the -w (wait) option was added to allow a script to wait for a
number of rings before answering the phone. This should be
more reliable than the awk script used previously.
- efax now restores the fax device terminal settings when it
- DTR is dropped by setting the baud rate to 0 instead of using
- the timeval struct is initialized in-line to satisfy some
- DTR is dropped for 200 ms instead of 50 ms when trying to
interrupt the modem
The efax distribution should contain the following files:
README - this file
COPYING - the GNU public license
efax.c - the source code
efax.1 - a man page for efax(1)
fax - a (Bourne) shell script to create, send, receive and
print faxes. Requires Ghostscript and PBMPlus
fax.1 - man page for fax(1)
You'll need an ANSI C compiler, such as gcc, to compile the code.
With gcc, do:
gcc -O efax.c -o efax
Modify the variables at the beginning of the `fax' shell script
according to the comments. Copy the executable, script, and man
pages to appropriate directories (probably /usr/bin and
/usr/man/man1). You may also need to get getopt.h and getopt.c
on systems where getopt() is not a library routine.
Please send bug reports or suggestions (including copies of the
session log, type of modem and operating system) to edc@xxxxxxxxxx
Ed Casas (edc@xxxxxxxxx)