Sun Apr 24 11:35:08 1994  Gert Doering  (gert@greenie)

	* logname.c (logname): kludge **EMSI_INQC816 packet handling
	around D'Bridge bug (no CR at end of packet)

Sat Apr 23 21:32:16 1994  Gert Doering  (gert@greenie)

	* faxsend.c (fax_send_page): timeout-protect sending of the page
	data (just in case some *&!$%&* modem locks up and leaves the host
	in ``stopped'' state).
	* faxsend.c (fax_send_panic_exit): do everything that's possible
	to hangup + reset modem (everything heavily alarm() protected)

	* tio.h: add prototypes for tio_flush_queue() and tio_flow()

	* tio.c (tio_flush_queue): created [flush in/output queue(s)]
	* tio.c (tio_flow): created [stop/restart tty output]

Thu Apr 21 10:04:03 1994  Gert Doering  (gert@greenie)

	* mgetty.c: added AT\\OA answer string for the ELINK

	* utmp.c (make_utmp_wtmp): remove check for success again, at
	least linux' pututline() returns ``void'', no diagnostics :-(

Wed Apr 20 14:57:30 1994  Gert Doering  (gert@greenie)

	* login.c (login): cleanup all the login dispatcher stuff,
	properly implement utmp entries and "@" -> user substitution, use
	of strtok() instead of homegrown code, and, most important, syntax
	error checking
	(login): be paranoid about ownership / file mode of LOGIN_CFG_FILE

	* logname.c (ln_all_upper): if a \377 is found, assume **EMSI_INQ,
	return "not all uppercase"
	(getlogname): fix logging of **EMSI_... packets

	* utmp.c (make_utmp_wtmp): check return code of pututline(), allow
	changing of LOGIN_PROCESS records

Tue Apr 19 00:01:31 1994  Gert Doering  (gert@greenie)

	* cnd.c (cndfind): for the ELINK modem, accept any line that
	starts with a digit as CallerId.

	* login.c (login): more checks for validity of LOGIN_CFG_FILE

	* policy.h: changed LOGIN_CFG_FILE to "login.config", added big
	bright neon warning message (that noone will read) about changes

Mon Apr 18 00:39:10 1994  Gert Doering  (gert@greenie)

	* login.c (login): implement new syntax, with utmp entries and
	substituting '@' -> user name

	* logname.c (getlogname): implemente uppercase/lowercase mapping

	* tio.c (tio_map_uclc): implemented

	* do_chat.c (do_chat): initialize errno before lprintf( L_ERROR, ..)

	* mgetty.c (main): if waiting for RING times out, and we've read
	zero RINGs so far, exit(): most likely the modem ``forgot'' its
	baud rate and needs a reinitialization

Sun Apr 17 14:47:46 1994  Gert Doering  (gert@greenie)

	* doc/mgetty.texi (Receiving): add note about faxv

	* Makefile: add dialog/faxv and dialog/playback.sh to distribution

Sat Apr 16 20:39:36 1994  Gert Doering  (gert@greenie)

	* locks.c (do_makelock): if write()ing the PID to the temp file
	fails, issue L_FATAL message and fail.

Wed Apr 13 12:52:24 1994  Gert Doering  (gert@greenie)

	* sendfax.c (main): too many tries: page shown was wrong
	(main, fax_open, fax_open_device): implement "-S"

	* tools/g3cat.c (main): clean up argument handling (long due)
	(puteol/main): add padding (-p <bytes> switch)

Tue Apr 12 18:43:43 1994  Gert Doering  (gert@greenie)

	* sendfax.c (main): correct the "Failure transmitting (null)" buglet

	* logfile.c (log_init_paths): strip leading file path components

Mon Apr 11 11:39:46 1994  Gert Doering  (gert@greenie)

	* sendfax.c (fax_open_device): set log_infix (via log_init_paths())
	to the last two characters of the device name

	* sendfax.c (main): use log_init_paths, log_set_llevel

	* mgetty.c (main): use log_init_paths, log_set_llevel

	* contrib/faxin.c (main): use log_init_paths, log_set_llevel

	* logfile.c (log_init_paths,log_set_llevel): created API functions
	to hide internal data structures (log_path, log_level, ...)

Sat Apr  9 13:56:49 1994  Gert Doering  (gert@greenie)

	* faxrec.c (fax_get_page_data): first chmod(), then chown() fax
	file (was the other way round)

	* fax/faxspool.in (permissions): create FAX_SPOOL_OUT if it
	doesn't exist yet (or something removed it)
	(finalpg): substitute @DATE@ with the output of `date`

	* mgetty.c (main): escape tokens in "/etc/issue" (\U, \D, ...)

	* fax/faxq.in (jobs): change "PAGES" display (in -v mode)

Sat Apr  9 13:47:30 1994  Chris Lewis  (gert@greenie)

	* fax/faxrunq.in (jobs): add "sent successfully after <n>
	unsuccessful tries" message to success mail

Tue Apr  5 21:37:42 1994  Gert Doering  (gert@greenie)

	* mgetty.c (main): unset O_NDELAY /before/ dup()ing the
	filedescriptor to stdout/stderr.

	* login.c (login): add DEFAULT_LOGIN_PROGRAM instead of hardcoded
	"/bin/login" - on FreeBSD, login is located in "/usr/bin". (uh?!)

Thu Mar 24 10:16:28 1994  Uwe Fuerst  (gert@greenie)

	* faxrec.c (fax_get_page_data): change "/" in remote fax id to "-"
	in fax file names.

Mon Mar 14 12:16:15 1994  Gert Doering  (gert@greenie)

	* logname.c (getlogname): when receiving **EMSI_CLI packet, do not
	start ifcico, instead, re-read login name

Sun Mar 13 00:19:02 1994  Gert Doering  (gert@greenie)

	* tio.c (tio_toggle_dtr): on SVR4, use TIOCMBI* to toggle DTR
	(tio_toggle_dtr): on HPUX, use TCGETA/SETAF to toggle DTR
	change strings used for "tio_compilation_type"

	* mgetty.c (main): call tio_default_cc() for initialization of the
	TIO->c_cc[] array (so it will be used even if not -DUSE_GETTYDEFS)

	* gettydefs.c: use tio_default_cc to initialize c_cc[] array
	(ccchars): add SVR4.2 flags

Sat Mar 12 01:10:40 1994  Gert Doering  (gert@greenie)

	* tio.c (tio_default_cc): new function, initialize the c_cc array
	for POSIX_TERMIOS and SYSV_TERMIO to default values, initialize the
	(few) sgtty control characters properly.
	(tio_set_flow_control): on SVR4.2 systems, do *not* use termiox

	* tio.h: add lots of defines (CDSUSP, CLNEXT, ...) used in SVR4.2
	and a few others

	* Makefile (DISTRIB): sample FAX_NOTIFY_PROGRAMs in contrib/

Fri Mar 11 01:45:55 1994  Gert Doering  (gert@greenie)

	* tools/g3topbm.c (main): fix argument parsing ( i < argc check )

Wed Mar  9 10:59:29 1994  Gert Doering  (gert@greenie)

	* tools/g3cat.c (main): output warning if no input file was
	specified

	* tools/g3topbm.c (main): fix bug in writing of PBM header when
	"-stretch" is used

Wed Mar  9 10:45:00 1994  Steven Work (steve@work.bellingham.wa.us)

	* tools/g3topbm.c: implement "-stretch" option to double each row
	in the g3 file (make image whith "fine" aspect ratio from "normal"
	resolution fax).

Tue Mar  8 15:34:43 1994  Gert Doering  (gert@greenie)

	* mgetty.c: change make_utmp_wtmp() calls to new argument type,
	make "dialout" utmp/wtmp entry (so "who" shows dialouts)

	* mgetty.h: remove prototypes for utmp functions (->mg_utmp.h)

Mon Mar  7 12:02:50 1994  Gert Doering  (gert@greenie)

	* logname.c (getlogname): if FIDO is defined, accept not only
	**EMSI_INQ but all **EMSI...\r packets. (FrontDoor tends to
	sending **EMSI_DAT instead of **EMSI_INQ)

	* login.c (login): fixed bug in handling of empty lines

	* fax/faxspool.in (phone): change alias handling, accept a comment
	(->verbose_to) as third field in the alias file; further, accept
	multiple whitespace between alias name and phone number (use $AWK
	instead of grep | cut).

	* tools/g3cat.c (main): implement "-h <empty_lines>" option

	* fax/faxrunq.in (jobs): implement locking (JOB <-> JOB.locked),
	including 'trap'ing all necessary signals

	* mgetty.c (main): put tio_carrier( TRUE ) before
	delay(prompt_waittime) - there was a (small) time window where
	the modem could hangup without the host noticing it.
	(sig_goodbye): add "dev=" to audit message

Fri Mar  4 00:40:47 1994  Gert Doering  (gert@greenie)

	* fax/faxrunq.in: command line parsing, "-q" option

Thu Mar  3 12:30:02 1994  Gert Doering  (gert@greenie)

	* fax/faxspool.in: output note if reading from stdin 
	: implement command line argument parsing, implement "-f", "-u",
	"-D", "-p" and "-q" options.
	: substitute @D@ in the fax header with "verbose_to"
	(phone): if alias used, and verbose_to is empty, set it to the
	alias name

	* fax/faxrunq.in (jobs): implement "mail" field
	(jobs): put double quotes around all "$MAIL_TO" occurences

	* fax/faxq.in (jobs): implement "mail" field
	(jobs): remove "for" loop for "pages"

Wed Mar  2 14:19:50 1994  Gert Doering  (gert@greenie)

	* fax/faxspool.in (FAX_ALLOW): ignore anything after first blank
	in .../fax.allow (so Harald Milz can put his user names there)

	* fax/faxrunq.in (jobs): if "poll" flag found, call "sendfax -p"

	* fax/faxspool.in (maxnr): repair page numbering, broken by last
	change
	(stdin): if "-" is specified as a file type, use stdin (Matz)

	* fax/faxq.in (jobs): add "verbose_to" token (only for faxq -v)

	* fax/faxspool.in (finalpg): repair `ls -rt` bug (page order was
	not always correct), using string concatenation instead

Tue Mar  1 01:08:19 1994  Gert Doering  (gert@greenie)

	* sendfax.c (main): #ifdef FAX_SEND_SWITCHBD, change to the given
	baud rate immediately after sending +FCLASS=2 and receiving OK.
	(main): call siginterrupt() on systems that have it

	* policy.h: introduce FAXSEND_NO_XON, write comment for it
	introduce FAX_SEND_SWITCHBD, write comment for it

	* faxsend.c (fax_send_page): make waiting for Xon optional

	* faxrec.c (fax_get_page_data): skip leading junk before receiving
	page data, but logging it (have seen some error messages here...) 

	* tools/pbmtog3.c (convert_pbm_raw): reading from pipes may return
	less bytes than requested -> fix it.

	* mgetty.c (main): handle device nodes in subdirectories (use
	strrchr(...,'/')+1 for log_path and /etc/nologin.$tty)

	* locks.c (get_lock_name): handle file names with and without
	leading /dev/ (or even /dev/term/...) prefixes

        * tools/Makefile: add pbmtog3, use $(INSTALL)

	* fax/Makefile: use $(INSTALL)
	: use $(FAX_SCRIPTS) instead of a list of single files each time

	* fax/faxrunq.in (FAX_SENDER): use SBINDIR, not BINDIR

	* Makefile: add + use SBINDIR and INSTALL

	* mksed.c (main): add SBINDIR

	* config.c: do not include termio.h

	* logfile.c: do not include openlog()/syslog() prototypes on BSD
	systems

	* tio.h: on BSD systems, make POSIX_TERMIOS the default

	* mgetty.h: if __FreeBSD__ is defined, do define BSD.
        If BSD is defined, don't compile getopt() prototype

Tue Mar  1 00:58:04 1994  Gunther Shadow  (gert@greenie)

	* mgetty.c (main): not all systems default to interruptible system
	calls, for those that don't, use siginterrupt( ..., TRUE ). Make
	this the default if BSD is defined.

Mon Feb 28 22:26:15 1994  Gert Doering  (gert@greenie)

	* tio.c: bracked EXTA / EXTB defines in speedtab[] with #ifdef
	EXTA / #ifdef EXTB

Mon Feb 21 21:22:22 1994  Gert Doering  (gert@greenie)

	* fax/faxspool.in (spooldir): clean up format detection (via "dd
	bs=1 count=...") and format conversion (fax_cvt_$format).

Sun Feb 20 11:31:42 1994  Gert Doering  (gert@greenie)

	* mgetty.h (MAXLINE): change MAXLINE to 1024 (may be necessary for
	**EMSI_DAT packet in getlogname())

Sun Feb 20 09:54:06 1994  Eugene Crosser  (crosser@pccross.msk.su)

	* logname.c (getlogname): output XON character after **EMSI_REQ

Sat Feb 19 00:31:22 1994  Gert Doering  (gert@greenie)

	* do_chat.c (do_chat): do a str*n*cmp on "RING", to make sure
	"RING\r" is matched, too (virtual rings)

Thu Feb 17 18:55:50 1994  Jens Hektor

	* tio.h: #ifdef CNSWTCH should be if*n*def CNSWTCH. changed.

Tue Feb 15 15:48:19 1994  Gert Doering  (gert@greenie)

	* doc/mgetty.texi (Zyxel): add paragraph about S18 register

	* tio.h: add prototype for dumpgettydefs()

Mon Feb 14 01:24:00 1994  Gert Doering  (gert@greenie)

	* sendfax.c (main): broke polling when introduced "FHNG:-4" code,
	repaired

Sat Feb 12 00:45:36 1994  Gert Doering  (gert@greenie)

        * ugly.h: created from all the K&R / ANSI macros in mgetty.h

	* tools/*.c: replaced mgetty.h by ugly.h

	* fax/faxspool.in: add support for gif, tiff, xwd file types

	* fax/faxspool.in: $echo all error messages to stderr, not stdout

Fri Feb 11 14:49:35 1994  Gert Doering  (gert@greenie)

	* doc/mgetty.texi (ISC): update notes about ISC

	* fax/faxq.in (AWK): use @AWK@ for awk programs
	* fax/faxspool.in (AWK): ditto
	* fax/faxrunq.in (AWK): ditto

	* mksed.c (main): add AWK substitution 

	* Makefile (AWK): create a definition for awk, pass it to mksed

Thu Feb 10 22:29:48 1994  Gert Doering  (gert@greenie)

	* mgetty.c (main): if /etc/nologin prevents answering the phone,
	do not exit(), instead, go to waiting - thus, one can always have
	the modem pick up the phone manually (DATA/VOICE) without mgettys
	modem initialiations interfering.

	* faxlib.c (fax_wait_for): accept \r and \n as line separator

Tue Feb  8 23:00:23 1994  Gert Doering  (gert@greenie)

	* logfile.c (lprintf): if opening the log file doesn't work, try
	to log to console, if that doesn't work either, do not log at all
	(a lot better than exiting!)

Tue Feb  8 21:22:15 1994  chris@cj.in-berlin.de (Christof Junge)

	* mgetty.c (main): reverse meaning of NO_SYSVINIT (was wrong)

Fri Feb  4 21:50:48 1994  Gert Doering  (gert@greenie)

	* release 0.18

	* documentation changes for some modems

Fri Feb  4 20:00:48 1994  Klaus Weidner  (klaus@snarc)

	* documentation changes for vgetty part 

Fri Feb  4 15:53:33 1994  caz@psq.mei.co.jp (Caz Yokoyama)

	* faxrec.c: ifdef MEIBE -> no chmod() prototype

	* do_chat.c (clean_line): make empty on MEI BE machines

Fri Feb  4 15:53:33 1994  Gert Doering  (gert@greenie)

	* fax/faxrm.in: created, first draft, "-i" not yet working

Thu Feb  3 19:08:34 1994  Gert Doering  (gert@greenie)

	* fax/faxrunq.in (jobs): changed ``requeue'' text, add
	``verbose_to'' keyword

Sun Jan 30 00:54:33 1994  Gert Doering  (gert@greenie)

	* mksed.c (main): capsulate MAILER with double qoutes (blanks!)

	* faxsend.c (fax_send_page): check fax_hangup, not fax_hangup_code

	* fax/faxspool.in: avoid race condition by first creating JOB.q,
	then ``mv''ing it to JOB

	* faxlib.c: initialize fax_hangup_code with FHUP_UNKNOWN

	* fax_lib.h: add FHUP_UNKNOWN

	* faxhng.c: add text for FHUP_UNKNOWN

Sat Jan 29 22:48:53 1994  Gert Doering  (gert@greenie)

	* sendfax.c (main): if FAX_SEND_IGNORE_CARRIER is defined, do not
	clear CLOCAL flag before starting page send
	(main): if FAX_SEND_MAX_TRIES <= 0, then do not resend page (but
	print lots of warnings - and you're on your own!)

	* policy.h: add FAX_SEND_IGNORE_CARRIER, add comment about
	FAX_SEND_MAX_TRIES 0

Thu Jan 27 21:12:39 1994  Earl Hartwig (earl@fozzi.ocunic.on.ca)

	* faxrec.c: #ifndef sun the chmod() prototype

	* policy.h: #ifdef SVR4 || sun the /var/spool/locks path

Sun Jan 23 13:12:39 1994  Klaus Weidner  (klaus@snarc.greenie.muc.de)

	* mgetty.c: send "VOICE_ATA" define instead of "\dATA" - better
	configuration

	* mgetty.c: call voice_initpaths()

Sun Jan 23 13:12:39 1994  Gert Doering  (gert@greenie.muc.de)

	* locks.c (makelock): create makelock_file() function, rename old
	makelock() function to do_makelock() (no arguments, use global
	variable "lock"), create new makelock() function that will have
	"classic" behaviour.

	* policy.h: changed / clarified comments

	* io.c (bzero): add #define bzero() -> memset() (defined only if
	NEED_BZERO is set - some systems, e.g. SCO 3.2.2, do not have
	bzero())

Sun Jan 23 11:49:50 1994  Carsten Paeth  (calle@calle.in-berlin.de)

	* logfile.c: add #ifndef linux around syslog prototypes

Fri Jan 21 00:34:02 1994  Gert Doering (gert@greenie.muc.de)

	* Makefile: "move" stuff into subdirectory mgetty-0.$(VN) (faked)

Thu Jan 20 18:10:02 1994  Gert Doering (gert@greenie.muc.de)

	* mgetty.c: rmlocks() before return to state waiting

Wed Jan 19 22:45:02 1994  Gert Doering (gert@greenie.muc.de)

	* doc/faxspool.1: updated

	* fax/faxspol.in: use $LIBDIR/faxheader as fax page header text

Wed Jan 19 10:25:02 1994  Gert Doering (gert@greenie.muc.de)

	* faxrec.c,policy.c: chmod( fax_file, FAX_FILE_MODE );

Tue Jan 18 23:15:02 1994  Gert Doering (gert@greenie.muc.de)

	* io.c, utmp.c: ISC dependencies

Mon Jan 17 12:15:02 1994  Gert Doering (gert@greenie.muc.de)

	* faxrunq.c: add "-l @FAX_MODEM_TTYS@" to sendfax' argument list

	* mksed.c: add FAX_MODEM_TTYS to sedscript substitutions

	* logfile.c: append '\n' to L_AUDIT messages into the logfile
	(better readability)

	* faxrec.c (fax_get_page_data) - set call_start if it is not
	initialized yet.

	* contrib/faxin.c: CallerId, CallName variables added

	* contrib/Makefile: link new modules to faxin

	* mgetty.c: removed log_level++/log_level-- debug stuff

	* mgetty.texi: caller-ID section added

	* fax/faxspool.in: configurable

	* fax/Makefile: check for /etc/magic <-> PBM signature

	* fax/etc-magic: the most important "/etc/magic"s

Sun Jan 16 19:15:02 1994  Gert Doering (gert@greenie.muc.de)

	* dialin.config: provide sample version with comments

	* Makefile: some changes for sedscript / DISTRIB

	* getdisk.c: fixed includes / defines for SCO Unix (M_UNIX->SVR3)

	* faxrec.c: junk faxrec_s_time, use call_start everywhere

Sun Jan 16 19:15:02 1994  Chris Lewis (clewis@ferret.ocunix.on.ca)

	* mgetty.c: initialize call_start

	* faxrec.c: L_AUDIT log call_done - call_start

Fri Jan 14 18:30:02 1994  Chris Lewis (clewis@ferret.ocunix.on.ca)

	* mgetty.c: L_AUDIT message extended

	* do_chat.c: extend comments

	* do_chat.c: build full lines, feed into cndfind(), cnd.c

	* mgetty.h: add external / type declarations for cnd.c and getdisk.c

	* logname.c: connect message token (\I), blank after prompt removed

	* sendfax.c: uglify, add pid to L_AUDIT/fail message

	* doc/mgetty.texi: clarifications for 3B1, spelling errors

	* doc/*.1: "-" -> "\-" in title line

	* config.c: some pointer conversions cleaned

	* login.c: added getpwnam() prototype, extend L_AUDIT logging

	* gettydefs.c: #include <malloc.h>

	* Makefile: cng.o getdisk.o linked

	* getdisk.c: created

	* cng.c: created

Fri Jan 14 18:30:02 1994  Gert Doering  (gert@greenie)

	* various: Chris Lewis' latest (CND, disk space, logging)

Thu Jan 13 18:41:02 1994  Gert Doering  (gert@greenie)

	* fax/faxrunq, fax/faxq: changed to ".in" files, manipulated by
	``sedscript'', generated by ``mksed.c''

	* doc/faxq.1: created

	* Makefile, fax/Makefile, tools/Makefile: cleaner hierarchy

	* mgetty.texi: added "reset" part to mgetty.texi

Wed Jan 12 21:41:02 1994  Gert Doering  (gert@greenie)

	* do_chat.c: introduce A_TIMOUT for timeout, distinguishable
	from A_FAIL (BUSY, ERROR, NO CARRIER, ...)

	* mgetty.c: if phone stopps ringing before we get the desired
	number of rings, do not exit, go to "waiting..." instead

Wed Jan  5 03:41:02 1994  Gert Doering  (gert@greenie)

	* faxrec.c (fax_send_pages): leave page-receive loop if
	fax_poll_req == TRUE
	(faxrec): implement very simple fax poll server (1 page)
	(fax_notify_mail): include polling notification in mail

	* sendfax.c (main): change fax_poll_req to fax_poll_wanted, to
	avoid confusions with fax_poll_req used in faxlib.c (for remote
	fax poll requests)

	* faxsend.c: create, with fax_send_page() in here (slightly
	modified: pass the fax TIO descriptor here, no fax_close() call)

	* sendfax.c: move fax_send_page() to faxsend.c

	* fax_lib.h: add fax_send_page() prototype

	* tio.h: add #define __TIO_H__ (for fax_lib.h)

Tue Jan  4 17:34:23 1994  Gert Doering  (gert@greenie)

	* mgetty.c (main): add "-S" switch, add call to faxpoll_server_init()

	* mgetty.h: add prototype for faxpoll_server_init()

Mon Jan  3 02:35:41 1994  Gert Doering  (gert@greenie)

	* tio.c: move speedtab[] from mgetty.c to tio.h/tio.c

	* logname.c (ln_escape_prompt): add '\S' token (port speed)

	* tio.h: add prototype for tio_get_speed()

	* tio.c: new function, tio_get_speed()

	* logname.c (getlogname): log character before checking for
	tsync/yoohoo caller and stripping to 7 bit

	* faxlib.c (fax_wait_for): understand +FDTC -> fax_poll_req = TRUE

	* faxlib.c (fax_send): send MODEM_CMD_SUFFIX instead of "\r\n"

Sun Jan  2 18:05:13 1994  Gert Doering  (gert@greenie)

	* do_chat.c (do_chat): send MODEM_CMD_SUFFIX instead of hardcoded
	"\r\n" (and log what is sent) 

	* mgetty.c (main): use NOLOGIN_FILE instead of hardcoded
	"/etc/nologin.%s"

	* policy.h: added NOLOGIN_FILE and MODEM_CMD_SUFFIX

	* mgetty.c (main): move signal() calls to before answering phone

	* locks.c (get_lock_name): use lowercase device names for locking
	purposes if LOCKS_LOWERCASE is set (SCO convention) (MaM)
	(readlock): after guessing the lock file type, check whether it
	fits the setting of LOCKS_BINARY, if not, write a warning into the
	log file.

	* policy.h: add LOCKS_LOWERCASE + comment

	* gettydefs.c (mydup): make mydup() global 

	* mgetty.c (sig_goodbye): added signal handler for signals INT,
	QUIT, HUP and TERM that will remove locks and log the signal number 

Tue Dec 28 01:22:48 1993  Gert Doering  (gert@greenie)

	* logfile.c (lprintf): move test whether log level is high enough
	before test whether log file should be opened (avoid noisy
	printing of "--" to otherwise empty log files)

Mon Dec 27 21:45:28 1993  Gert Doering  (gert@greenie)

	* mgetty.c: added "V1" to first init string (MaM)

	* do_chat.c: added "policy.h" (for DO_CHAT_SEND_DELAY)

Thu Dec 23 12:35:07 1993  Gert Doering  (gert@greenie)

	* utmp.c: ifdef ISC -> typedef short pid_t

Sun Dec 19 23:20:55 1993  Gert Doering  (gert@greenie)

	* mgetty.h: getopt() prototype only if M_UNIX not defined

	* mgetty.c: change order of policy.h and tio.h (USE_GETTYDEFS)

Sat Dec 18 18:50:55 1993  Gert Doering  (gert@greenie)

	* faxrec.c (fax_get_page_data): i = sprintf() -> strlen()

	* logname.c (ln_escape_prompt): SunOS changes - do not use int
	return code of sprintf() anymore

	* sendfax.c: SunOS changes - FLOW_HARD off while DCD is low

	* mgetty.c: SunOS changes - FLOW_HARD off while DCD is low

	* tio.c (tio_toggle_dtr): SunOS changes - manually enable RTS
	and DTR lines after hangup

Fri Dec 17 17:50:55 1993  Gert Doering  (gert@greenie)

	* policy.h: add comment about [11] [13] in sendfax log

Wed Dec 15 10:20:01 1993  Gert Doering  (gert@greenie)

	* logfile.c: SYSLOG -> logging to syslogd

	* policy.h: add SYSLOG + comments

	* mgetty.login: comments extended

	* login.c: stupid bug with "*a" and "a*" matching fixed

	* Makefile: link config.o, login.o

	* login.c: nasty bug in parsing of command line fixed

	* mgetty.c: call login( username ) instead of exec(
	"/bin/login"...)

	* mgetty.c: remove UGLY_TAYLOR_UUCP_HACK and FIDO

	* mgetty.h: add prototype for login()

	* policy.h: add LOGIN_CFG_FILE definition + comments

Mon Dec 13 17:00:01 1993  Gert Doering  (gert@greenie)

	* Makefile: LIBDIR=/usr/local/lib/mgetty+sendfax, install
	cour24i.pbm font

	* fax/faxspool: use new libdir path

	* logname.c (getlogname): ignore leading blanks (E.Crosser)

Fri Dec 10 15:30:01 1993  Gert Doering  (gert@greenie)

	* mgetty.texi: update BSD section, add text about /etc/ttytab

	* tio.c: move #include <sys/ioctl.h> up before "tio.h" (for AIX)

Mon Dec  6 12:46:57 1993  Gert Doering  (gert@greenie)

	* faxrec.c: add include of <stdlib.h>

Fri Dec  3 00:14:12 1993  Gert Doering  (gert@greenie)

	* sendfax.c (main): setup signal handler to remove locks and close
	fax device on SIGINT / SIGQUIT
	(fax_close): add "+FCLASS=0" to reset modem to known state

Wed Dec  1 20:07:05 1993  Gert Doering  (gert@greenie)

	* faxrec.c (faxrec): add L_AUDIT with most important informations
	about received fax

	* mgetty.c (main): change login log message to level L_AUDIT
                           remove "fax receiver finished" message

	* mgetty.h (L_AUDIT): added L_AUDIT

	* mgetty.c (main): remove #ifdef VOICE around check for ( action ==
	A_VCON ) in ring_counter loop.

Mon Nov 29 22:30:43 1993  Gert Doering  (gert@greenie)

        * mgetty.c: added Klaus Weidner's VOICE conditionals

	* Makefile: added handling / installing of mgetty.login

Fri Nov 26 22:19:41 1993  Gert Doering  (gert@greenie)

	* mgetty.c (main): support for FIDO. If getlogname() returns a
	string starting with \377, a fido mailer is called.

	* logname.c (getlogname): support for FIDO handshake (TSYNC,
	YOOHOO and "**EMSI_IMQ" are recognized, **EMSI_REQ is sent). If a
	fido call comes in, the returned "login name" starts with \377.

Thu Nov 25 19:05:55 1993  Gert Doering  (gert@greenie)

	* mgetty.c (main): creeping featurism - added "-i /etc/issue"
	switch to mgetty

	* policy.h: added MAILER definition for _AIX

	* Makefile: change shar1 to include Archive-Name: header
	(Comments): don't use -DUSE_POLL on AIX

	* released mgetty+sendfax 0.16 (0.15 were beta versions) 

Wed Nov 24 12:38:36 1993  Gert Doering  (gert@greenie)

	* do_chat.c: remove "volatile" in virtual_ring declaration

Tue Nov 23 17:47:31 1993  Gert Doering  (gert@greenie)

	* logname.c (ln_escape_prompt): add \L "Line" (device name)

Sun Nov 21 18:03:42 1993  Gert Doering  (gert@greenie)

	* mgetty.c (main): switch on carrier detection before printing
	/etc/issue (in case a caller hangs up immediately)

Sat Nov 20 10:20:00 1993  Gert Doering  (gert@greenie)

	* do_chat.c (do_chat()): if read() fails, return FAIL (hm)

        * mgetty.texi: updated documentation for SVR4 and SAS

	* mgetty.h: add #ifndef ___386BSD___ around getopt() prototype

	* faxrec.c (fax_get_pages()): set fax_hangup_code, if
	fax_get_page_data() fails.

Sat Nov 13 11:42:10 1993  Gert Doering  (gert@greenie)

	* contrib/faxin.c: make "char * tty" global and call it "* Device"
	- so faxrec() can use it for its file names.

	* faxrec.c (fax_notify_mail): change notification mail, make the
	output better understandable. Include reception time.
	(fax_get_page_data): change algorithm for creating file names -
	base on time() and Device id.

	* faxrec.c (fax_get_page_data): change DLE ETX logic (once again)

	* tio.c (set_flow_control): use "type", not "flag"... 

	* do_chat.c (do_chat): DO_CHAT_SEND_DELAY - before sending "send"

	* policy.h: DO_CHAT_SEND_DELAY added

	* Makefile (noident): changed "if" to "case" (cl)

Fri Nov 12 21:38:22 1993  Gert Doering  (gert@greenie)

	* logfile.c (lprintf): use "errnr" instead of "errno"

        * tio.c (tio_set_flow_control): added _AIX style for enabling
	RTS/CTS flow control (c.l.)

	* tio.c (tio_set_flow_control): added SVR4 <sys/termiox> RTS/CTS
	flow control (m.h.), change interface.

        * mgetty.c,sendfax.c,faxrec.c: change call(s) to
	tio_set_flow_control() accordingly.

	* tio.h: added all the V* and C* defines for termio(s)

	* logname.c: added \N and \C escape. Remove surplus blank in
	TTYPROMPT. Removed all the C* defines (-> tio.h)

Sun Nov  7 01:15:07 1993  Gert Doering  (gert@greenie)

	* tio.h (FLOW_SOFT): changed definitions of FLOW_BOTH and FLOW_NONE

	* policy.h: introduced *_FLOW defines (plus longish comment)

	* changed calls to tio_set_flow_control() accordingly

Sat Nov  6 00:03:30 1993  Gert Doering  (gert@greenie)

	* logname.c (getlogname): #ifdef ENV_TTYPROMPT, do not read input
	line, but set buf to "" and return immediately (return NOERROR)

	* logname.c (set_env_var): created function 

	* mgetty.c (main): shuffled around gettermio stuff - works now
	(main): if getlogname() returns empty string, don't pass it to
	/bin/login 

Fri Nov  5 20:23:26 1993  Gert Doering  (gert@greenie)

	* tio.c: IUCLC and TAB3 are not available on BSD

	* tio.c: do not initialize c_line for POSIX systems

	* sendfax.c (main): new parameter, "-m", specify extra modem
	initialization string (modem has to answer "OK")

	* mgetty.h (and others): sig_t -> RETSIGTYPE (name clash on BSD)

	* faxrec.c (fax_notify_program): added setpgrp() / TIOCNOTTY for BSD 

Thu Nov  4 22:01:26 1993  Gert Doering  (gert@greenie)

	* fax/faxq: created

Wed Nov  3 19:22:40 1993  Gert Doering  (gert@greenie)

	* mgetty.h (BSD): if __386BSD__ et.al., #define BSD

	* utmp.h: extend #ifdef sun to #if defined(sun) || defined(BSD)

Mon Nov  1 14:03:08 1993  Gert Doering  (gert@greenie)

	* faxrec.c (fax_get_pages): initialize *fax_file_names

	* faxrec.c (fax_notify_mail): check ( fax_file_names == NULL )?

	* mgetty.c (main): stripping of "/dev/" was bogus

	* mgetty.c / gettydefs.c: Chris Lewis' latest changes

Fri Oct 29 10:53:25 1993  Gert Doering  (gert@greenie)

	* policy.h: added comment about USE_GETTYDEFS

Thu Oct 28 11:08:39 1993  Gert Doering  (gert@greenie)

	* fax/faxspool: added - limited - access control

	* Makefile (install): backup faxspool / faxrunq

Wed Oct 27 01:28:05 1993  Gert Doering  (gert@greenie)

        * Makefile: invocate doc/Makefile for "install:"

        * doc: create man pages, create doc/Makefile

	* mgetty.c (main): move first call to gettermio() after opening
          the port 

	* fax/faxspool: check first line of a file for PBM "magic"

	* mgetty.c (main): added missing "*" in pointer cast

Wed Oct 27 01:19:07 1993  Chris Lewis  (clewis@ferret.ocunix.on.ca)

	* mgetty.h, mgetty.c, gettydefs.c: re-worked gettydefs support

        * tio.c, tio.h: clean up "#elif" - do not work everywhere 

Tue Oct 26 22:09:52 1993  Gert Doering  (gert@greenie)

	* tools/g3topbm.c (main): changed write: to do_write: (collision)

	* tools/g3cat.c (main): changed write: to do_write: (collision)

	* various changes for MEIBE machines (mostly #include <sys/types.h>
          in various modules, plus typedefs for uid_t and pid_t)

        * policy.h: add LOCK definition for sgi irix

        * io.c: added #ifdef for sgi machine

Fri Oct 22 11:12:00 1993  Gert Doering  (gert@greenie)

	* io.c: added #ifdef for MEIBE machine

	* logfile.c: added #ifdef for MEIBE and _SEQUENT_ machines

Wed Oct 20 11:39:39 1993  Gert Doering  (gert@greenie)

	* mgetty.c (main): ring counter

	* do_chat.c (do_chat): use external variable for "virtual
	rings", making it possible to pick up phone after a "real" RING

	* do_chat.c (do_chat): removed "locks" stuff

        * logfile.c (lprintf): increase line buffer size

	* faxrec.c: restrict length when logging "notify" command line

Tue Oct 19 02:50:54 1993  Gert Doering  (gert@greenie)

	* various: moved from direct termio manipulation to call of TIO
	routines

Mon Oct 18 21:41:00 1993  Gert Doering  (gert@greenie)

	* mgetty.texi (Queuing): added syntax of faxspool and aliases

	* fax/faxspool: added simple fax directory handling, if a phone
	number is non-numeric, it's searched in GLOBAL/PRIVATE_PHONE_DIR

Fri Oct 15 11:25:28 1993  Doering  (y0000075@rzab2)

	* tools/g3.c: removed print_g3_tree()

	* tools/g3topbm.c (main): use real page width for pbm file 

        * Makefile: use "tar"+"gzip" instead of "gtar"

        * tio.c: add "set" flag to various set_*mode() calls

	* sendfax.c (main): split AT+FCLASS=2;+FLID=... into two commands

	* policy.h: MAIL_TO "faxadmin"

	* faxrec.c (fax_get_page): use six 'X's for template, not five

Mon Oct 11 16:23:40 1993  Doering  (y0000075@rznb15)

	* Makefile: changed invocation of sub-dir makefiles

	* tools/*.c: changed to use _P prototype macros

	* mgetty.texi (Linux): add note about mktemp()

Thu Oct  7 02:33:59 1993  Gert Doering  (gert@greenie)

	* faxrunq: quotes around $FAX_SENDER

	* sendfax.c (main): make fax_device_string[] static

	* mgetty.texi (ZyXEL): added note about broken 6.10 firmware

Wed Oct  6 00:02:44 1993  Gert Doering  (gert@greenie)

	* tools/g3cat, tools/g3topbm -> moved g3 tree stuff into g3.h /
	g3.h, changed g3cat to work not bit-wise but codeword-wise, thus
	eliminating the 0-bit problem

	* tools/g3cat.c (main): added "-a" switch

	* logname.c (getlog_timeout): void -> sig_t

Tue Oct  5 15:32:13 1993  Gert Doering  (gert@greenie)

	* faxlib.c (fax_command): delay(FAX_COMMAND_DELAY) before write()

	* policy.h: added FAX_COMMAND_DELAY + comment

	* faxrec.c (fax_notify_program): make </dev/null stdin of program 

	* gettydefs.c: clean up include files

	* logfile.c (lputc): #ifdef LOG_CR_NEWLINE: start new line when
	logging a '\n'

	* include Chris Lewis' K&R patches and gettydefs extensions

	* change ChangeLog to GNU style

	* release mgetty+sendfax 0.14

