From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,2a64f3b4f9b21b2a,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-11-21 13:03:03 PST Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!news.funet.fi!klaava!klaava!not-for-mail From: edc@ee.ubc.ca (Ed Casas) Newsgroups: comp.os.linux.announce Subject: efax (fax program) version 0.4 available Followup-To: comp.os.linux.misc Date: 21 Nov 1993 23:01:59 +0200 Organization: ? Sender: wirzeniu@klaava.Helsinki.FI Message-ID: <2col07$8ar@klaava.Helsinki.FI> NNTP-Posting-Host: klaava.helsinki.fi Keywords: efax, fax 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. ---------------------------------------------------------------- Introduction 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 exits - DTR is dropped by setting the baud rate to 0 instead of using ioctl() - the timeval struct is initialized in-line to satisfy some non-gcc compilers - DTR is dropped for 200 ms instead of 50 ms when trying to interrupt the modem Manifest 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 utilities. fax.1 - man page for fax(1) Installation 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. Bug Reports Please send bug reports or suggestions (including copies of the session log, type of modem and operating system) to edc@ee.ubc.ca. -- Ed Casas (edc@ee.ubc.ca) -- Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.