Mon Sep 10 20:51:51 CEST 2018  Gert Doering <gert@greenie.muc.de>

	* Makefile: release 1.2.1

Sun Sep  9 18:36:09 CEST 2018  Gert Doering <gert@greenie.muc.de>

	* Details are now all in Git, so use "git log" for more detailed
          change logging (+timestamps)

	* fax/faxrunq.in, fax/faxq.in: properly quote input from JOB files,
	  avoid attack with shell metacharacters (CVE-2018-16741)

	* contrib/scrtsc.c: remove from distribution (CVE-2018-16742)

	* contrib/next-login/next-login.c: fix buffer overflow on username
	  (CVE-2018-16743)

	* faxrec.c, policy.h: rework mail handling, avoid potential buffer
	  overrun by means of "mail-to" config variable (CVE-2018-16744)

	* g32pbm.c: fix invalid lseek() handling (infinite loop)

	* pbm2g3.c: fix handling of invalid PBM input

	* Makefile: repair "make diff" building

	* git import: add stuff that was missed for 1.2.0 release
	  (it was in the 1.2.0 tarball, but missing in git repo)


Tue Mar  6 13:45:33 CET 2018  Gert Doering <gert@greenie.muc.de>

	* release 1.2.0, exactly 25 years after 0.1
		"Mar  6  1993 mgetty01.tpz"
 	  (unfortunately the original post to alt.sources can no longer
	  been found, the oldest version groups.google.com has in its
	  archives are 0.14 and 0.20 from October and November 1993)

Tue Mar  6 12:03:33 CET 2018  Gert Doering <gert@greenie.muc.de>

	* cnd.c, conf_mg.c, conf_mg.h, mgetty.c, mgetty.h, logname.c,
		login.c, t/t_ring.c, doc/mgetty.texi-in - merge "cid-program"
		patch set from Alex Manoussakis <alex@juniper.net>
		(after 10 years...)

	* policy.h: default MAILER to "/usr/sbin/sendmail"

	* policy.h: default CONSOLE to "/dev/null" - as /dev/console seems
		to cause hangs on FreeBSD 10

	* mg_utmp.h: ut_time compatibility #define for utmpx on FreeBSD
		needs to be ut_tv.tv_sec, not ut_tv  (struct timeval)

Mon Mar  5 19:32:23 CET 2018  Gert Doering <gert@greenie.muc.de>

	* conf_mg.c, conf_mg.h, mgetty.c: new option "open-delay <msec>"
	  (same thing as for sendfax, after DTR toggling, wait <msec>
	  millseconds before flushing input and starting AT commands)

	* doc/mgetty.texi-in: document open-delay

Sun Mar  4 20:22:47 CET 2018  Gert Doering <gert@greenie.muc.de>

	* Makefile, version.h: make this is version 1.2.0

	* distro/faxrunqd.service: add systemd service file for faxrunqd

Tue Feb  9 16:09:21 CET 2016  Gert Doering <gert@greenie.muc.de>

	* g3/pbm2g3.c, g3/g3cat.c: change "inline" to "static inline",
	  avoid link-time explosion with C99 compilers

Wed Aug 19 19:36:48 CEST 2015  Gert Doering <gert@greenie.muc.de>

	* utmp.c, mg_utmp.h: apply FreeBSD port patches to adjust to 9.x
	  (no <utmp.h> or login() anymore, utmpx and setutxent())

Thu Apr  3 11:05:13 CEST 2014 Gert Doering <gd@medat.de>

	* class1.h, class1.c, class1lib.c: rename FRAMESIZE to C1_FRAMESIZE
	  to avoid conflict with AIX headers already using FRAMESIZE (*sigh*)

Sun Feb  2 14:06:41 CET 2014  Gert Doering <gert@greenie.muc.de>

	* config.c, logfile.c, logname.c, login.c, modem.c, ring.c,
	  faxlib.c, faxrecp.c, class1lib.c, cnd.c, g3/pbm2g3.c, goodies.c,
	  fax/faxq-helper.c, callback/callback.c: convert all "char" 
	  expressions to (uch) when calling ctype.h macros (*sigh*)

	* fax_lib.h: add prototype for fax1_send_page() and fax1_send_nsf()

	* class1lib.c: fix signed/unsigned char warning in strncpy() call

	* g3file.c: fix signed/unsigned char warning in function calls

	* tio.c: #include <sys/ioctl.h> on BSD

Sun Feb  2 13:24:40 CET 2014  Michal Sekletar <msekleta@redhat.com>

	* bug fixes based on static code analysis (mem leaks, buffer overruns)

	* do_chat.c: test if(action != NULL) in all places

	* logfile.c: Moved call to close to else branch of if-statement to 
          avoid passing invalid file descriptor in case log_fd == -1

	* g3/g32pbm.c, g3/g3cat.c: pass actual file descriptor to close(), 
          not negative result from read()

	* logfile.c: in logmail(), skip fwrite() if read() returns <= 0

	* faxlib.c: avoid potential buffer overrun (off-by-one) when copying
          a maximum-length NSF (theoretical possiblity as NSF frame length 
          is bounded)

	* voice/libpvf/lib.c: avoid buffer overrun with terminating zero byte
	  in read_pvf_header() when reading a malformed PVF file (= 2nd line 
          longer than VOICE_BUF_LEN)

	* g3/g32pbm.c: fix memleak in scalebm(): add missing free(mulvec)

	* g3/pbm2g3.c: fix memleak in convert_pbm_raw(): add free(linebuf)

	* voice/libpvf/fft.c: fix memleaks in pvffft(), always free(real)
	  and free(imag) (introducing exit labels and jumping there)

	* faxrecp.c: in fax_get_page_data(), ensure that fax_fp is actually
          valid (fdopen() *can* fail) - and always fclose() it on exit

	* do_chat.c: fclose(fp) on error exit

	* voice/libvoice/record.c: fclose(fd) on error-exit

	* voice/libvoice/play.c: ensure fclose(fd) on all returns

Fri Jan 31 17:44:00 CET 2014  Gert Doering <gert@greenie.muc.de>

	* frontends/dir2fax: added simple "scan directory, fax out" script

Fri Jan 31 14:40:28 CET 2014  Gert Doering <gd@medat.de>

	* faxsend.c: increase timeout value between <DLE><ETX> and "OK" to
	  whatever is needed to cope for "large documents, slow receiver,
          huge buffers in network and/or DIVA cards".

Fri Jan 31 11:23:59 CET 2014  Gert Doering <gd@medat.de>

	* mgetty.h: introduce "port_type_t" enum to store port type in sendfax

	* sendfax.c: add proper port type handling to get rid of all the
	  TIO_* errors for unsupported function calls on PT_RAW_SOCKET ports

	* clean_line.c, clean_line(): if FAX_SEND_SOCKETS, never use VTIME

	* do_chat.c, clean_line.c: move clean_line() from do_chat.c to 
          clean_line.c (we need it from sendfax, and it fits nowhere else)

	* faxlib.c: recognize "NO ANSWER" as final "dial-failed" response

	* Makefile: add rule for mgetty-launchd, not built by default.

	* Makefile: remove support for "sentinelized" binaries

Tue Jan 28 13:21:15 CET 2014  Gert Doering <gd@medat.de>

	* goodies.c: add safe_strdup() function

	* socket.c: add call-out module to connect to remote "modems"
	  reachable via raw TCP/IP sockets - like a DIVA ISDN board made
          accessible by ser2net.  Conditional on #ifdef FAX_SEND_SOCKETS

	* sendfax.c: if a tty name is "ttyRInmm", magically map that to
	  a remote tty via socket.c (connect to modemserver<n>, on TCP
	  port 50000+<mm>).  Handle differences between "local tty" and
	  "raw socket" ports in termio(s) initialization etc.

	* io.c: do not declare poll() prototype on BSD

	* faxlib.c: permit higher "fax max speed" than 14400 by proper
	  hex-encoding the result of "(max_speed/2400)-1".  DIVA cards
	  can do up to 33600, encoded as 'D'.

	* config.c: add wildcard matching to section_key matches - like
	  "port ttyRI???" -> match on all Ports starting with "ttyRI" and
	  up to 3 characters.  Useful to set common modem-init stuff for
	  30 lines on a DIVA PRI board...

Sun Jan 26 20:18:07 CET 2014  Gert Doering <gert@greenie.muc.de>

	* policy.h: add and explain FAX_SEND_SOCKETS option

	* Makefile: add socket.c/socket.o, cleanup LIBS and gdiff usage

Fri Jul  5 11:32:42 CEST 2013

	* fax/faxrunqd.in: treat "exit(15)" from sendfax as extra-bad, 
	  adding +2 to mq_badness counter (this error hints at "the tty
	  got completely stuck, each fax sent there will be delayed for
	  many minutes until sendfax is killed" -> avoid using that tty)

Fri Feb 24 14:40:15 CET 2012  Gert Doering <gd@medat.de>

	* goodies.c: implement get_ps_args() for _AIX (6+, with /proc)

	* mgetty-launchd.c: new tool to run mgetty from "non-init" processes
          (mainly written for IBM HACMP cluster environments, where inittab
          cannot easily be used because the modem devices and mgetty processes
          have to move with the cluster, and ttys on a remote terminal server
          can only be accessed from a single node at a time)

	* utmp.c: set ut_host on AIX, zero new utmp entry before using
          (otherwise ut_host might contain garbage if not set), introduce
          new entry point: make_utmp_wtmp_pid()

Wed Feb 15 20:52:48 CET 2012  Gert Doering <gert@greenie.muc.de>

	* we have a public GIT now: git://github.greenie.net/mgetty.git
          (readonly, so send your patches by mail)

Wed Feb  1 15:23:09 CET 2012  Gert Doering <gert@greenie.muc.de>

	* utmp.c: on AIX (#ifdef AIX_SRC), if there is no existing utmp
                  entry, create a new one (needed if using AIX' res.mgmt.)

	* mgetty.c: #ifdef AIX_SRC, create INIT_PROCESS utmp entry on start

Mon Jul 11 11:21:20 CEST 2011

	* atsms.c: add new option '-Z' -> "zap modem" (do full SIM reset 
	  with AT+CFUN=1,1 if AT+CPIN? query returns ERROR)

Mon Mar 28 20:03:31 CEST 2011  Gert Doering <gert@greenie.muc.de>

	* fax/faxspool.in: print number of pages in "success!" message

	* fax/faxspool.rules: add sample statements for HTML-to-Fax

Tue Jan 18 17:09:11 CET 2011

	* fax/faxrunqd.in: pass verbose error list to "modem error script"
	  (in $MODEM_ERROR_VERBOSE env variable) - help humans understand

Fri Oct  8 12:50:07 CEST 2010  Gert Doering <gd@medat.de>

	* g3/g3cat.c: when reporting invalid g3 code, use "fd" for ftell(),
          not "0" (artifact from "could only handle single file on stdin")

	* g3/g3cat.c, g3/g32pbm.c: use ftell(..., SEEK_CUR) not (..., 1)

Sat Sep 25 18:31:21 CEST 2010  Gert Doering <gert@greenie.muc.de>

	* frontends/mail2fax06/mail2fax.pl: substitute problem characters
		in attachment file names by "_" before passing to faxspool

Wed Sep 22 11:02:09 CEST 2010  Gert Doering <gd@medat.de>

	* sms.c: cleanup sub-process handling and console redirection
		(double-fork()/exec() now)

	* mgetty.c, mgetty.h: move handle_incoming_sms() prototype from
		mgetty.h to mgetty.c (uid_t/gid_t non-availability)

Wed Sep 15 11:21:28 CEST 2010  Gert Doering <gert@greenie.muc.de>

	* policy.h: add new block for #define SMS + explanations

	* sms.c: NEW - handling of incoming SMS messages and delivery reports
		(read from GSM modem, call external script handler)

	* conf_mg.[ch] - add sms-handler and sms-handler-{user,group} options

	* mgetty.c: add recognition of +CMTI: and +CDSI: SMS status messages
		to ring_chat_actions[] -> A_SMS_* action

	* mgetty.c: add new state: St_incoming_sms, and call out to
		handle_incoming_sms() to handle SMS related stuff

	* mgetty.c: make "dialout!" logging more useful (log dialout command)

	* mgetty.h: add A_SMS_* action types and prototypes


Fri Aug 13 15:49:45 MEST 2010  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: log faxrunqd.policy file parsing to log file
	  (no longer to stdout).  
	  
	* fax/faxrunqd.in: ignore leading whitespace in faxrunqd.policy 
	  lines (INCOMPATIBLE CHANGE, those lines now suddenly start working!)

Fri Jul 16 18:26:23 MEST 2010  Gert Doering <gd@medat.de>

	* tap/atsms.c: handle "waiting for delivery report times out"
	  more gracefully - don't flag as "SMS transmission error"

Tue Jun 29 16:02:00 MEST 2010  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: extend 'time constraint' handling with plugin
			infrastructure for really weird cases

Mon Jun 28 13:23:21 MEST 2010  Gert Doering <gert@greenie.muc.de

	* doc/faxq1.in: document new "-r ..." syntax

	* fax/faxq.in: incompatible change to "-r" semantics: wants
	               explicit job specification now, or "all" to
		       re-queue all failed jobs currently in queue

	* fax/faxrunq.in, faxrunqd.in: show new "faxq -r $job" command in
			"your fax has failed, requeue with ..." mail now

	* tap/atsms.c: after SIM PIN initialization, wait 120 secs before
			trying to send SMS (modem needs time to log in)

Sat Jun  5 11:47:17 MEST 2010  Gert Doering <gert@greenie.muc.de>

	* release 1.1.37

Fri Jun  4 14:56:46 MEST 2010  Gert Doering <gd@medat.de>

	* the following fixes prompted by Wouter van Marle...

	* fax/faxspool.in: implement "-t hh:mm-hh:mm" time-range syntax

	* fax/faxq.in: properly display queued jobs with time-range field

	* fax/faxrunqd.in: correctly handle jobs running out of the end of
			   their sent-time window.  ** Changes handling 
			   of "-t hh:mm" to "from hh:mm to midnight" **

	* doc/faxqueue.5in: document "time hhmm-hhmm" syntax & constraints

Sat Feb 20 14:04:11 MET 2010  Gert Doering <gert@greenie.muc.de>

	* tools/microcom.c: improve read-from-device exception handling

Wed Feb 17 09:28:44 MET 2010  Gert Doering <gert@greenie.muc.de>

	* Makefile: split CC/HOSTCC for easier cross-compiling

Tue Nov 24 16:05:20 MET 2009  Gert Doering <gert@greenie.muc.de>

	* tap/atsms.c: add SMS retrieval from AT GSM modems

Tue Jul  7 16:43:11 MEST 2009  Gert Doring <gd@medat.de>

	* fax/faxrunqd.in: add run-time configurable delay after failures

	* faxrunq.config: add example lines for "delay-rule" option

	* doc/faxrunqd.8in: document "delay-rule" option

Thu Mar 19 16:10:50 MET 2009  Gert Doering <gert@greenie.muc.de>

	* Makefile, conf_sf.c, conf_sf.h: change working of version.h
	  (now it only contains #define's, the actual variable assignment
	  happens in conf*.c - prerequisites for inclusion in class1lib.c)

	* class1.c: send NSF frame on reception (optional)

	* class1lib.c: implement class1_send_nsf(), send mgetty version

Sat Mar 14 12:54:19 MET 2009  Getr Doering <gert@greenie.muc.de>

	* hyla_nsf.c: import updates from Hylafax NSF.c++

Wed Feb 25 14:02:20 MET 2009  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: enhance and clarify per-modem statistics

Wed Feb 18 09:20:55 MET 2009  Gert Doering <gd@medat.de>

	* Makefile, doc/Makefile: cleanup "make install" warnings

Fri Mar  7 15:53:23 MET 2008  Gert Doering <gd@medat.de>

	* ring.c: be flexible regarding whitespace in FM:...TO:... (Blatzheim)

Thu Jan 31 17:26:18 MET 2008  Gert Doering <gd@medat.de>

	* sendfax.c, conf_sf.c, conf_sf.h: new option for sendfax: 
	   reset-after-fail <ATxxx> --> sent to modem after dial failures

Sun Sep  9 13:56:46 MEST 2007  Stepan Kasal <kasal@ucw.cz>

	* Makefile: file COPYING was missing

Tue Aug 21 11:48:44 MEST 2007  Gert Doering <gd@medat.de>

	* fax/faxspool.in: add @DATE +<format>@ to faxheader processing

Fri Jun 15 13:11:24 MEST 2007  Gert Doering <gert@greenie.muc.de>

	* add missing files (g3file.c), re-release 1.1.36

Fri Jun 15 09:13:20 MEST 2007  Gert Doering <gert@greenie.muc.de>

	* release 1.1.36

Wed May 16 17:46:39 MEST 2007  Gert Doering <gd@medat.de>

	* faxsend.c: (optionally) insert 100 0-bytes at start of page, to
	  help modems that have problems with the before-EOL timing (new USRs)

	* fax_lib.c: add new MQ_ bit for 0-padding

Sat May  5 14:03:16 MEST 2007  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: make wait() interruptible, avoid queue stalls
	  if only one modem active and this modem has a very long job.
	  Additionally, detect hung sendfax processes, and kill()' em.

	* faxlib.c: recognize modem ID for Blatzheim ISDN/hybrid modems

Fri Jan 19 08:36:49 MET 2007  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: add functionality to run external scripts if
	  the fax queue reaches a "high water mark" length, and if a given
	  modem has more than <x> consecutive errors

	* doc/faxrunqd.8in: document new options

Thu Dec  7 16:44:55 MET 2006  Gert Doering <gd@medat.de>

	* fax/faxspool.in: add @S@ for faxheader (replace with job id)

Wed Nov 22 16:41:47 MET 2006  Gert Doering <gd@medat.de>

	* sendfax.c: for "failed transmitting", log #of pages successfully
	  sent + #of retries (important for judging significance of errors)

	* conf_sf.c: add new sendfax option "-R <n>" to set "max_tries" value

	* doc/sendfax.8in: document -R

Wed Oct 25 13:50:17 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* tools/README: update documentation, add "microcom"

	* class1lib.c: in fax1_send_frame(): make logging more uniform and
		       easier to read.  Handle case of "NO CARRIER" after
		       frame has been sent, and check for internal
		       consistency regarding "we have carrier" vs. "use
		       existing carrier" (ugly)

	* class1.c: on reception, don't try to send DIS when CSI frame
		    couldn't be sent.  Log # of current re-try.

Thu Oct 19 10:01:02 MEST 2006  Jan-Peter Koopmann

	* add exim4 documentation to frontends/mail2fax06/README

Fri Sep 29 13:05:40 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* class1lib.c: check all fax_send() return values (in case flow
	  control gets stuck, we might have a timeout in there)

	* class1.c: properly implement scan line time handling / byte padding

	* class1.c: implement re-training on TCF/FTT, including stepdown

	* class1lib.c: implement fax1_st_table[] for scan line time 
	        handling (bit ordering in DCS/DIS frames is just weird).
	        Add scan time parameter to fax1_send_dcs()

	* fax/faxspool.rules: add conversion rules for .jpg and .doc

Wed Sep 27 11:49:45 MEST 2006  Gert Doering <gd@mdat.de>

	* fax/faxrunqd.in: fix write combining bug with partially-sent jobs

Tue Sep 26 11:05:36 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* voice/libvoice/*: sparc64 compatibility fixes (*int vs. *p_int)

	* voice/Makefile: pull in new object files (hyla_nsf.o, g3file.o)

	* g3file.c: implement first draft of generic G3 I/O module,
	            including EOL padding 

	* t/t_g3f_c.c, t/t_g3file.in: test routines for g3file.c

	* class1.c: change fax1_send_page() to use g3_send_file()

	* fax/faxspool.in: netpbm calls "giftoppm" now "giftopnm" -> adapt

Fri Sep 22 23:43:51 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* frontends/mail2fax06/: implement new mail to fax conversion tool,
	  in perl, using MIME::Parser, which will properly handle attachments

Wed Jun 14 11:38:54 MEST 2006  Gert Doering <gd@medat.de>

	* tools/microcom.c: add <stdlib.h> to fix missing prototype warnings

	* config.c: insert {} to silence over-eager compiler warnings

	* tio.c: change "static char[] tio_compilation_type" into "#ident"
	  (get rid of "unused variable" warning, save a few bytes .data)

	* locks.c: get rid of "unused variable tries" compiler warning

	* hyla_nsf.c: add mgetty T.35 vendor code to table

Sat Jun 10 13:45:04 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* mgetty has its own ITU T.35 vendor code now! [0x04 0x81 0x0e]

Fri May 26 22:04:20 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* tools/mid.c: implement "-Q" (quick query)

Thu Apr 13 12:07:16 MEST 2006  Gert Doering <gd@medat.de>

	* faxlib.c: handle USR reporting format for NSF frames

Sun Apr  9 18:39:51 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* fax/faxrunqd.in: fix quoting bug in `date` call (Klaus Weglehner)

	* hyla_nsf.c: import new set of tables from Hylafax NSF.c++

Wed Mar 29 14:26:48 MEST 2006  Gert Doering <gert@greenie.muc.de>

	* hyla_nsf.c, class1.c, class1.h: silence compiler complaints

	* config.h: cast return value of c_bool() to (boolean)

Wed Mar 22 15:10:18 MET 2006  Gert Doering <gert@greenie.muc.de>

	* class1.c: hand off incoming NSF frames to decoder

	* faxlib.c: convert incoming NSF frames to binary, hand off to decoder

	* hyla_nsf.c: import NSF vendor tables + decoder from Hylafax

Tue Mar  7 15:10:13 MET 2006  Gert Doering <gert@greenie.muc.de>

	* class1.c: fax1_send_page(): fix end-of-page handling, reorder
		    sending of TSI and DCS to correctly handle RTP/RTN

	* class1.c: fax1_send_page(): properly use fax_send_swaptable[]
		    (page sending works now, if receiver doesn't need padding)

	* class1.c: fax1_send_page(): fix first and last chunk of page data
		    (digifax header wasn't skipped, and last chunk was lost)

	* class1.c: handle DCN in fax1_dial_and_phase_AB()

	* class1.c: add receive torture test (to sender), more logging

	* fax_lib.h: define CAN character (cancel, ctrl-x)

	* class1lib.c: fax1_receive_frame(): if waiting for start-of-frame 
		       already runs into timeout, don't even try to read
		       end-of-frame modem response (robustness)

	* class1lib.c: tell modem (send CAN character) when we timeout
		       after AT+FRH=n, to make sure recovering works

Mon Mar  6 17:27:04 MET 2006  Gert Doering <gert@greenie.muc.de>

	* class1lib.c: don't query AT+FRH=?/+FTH=? carriers

Wed Feb 22 18:10:50 MET 2006  Gert Doering <gd@medat.de>

	* */Makefile: move all "fullclean" extras into "clean" target,
	              remove "make fullclean"

	* Makefile: for "make fullclean" or "distclean", just do "clean"

Wed Feb 22 14:36:16 MET 2006  Gert Doering <gert@greenie.muc.de>

	* release 1.1.35

Sat Feb 18 13:42:59 MET 2006  Gert Doering <gert@greenie.muc.de>

	* tio.c: tio_check_speed(): set errno to EINVAL for invalid speeds

	* doc/faxq-helper.8in: add man page

Thu Feb  9 18:44:06 MET 2006  Gert Doering <gert@greenie.muc.de>

	* fax_lib.h, class1lib.c: implement MQ_C1_NO_V17

Thu Jan 19 14:41:33 MET 2006  Gert Doering <gd@medat.de>

	* fax/faxrunq.in: implement same acct.log format as in faxrunqd 1.71

	* www/faxhist.in: adapt to new acct.log, cleanup sorted output

	* www/faxhists.in: adapt to new acct.log, show total number of lines

Fri Jan 13 15:06:26 MET 2006  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: change output format for acct.log to something
	  that is more consistant and easier to parse

Tue Jan  3 11:17:07 MET 2006  Gert Doering <gert@greenie.muc.de>

	* use +FAA=x for adaptive answer in class 1.0 mode, +FAE=x in class 1
	  (this is very ill-standardized.  Some modems accept both, some
	  only one or the other)

Sun Jan  1 17:19:08 MET 2006  Gert Doering <gert@greenie.muc.de>

	* class1.c, class1lib.c: make (receive) code robust against all sort 
	  of unexpected behaviours (modem responses not coming back in time,
	  sudden hangups from the remote end, need for re-tries, etc.)
	  still not the full T.30 flow chart, but important parts of it.

Sat Dec 31 17:01:19 MET 2005  Gert Doering <gert@greenie.muc.de>

	* class 1 fax reception now "mostly works"

	* class1lib.c: correctly construct DIS frame from modem 
		       capabilities + user settings

	* faxrecp.c: use fax_recv_swaptable[] for bit swapping (if needed)

	* faxlib.c: initialize fax_recv_swaptable[] to swap bits in class 
		    1/1.0 mode, add lots of comments to explain background

	* mgetty.c: get non-adaptive answering in class 1/1.0 right

	* various: handle "class 1" and "class 1.0" the same way (for now)

Fri Dec 30 22:35:00 MET 2005  Gert Doering <gert@greenie.muc.de>

	* class1.c, class1lib.c: rework frame sending, handle DCS

	* faxrec.c: split faxrec() into fax class-independent part and
		    class 2/2.0 handler (fax2_highlevel_receive())

	* faxrec.c, policy.h: drop FAX_USRobotics cruft

	* conf_mg.c: drop FAX_USRobotics -> SWITCHBAUD 19200 logic

Wed Dec 28 22:56:57 MET 2005  Gert Doering <gert@greenie.muc.de>

	* faxrec.c, mg_m_init.c: preparations for fax class 1 receive

	* class1.c, class1lib.c: very preliminary fax class 1 receiver

	* class1.h: fix wrong value for T30_DCN

Tue Dec 20 22:01:48 MET 2005  Warren Burstein <warren@softov.co.il>

	* conf_mg.c: fix typo if MAIL_TO is undefined

Wed Nov 30 09:46:52 MET 2005  Gert Doering <gert@greenie.muc.de>

	* release 1.1.34

Sat Nov 26 14:28:09 MET 2005  Gert Doering <gert@greenie.muc.de>

	* mg_m_init.c: write to log file if blocking open() is used

	* logfile.c, tio.c, tio.h, mgetty.h: portability changes to 
	   GNU/kFreeBSD (by Robin Elfrink)

	* Makefile: new master FTP site is mgetty.greenie.net

Thu Nov 24 17:38:44 MET 2005  Gert Doering <gert@greenie.muc.de>

	* faxlib.c, voice/libvoice/detect.c: understand ATI response 1507
	  for another ZyXEL Omni 56K variant (56k Pro)

	* doc/mgetty.texi-in: document login-env-ttyprompt-hack

	* policy.h: drop description of ENV_TTYPROMPT, point to mgetty.texi

	* logname.c: replace #ifdef ENV_TTYPROMPT with run-time check of
	  the new config option, login-env-ttyprompt-hack

	* mgetty.c: pass c_bool(env_ttyprompt) to getlogname()

	* conf_mg.h, conf_mg.c: add option login-env-ttyprompt-hack

	* mgetty.c: cleanup, use set_env_var() to set TERM=...

Wed Nov  9 10:12:36 MET 2005  Gert Doering / D.Binderman

	* locks.c: a lprintf() call was missing a file name argument

Fri Jun 17 19:05:27 MEST 2005  Gert Doering <gert@greenie.muc.de>

	* faxlib.c: remove #ifdef FAX_USRobotics -> MQ_USR_FMINSP
	  (if someone still has such an old modem, setting
	  "modem_quirks 0x20" will do the same thing at run-time)

Wed Jun 15 11:43:12 MEST 2005  Marcus Meissner

	* voice/libvoice/record.c: fix (non-exploitable) 1-byte buffer 
	  overflow in construction of RMD file header

Wed May 25 16:04:11 MEST 2005  Gert Doering <gd@medat.de>

	* sendfax.c: alarm() out of fcntl() if it hangs > 10s. (AIX problem)

Mon Apr 25 16:27:14 MEST 2005  Gert Doering <gd@medat.de>

	* logname.c: drain tty output before changing CR/LF settings

	* mgetty.h, callback/callback.c: SIG_HDLR_ARGS cleanup

	* mgetty.h, locks.c: prototype for rmlocks() cleaned up

	* faxlib.c: decode & log receiver capabilities (+FDIS/+FIS)

Sat Apr 16 11:51:25 MEST 2005  Gert Doering <gert@greenie.muc.de>

	* cnd.c: add destination number format (NDID=...) for Digi DataFire

	* fax/faxq.in: add "faxq stop" and "faxq start" functionality

	* doc/faxq.1in: document start/stop

Sun Apr 10 23:02:00 MEST 2005  Gert Doering <gert@greenie.muc.de>

	* release 1.1.33

	* fax/faxq-helper.c: repair creation of multi-page fax JOB files

Wed Mar 23 10:57:05 MET 2005  Gert Doering <gert@greenie.muc.de>

	* ring.c: repair detection of V.253 RING signalling (<DLE>R)

Wed Mar 16 12:08:44 MET 2005  Gert Doering <gert@greenie.muc.de>

	* t/t_ring.c: add test module for "ring.c" and "cnd.c" functions

Sun Mar 13 12:43:08 MET 2005  Gert Doering <gert@greenie.muc.de>

	* release 1.1.32

	* voice/<lots of files>: import vgetty jumbo patch from Juergen
	Kosel, adding full duplex voice (experimental) and V.253 fixes

	* voice/libpvf/wav.c, voice/pvftools/pvfcut.c, pvfecho.c,
	pvfreverse.c: fix realloc(NULL) induced core dumps on older OSes

Sun Feb 27 12:58:29 MET 2005  Gert Doering <gert@greenie.muc.de>

	* g3/Makefile: add tests for g3cat -L/-w

	* g3/g3cat.c: add -L <max length> switch (cap lines in output file)

	* doc/g3cat.1in: document all command line switches

	* Makefile, mksed.c: new setting: SHELL_TRAP_POSIX

	* t/t_trap.in: test for correct shell/trap behaviour

	* fax/faxrunq.in: get correct "trap 0" syntax from sedscript

Thu Feb 24 17:24:18 MET 2005  Gert Doering <gd@medat.de>

	* fax/faxq-helper.c: fix scrubbing of JOB file lines, 
	create "user" line if not present

	* fax/faxspool.in: don't pass logname/id information to faxq-helper 
	anymore (unless "-u" is set) - caused weird problems, gains nothing

Thu Feb 17 12:08:13 MET 2005  Gert Doering <gd@medat.de>

	* fax/faxrunqd.in: speed up detection of new jobs in queue (<10s)

	* fax/faxrunqd.in: change over to 'use strict' perl

Mon Feb 14 13:41:49 MET 2005  Karsten Keil <kkeil@suse.de>

	* doc/mgetty.texi-in: dirindex node

	* mgetty.h: on __powerpc64__ platforms, define PTR_IS_LONG

Wed Feb  9 10:46:08 MET 2005  Gert Doering <gert@greenie.muc.de>

	* config.h: portability fixes ((int) cast) for 64bit platforms

Mon Jan  3 17:46:36 MET 2005  Matthias Andree <matthias.andree@gmx.de>

	* fax/faxrunq.in: workaround for bash 3.x "trap" incompatibility

Wed Nov 24 14:33:43 MET 2004  Gert Doering <gd@medat.de>

	* tools/microcom.c: add utra-light terminal program

	* fax/faxrunqd.in: Implement 'sendfax-tty-map' (run 
			   tty-specific sendfax binary)

	* fax/faxrunqd.in, faxrunq.in: implement update-call-program

Sun Nov 14 21:28:07 MET 2004  fdc@cliwe.ping.de (Frank D. Cringle)

	* frontends/X11/viewfax: import viewfax-2.6

Sat Nov 13 23:12:53 MET 2004  Gert Doering <gert@greenie.muc.de>

	* doc/faxrunqd.8in: document sendfax-tty-map & update-call-program

	* fax/faxspool.in: fix wrong test for "$HOME/.make.coverpg"

	* fax/faxspool.in: fix spooling from stdin ("faxspool 123 -")

	* faxlib.c: recognize "Eicon ISDN Modem" as DIVA card with class 2

Thu Nov 11 21:54:11 MET 2004  Gert Doering <gert@greenie.muc.de>

	* t/Makefile, t/t_echo.sh: add tests for $ECHO setting

Mon Nov  8 21:07:35 MET 2004  Gert Doering <gert@greenie.muc.de>

	* incorporate portability patches from NetBSD pkgsrc tree

Tue Nov  2 09:17:37 MET 2004  Gert Doering <gert@greenie.muc.de>

	* add t/ subdirectory and t/t_conf.c struct/int size test program

	* Makefile: call t/Makefile for "make test"

Sat Jul 24 16:54:52 MEST 2004  Gert Doering <gert@greenie.muc.de>

	* release 1.1.31

	* doc/mgetty.texi-in: add section on isdn4linux and CAPI

Sat Jul 17 17:21:38 MEST 2004  Gert Doering <gert@greenie.muc.de>

	* doc/sff2g3.1in: add man page for sff2g3

Sat Jul 17 12:18:28 MEST 2004  Andreas Barth <aba@not.so.argh.org>

	* cnd.c: add "+CLIP:" string for caller ID

	* voice/libvoice/detect.c: ATI codes for Zoom and Multitech modems

	* voice/libvoice/V253modem.c: more flexible sample/s. handling
	   (old stuff was fixed at 7200 hz)

	* voice/pvftools/pvftormd.c: accept 7200, 8000, 11025 Hz for "Lucent"

	* fax/faxspool.in: use per-user .faxheader/.make.coverpg files
	  instead of global defaults (if per-user files exists)

Fri Jul 16 19:03:48 MEST 2004  Gert Doering <gert@greenie.muc.de>

	* g3/Makefile: add "make test" test suite (for G3 tools)

	* g3/sff2g3.c: NEW: converter from CAPI SFF fax format to raw G3

	* Makefile: pack g3/sff2g3.c

Thu Feb  5 18:40:29 MET 2004  Gert Doering <gert@greenie.muc.de>

	* fax/faxspool: rework umask saving/restoring (use subshell trick)

Sat Jan 10 00:01:25 MET 2004  Gert Doering <gert@greenie.muc.de>

	* faxlib.c: add 1503 ID code (ZyXEL U-90E)

Tue Dec 16 12:46:52 MET 2003  Andreas Barth <aba+nospam@not.so.argh.org>

	* Makefile: remove -DAUTO_PPP

	* policy.h: include FIDO and AUTO_PPP here

Fri Dec  5 22:46:47 MET 2003  Ken Findlay <kjf@taylorbritt.com>

	* login.c: empty lines should never match, not even empty user names

Mon Nov 17 20:08:59 MET 2003  Gert Doering

	* mgetty.c: log warning if parent PID is not "1" (init)

	* mgetty.cfg.in: add clarification about "direct yes" to sample cfg

Fri Nov  7 21:47:27 MET 2003  Andreas Barth <aba+nospam@not.so.argh.org>

	* fax/faxspool.in: add per-user faxheader and coverpg files

	* doc/faxspool.1in, mgetty.texi: document new feature

Thu Oct  9 12:44:47 MEST 2003  Gert Doering

	* fax/faxspool.in: reject empty (0 bytes) input files

Sun Oct  5 13:59:51 MEST 2003  Gert Doering

	* do_chat.c: make clean_line() logging show the timeout value

Mon Sep 29 23:36:34 MEST 2003  Andreas Barth

	* contrib/g3tolj.c, g3toxwd.c: clean up protoypes and return types

	* various .c files: integrate Debian cleanup fixes (usually 
	  adding <string.h> and/or <stdlib.h> where missing)

Wed Aug 20 12:39:53 MEST 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxrunqd.in: change signal handling - use HUP for graceful
	    exit, and dump statistics to logfile upon receipt of USR2

Sat Jun 28 22:14:35 MEST 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxq-helper.c: honour user umask when spooling G3 files
	  (user decides whether group/other can read faxes)

	* fax/faxspoool.in: reset umask after creating tmpdir (with umask 077)

	* fax/faxq-helper.c: file name validation was overly strict - 
	  accept anything that's printable, not a space, '/' or '\'

Thu Jun 12 16:56:44 MEST 2003  Gert Doering (gert@greenie.muc.de)

	* faxlib.c: Multitech and USR return class 2.0/2.1 +FPS:<x>,<lc>
	  values in decimal, not hex -> change +FPS: parser to do decimal
	  for those modems (via modem_quirks |= MQ_FPS_NOT_HEX)

	* fax_lib.h: add MQ_FPS_NOT_HEX modem quirk bit

	* faxrec.c, faxrecp.c: understand VR=8 for "normal mode" (200x100 dpi)

Mon Apr 28 19:41:14 MEST 2003  Gert Doering (gert@greenie.muc.de)

	* logname: make "buffer overrun" error message more precise

Wed Apr 23 10:49:25 MEST 2003  John R. Jackson <jrj@purdue.edu>

	* voice/libutil/access.c: more verbose error reporting

Wed Apr  9 23:05:23 MEST 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxspool.in: fix spooling without header line (-h -)

Sun Apr  6 16:09:14 MEST 2003  Andreas Barth <aba@not.so.argh.org>

	* mgetty.8in, mgetty.texi-in: document escape sequences for
	  /etc/issue and login prompt.

Wed Mar  5 21:37:38 MET 2003  Gert Doering (gert@greenie.muc.de)

	* Makefile: abort "make install" before installing faxspool
	  if fax user does not exist

	* Makefile: unconditionally chown $FAX_SPOOL_OUT to fax user

Tue Feb  4 17:46:45 MET 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxq-helper.c: uid=0 overrides access permission checks

	* fax/faxrm.in: bugfix: get faxq-helper path from sedscript

Tue Jan 21 14:27:39 MET 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxspool.in: abort with a proper error message on input file
	  names containing white space or quote characters

Tue Jan 14 14:30:42 MET 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxrunqd.in: include "success" counter in per_phone_statistics

	* ugly.h: #define USE_VARARGS for non-Ansi C compilers

	* logfile.c: change #include<> sequence to catch USE_VARARGS def.

Wed Jan  8 23:03:26 MET 2003  Gert Doering (gert@greenie.muc.de)

	* fax/faxrunqd.in: if a fax job fails, reschedule on different
	  modem (if possible)

	* voice/libvoice/V253modem.c: fix ELSA_RMD_NAME (used for
	  V.253 modem <-> other modem RMD equivalency checks)

Mon Dec 16 14:08:06 MET 2002  Gert Doering (gert@greenie.muc.de)

	* release 1.1.30

Sun Dec 15 20:45:48 MET 2002  Gert Doering (gert@greenie.muc.de)

	* voice/vgetty/answer.c, voice/include/default.c: integrate Paul
	Fox' pre_message and beep_sound patches

Thu Dec 12 07:33:12 MET 2002  Gert Doering (gert@greenie.muc.de)

	* voice/libvoice/detect.c: recognize MultiTech MT3334ZDXV

	* faxhng.c: add some result codes for the i4l DIVA driver

	* voice/libvoice/IS_101.c: fix DTMF events for the unshielded case

Thu Dec  5 17:40:05 MET 2002  Gert Doering (gert@greenie.muc.de)

	* voice/vgetty/answer.c: accept arbitrary ring types, not only 0..6

Wed Dec  4 09:15:47 MET 2002  Gert Doering (gert@greenie.muc.de)

	* ring.c: map DRON/DROF return codes to binary word, use result
	  as distinctive RING number

Tue Dec  3 23:10:05 MET 2002  Gert Doering (gert@greenie.muc.de)

	* frontends/www/README: add user authentication example

Mon Nov 25 22:16:41 MET 2002  Gert Doering (gert@greenie.muc.de)

	* voice/libvoice/V253modem.c: repair messed-up 16 bit PCM patch

Mon Nov 25 14:05:20 MET 2002  Gert Doering (gert@greenie.muc.de)

	* release 1.1.29

	* voice/libvoice/detect.c: insert delay before sending ATE0 to
	  modem (timing issue - modem might not have sent the full \r\n
	  sequence from the last "OK" yet when the new AT comes in)

Sat Nov 23 12:55:39 MET 2002  Gert Doering (gert@greenie.muc.de)

	* doc/*.[158]in: bring man pages up to date

	* tools/ltest.c, tools/mid.c: adapt to new lprintf() prototype

	* mgetty.h, logfile.c: adapt to use <stdarg.h> and "..."
	  function declaration (unless USE_VARARGS is set, which is
	  needed for NeXT platforms).  Karsten Keil <kkeil@suse.de>.

	* Makefile: relax permissions on sendfax and faxrunq.config
	  install - must be readable/executeable by user "fax" now

	* doc/faxrunqd.8in: document "-u", minor updates

	* fax/faxrunqd.in, fax/faxspool.in, fax/faxrunq.in: revert 
	  Aug 6, 200 change - put faxqueue_done back into $FAX_SPOOL_OUT/
	  (faxrunq/faxrunqd have no access rights to $VARRUNDIR/ anymore,
	  and $FAX_SPOOL_OUT is no longer world writeable anyway)

	* fax/faxq.in: change from .last_run to faxqueue_done

	* fax/faxrunqd.in: add "-u <user>" switch (set uid to <user>)

	* fax/faxq-helper.c: finalize new fax queue handling using helper
	  process (suid fax) and a fax queue that is no longer
	  world-readable (open issue since 1994 :) )

	* faxrecp.c: implement experimental teergrubing mode (signal
	  "page bad, please retransmit" at the end of each page - or just
	  hang up hard on caller).  Activared with "modem-quirks 0x100"
	  or "0x200", respectively.

Tue Nov 19 12:13:46 MET 2002  Gert Doering (gert@greenie.muc.de)

	* voice/libvoice/V253Modem.c: add 16 bit linear PCM support
	  (patch coming from Peter Bruley)

	* voice/pvftools/pvftormd.c, rmdtopvf.c: add 16 bit linear PCM

	* rework faxq-helper concept (suid root -> suid fax)

	* fax/faxq.in: adap "-r" to use faxq-helper

Sun Nov 17 22:19:56 MET 2002  Gert Doering (gert@greenie.muc.de)

	* fax/faxspool.in: adapt to use faxq-helper

	* fax/faxrm.in: adapt to use faxq-helper

	* Makefile: create FAX_SPOOL_OUT with mode 755 and owner FAX_OUT_USER

	* Makefile: add FAX_OUT_USER definition, pass lots of variables
	  to fax/Makefile (for faxq-helper)

	* README.1st: add instructions about FAX_OUT_USER setup

	* doc/mgetty.texi-in add instructions about FAX_OUT_USER setup

Wed Nov 13 23:12:30 MET 2002  Gert Doering (gert@greenie.muc.de)

	* fax/faxrunqd.in: fix symlink / file overwrite race in JOB files.
	  Pointed out by Jablonovsky Alexander <sasha@cit-saratov.ru>

	* doc/faxrunq.8in: point out insecurity in symlink handling

Tue Nov 12 22:42:33 MET 2002  Nalin Dahyabhai <nalin@redhat.com>

	* mgetty.h: Intel 64bit platforms (__x86_64__) needs PTR_IS_LONG

Wed Nov  6 23:56:05 MET 2002   Gert Doering (gert@greenie.muc.de)

	* voice/libvoice/IS_101.c: implement DLE shielding for long DTMF tones 
	  for V.253 (initially by Lee Howard <faxguy@howardsilvan.com>)

	* mgetty.c: throw out DIST_RING #define - not used anymore

Tue Nov  5 22:41:29 MET 2002   Gert Doering (gert@greenie.muc.de)

	* ring.c: make sure action strings (CONNECT) are only recognized
	  at the beginning if a line, not in the middle (Paul Fox, 
	  pgf@foxharp.boston.ma.us, CALLER NAME = CONNECTICUT).  

	* cnd.c: replace non-printable characters and quotes in caller ID
	  or caller name strings with ' ' - safeguard for passing them to 
	  shell later on.

Mon Nov  4 23:43:28 MET 2002   Gert Doering (gert@greenie.muc.de)

	* doc/mgetty.texi-in: add stuff about recent multitech modems,
	  superfine+v.34 fax, and rework chapter about common problems

	* faxlib.c: fix ugliness with USR modems reporting remote fax
	  ID as "     12345" -> skip leading '"' and all whitespace

Sun Oct 20 14:32:05 MEST 2002  Gert Doering (gert@greenie.muc.de)

	* cnd.c: possible buffer overrun via CallName
	  (found by "A. Guru" <a.guru@sympatico.ca>)

Mon Apr  8 22:28:11 MEST 2002  Gert Doering (gert@greenie.muc.de)

	* fax/faxrunqd: fix priority vs. write combining bug

Mon Mar 11 19:26:29 MET 2002   Gert Doering (gert@greenie.muc.de)

	* login.c: check for close-on-exec bit on FD 0 (FreeBSD 4.1 bug)

Sat Mar  2 19:23:35 MET 2002   Gert Doering (gert@greenie.muc.de)

	* login.c: export Caller Name as environment variable $CALLER_NAME

Wed Feb 20 18:28:40 MET 2002   Gert Doering (gert@greenie.muc.de)

	* login.c: make message about bad permissions even more clear

Thu Jan 10 21:11:20 MET 2002   Gert Doering (gert@greenie.muc.de)

	* release 1.1.28

	* faxrec.c: replace "0"'s by "STDIN" (readability)

Fri Jan  4 18:50:31 MET 2002   Gert Doering (gert@greenie.muc.de)

	* doc/mgetty.texi-in: some updates

	* doc/faxrunq.1in, doc/faxrunqd.8in: document calling convention
	changes (as below)

	* fax/faxrunq(d).in: pass (last) sendfax return code as 2nd
	argument to success/failure program

Mon Dec 17 22:55:56 MET 2001   Gert Doering (gert@greenie.muc.de)

	* policy.h, utmp.c: incorporate some NetBSD changes

	* various: change time() prototype to "time_t time(time_t *tloc)"

	* mgetty.h, syslibs.h, logfile.c: some #ifdef fiddling for Darwin

Sun Dec 16 14:56:18 MET 2001   Gert Doering (gert@greenie.muc.de)

	* doc/faxrunq.1in, doc/faxrunqd.8in: document more stuff

	* fax/faxrunq, fax/faxrunqd: don't run queue if a file
	$FAX_SPOOL_OUT/stop exists.

Sun Dec  2 14:23:34 CET 2001   Gert Doering (gert@greenie.muc.de)

	* login.c: MAX_LOGIN_ARGS handling reworked (claimed N, but allowed 
	  only N-1), plus warning message improved.  <Juergen.Kosel@gmx.de>

Sun Oct 21 16:40:51 MEST 2001  Gert Doering (gert@greenie.muc.de)

	* release 1.1.27

	* doc/mgetty.texi-in: work on isdn4linux notes

	* cnd.c (cndtable): add swedish ZyXEL caller ID format (T. Lundgren)

	* cnd.c (cndtable): add "CALLED NUMBER:" (Jan Oberlaender/i4l)

Fri Sep 28 23:06:24 MEST 2001  Gert Doering (gert@greenie.muc.de)

	* various: adaptions to OpenBSD (similar to NetBSD)

Mon Jun 18 22:26:08 MEST 2001  Gert Doering (gert@greenie.muc.de)

	* mgetty.h: patch to adapt to Linux/S390 (PTR_IS_LONG)

	* frontends/www/: integrate new version from Neko

Mon Apr 16 10:56:21 MEST 2001  Gert Doering (gert@greenie.muc.de)

	* release 1.1.26

	* frontends/windows/lprfax.txt: add description of "fax port monitor"

Tue Mar 13 21:32:47 MET 2001  Gert Doering (gert@greenie.muc.de)

	* login.c: export current tty as $DEVICE to shell

Sat Feb 24 11:48:11 MET 2001  Gert Doering (gert@greenie.muc.de)
	
	* updates to frontends/www/ (minor bug fixes)

	* updates to voice/ (see voice/ChangeLog)

Sat Feb 24 12:47:19 2001  Marc SCHAEFER  <schaefer@vulcan.alphanet.ch>

	* dialin.config: added V253 codes for OUT_OF_AREA and PRIVATE.

Thu Feb  1 22:20:10 MET 2001  Gert Doering (gert@greenie.muc.de)

	* release 1.1.25

Sat Jan 27 19:14:15 MET 2001  Gert Doering (gert@greenie.muc.de)

	* mksed.c: fix @KVG_PID_FILE@

	* getdisk.c: fix overflow on file systems with > 2G (2^31 bytes) free

	* getdisk.c: default MINFREESPACE from policy.h was interpreted
	  as *bytes*, not as *kbytes*.  Which kind of defeats the purpose
	  of checking for "enough disk space".  Fixed, work with kbytes now.

Fri Jan 19 20:51:31 MET 2001  Gert Doering (gert@greenie.muc.de)

	* ring.c: add isdn4linux form "RING/<dest.MSN>" (*sigh*)

Mon Jan  8 11:19:16 MET 2001  Gert Doering (gert@greenie.muc.de)

	* goodies.c: fix include files (Linux/FreeBSD/SVR4 dependent)

Sun Jan  7 21:10:28 MET 2001  Gert Doering (gert@greenie.muc.de)
	
	* release 1.1.24

Sun Jan  7 00:28:09 MET 2001  Gert Doering (gert@greenie.muc.de)

	* faxrecp.c: check access rights first, space second (this will
		 give clearer log messages for non-existing directories)

	* getdisk.c: fix #ifdef mess (this code did never work!)

Fri Jan  5 19:30:39 CET 2001   Gert Doering (gert@mobile.greenie.muc.de)
	
	* faxrecp.c: accept multiple directories for fax storage,
	  separated by ':'.  Use the first one that is writeable and 
	  has enough disk space.

	* mgetty.c, conf_mg.c, conf_mg.c: add "fax-spool-in" config file 
	  option to set the incoming fax dir(s).

	* doc/mgetty.texi-in: document fax-spool-in

Thu Jan  4 18:32:24 CET 2001   Gert Doering (gert@mobile.greenie.muc.de)

	* faxrecp.c: change fax page writing to open( O_EXCL|O_CREAT )

	* locks.c: use mkstemp() to create tmp file, if available, 
	  open( O_EXCL|O_CREAT ) otherwise.

	* goodies.c: FreeBSD 3.3 already has /proc/<pid>/cmdline

Thu Dec 21 23:04:25 MET 2000   Gert Doering (gert@greenie.muc.de)

	* release 1.1.23

	* goodies.c: on FreeBSD 4, use /proc/<pid>/cmdline

	* mgetty.c: understand VMA_FAX vgetty return codes (unexpected +FCO)

Sat Sep 23 16:50:14 MEST 2000  Gert Doering (gert@greenie.muc.de)

	* mgetty.h: Intel ia64 adaptions (PTR_IS_LONG) 
		(coming from RedHat patches)

Sat Aug 26 13:10:00 MEST 2000  Gert Doering (gert@greenie.muc.de)

	* frontends/X11/: new viewfax version (2.5)

Thu Aug 17 19:58:20 MEST 2000  Gert Doering (gert@greenie.muc.de)

	* release 1.1.22

Mon Aug 14 21:20:26 MEST 2000  Gert Doering (gert@greenie.muc.de)

	* callback/callback.c: use VARRUNDIR instead of MGETTY_PID_FILE

	* mgetty.c: use VARRUNDIR to get name of PID file, non-conditional

	* policy.h: MGETTY_PID_FILE is gone, VARRUNDIR used instead

	* mgetty.c: write CallerId to UTMP, if available, Connect otherwise

Sun Aug  6 16:13:43 MEST 2000  Gert Doering (gert@greenie.muc.de)

	* fax/faxspool: convert .pdf files via Acroread (contributed by
	Michael Fischer v. Mollard, mfvm@gmx.de).

	* Makefile, mksed: introduce $VARRUNDIR

	* fax/faxrunqd.in, fax/faxrunq.in, fax/faxspool.in: change
	location of ".last_run" to $VARRUNDIR/faxqueue_done (previously,
	$fax_spool_out/.last_run creation was vulnerable to symlink attacks)

Tue Jul  4 20:56:30 MEST 2000  Gert Doering (gert@greenie.muc.de)

	* cnd.c: add NMBR=<nnn> format for Digi DataFire RAS

Tue Nov 02 15:23:52 1999  Gert Doering (gert@greenie.muc.de)

	* login.c: add \Y hack (simplar to \I) to get CallerID in ut_host field

Sat Jul 31 22:10:09 1999  Gert Doering (gert@greenie.muc.de)

	* faxlib.c: distinguish Elink 310 and Elink 343

Sat Jul 22 11:23:29 2000  Marc SCHAEFER  <schaefer@vulcan.alphanet.ch>

	* SGML FAQ update.

Sat Jul 24 23:25:17 1999  Gert Doering (gert@greenie.muc.de)

	* release 1.1.21

	* ring.c: accept a few additional caller/called ID formats

Mon Jun 07 22:42:29 1999  Gert Doering (gert@greenie.muc.de)

	* ring.c: fix bug with CalledNr saving if msn_list is empty

Thu May 27 15:49:11 1999  Gert Doering (gd@medat.de)

	* frontends/www/: check in latest version (view both queues)

	* fax/faxspool.in: implement calling of external programs to do
	the G3 conversion (fall back to internal functions)

Sat May 22 13:37:28 1999  Gert Doering  (gd@medat.de)

	* fax/faxrunqd.in: phase II of "write combining" done (send
	multiple faxes to one number in one sendfax call)

Sun May 09 13:05:50 1999  Gert Doering  (gert@greenie.muc.de)

	* ring.c: count "NMBR =" line as "RING", so answering is quicker
	even when waiting for the Caller ID line to come in.

Sat May 01 22:20:15 1999  Gert Doering  (gert@greenie.muc.de)

	* fax/faxrunqd.in: restructure code to handle multiple jobs to
	same phone number (preparations for "write combining")

Sun Feb 28 14:26:08 1999  Gert Doering  (gert@greenie.muc.de)

	* mg_m_init.c: add need-dsr / DSR+CTS test loop (modem off)

	* conf_mg.h, conf_mg.c: add need-dsr flag

	* fax/faxrunqd.in: fix "pid file" handling bug (recognize own PID)

Wed Feb 24 14:05:58 1999  Gert Doering (gd@medat.de)

	* conf_mg.h, conf_mg.c: add data-flow/fax-send-flow/fax-rec-flow

	* conf_sf.h, conf_sf.c: add fax-send-flow/fax-rec-flow

	* config.c: implement CT_FLOWL (flow control definition)

	* mgetty.h, tio.h: move FLOW_* definitions to mgetty.h

	* config.h, login.c: fix non-ANSI-C bugs

Tue Feb 16 21:10:31 1999  Gert Doering (gert@greenie.muc.de)

	* frontends/www/faxsend.in: finish first cut

	* conf_mg.c, login.c, mgetty.c: make login.config run-time configurable

Sat Feb 13 13:19:18 1999  Gert Doering (gert@greenie.muc.de)

	* fax/faxrunqd.in: implement -V

	* fax/faxrunqd.in, faxrunq.in: write program name to .last_run

Sun Jan 17 18:22:48 1999  Gert Doering (gert@greenie.muc.de)

	* implement automatic PGP signing of created tarballs

	* release 1.1.20

	* login.c: log warning if too many command line arguments given 

Sat Jan 16 18:19:36 1999  Gert Doering (gert@greenie.muc.de)

	* frontends/www: detail fixes, some new features

	* contrib/ptylogin/: add Marc Schaefer's ptylogin program, for
          securing modem/shell access to really untrustworthy people.

Tue Jan 12 14:39:15 1999  Gert Doering (gert@greenie.muc.de)

	* cnd.c: accept ELSA (V25bis?) multi-line responses +MCR/+MRR

	* faxrec.c: log number of sent pages (for polling)

	* policy.h: change comments for EXEC_FUSER

	* mgetty.c: remove #ifndef linux (et al) around EXEC_FUSER

Sun Dec 06 20:06:35 1998  Igor Sysoev  (gert@greenie.muc.de)

	* locks.c: fix internal race condition (that could lead to
	deleteding "foreign" lock files)

Tue Nov 24 21:09:05 1998  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.19

	* frontends/www/faxhists.cgi: new search function (for acct.log)

Sun Nov 22 11:05:58 1998  Gert Doering  (gert@greenie.muc.de)

	* faxlib.c: add Zoom/NX autodetection

	* frontends/www: fine tuning, better error messages, modularity

Thu Nov 19 22:30:43 1998  Gert Doering  (gert@greenie.muc.de)

	* ring.c: merge ISDN MSN/CallerID for Zoom/NX (Thomas Schuett)

Thu Nov 12 16:26:59 1998  Gert Doering  (gert@greenie.muc.de)

	* merge Debian documentation/faxrunq.config updates

	* frontends/www: 'make install' works now

Tue Oct 13 17:24:20 1998  Gert Doering  (gert@greenie.muc.de)

	* frontends/www: more work on the WWW GUI

	* faxlib.c: ignore quote characters in the remote fax id
	completely (USR modems always send them)

Fri Sep 11 11:29:17 1998  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.18

Wed Sep 09 23:22:27 1998  Gert Doering  (gert@greenie.muc.de)

	* merge Marc's latest voice/ tree

	* some work on frontends/www/

Mon Sep 07 08:57:16 1998  Gert Doering  (gert@greenie.muc.de)

	* mg_m_init: if TIOCSCTTY fails and getppid() != 1, log a warning
	"must run mgetty from /etc/inittab" (Russell King).

Tue Sep 01 12:09:16 1998  Gert Doering  (gert@greenie.muc.de)

	* mgetty.c: after "waiting...", call log_close() to make sure
	that the log file is properly reopened (could have been moved away
	by "savelog" etc. in the meantime) (Phil Hands/Debian)

	* logfile.c: add log_close() function

	* ring.c: fix 'forgetting of dist_ring number' bug (Joerg Friedrich)

	* logname.c(ln_escape_prompt): add some more escape sequences
	to get same features as 'agetty' (Phil Hands/Debian)

Fri Aug 28 16:23:49 1998  Gert Doering / Simone Demmel

	* frontends/www/: work on WWW GUI

Tue Aug 11 16:34:19 1998  Gert Doering  (gd@medat.de)

	* fax/faxrunq.in: implement $max_fail_total, restructure code

Fri Aug 07 19:41:39 1998  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.17

Mon Aug 03 22:02:16 1998  Gert Doering  (gert@greenie.muc.de)

	* policy.h: remove FAXSEND_NO_XON

	* doc/mgetty.texi-in: document "modem-quirks"

	* mgetty.c(main): implement "post-init-chat" for modems that
	forget some part of their setup during fax/voice initialization

	* conf_mg.c, conf_mg.h: add "post-init-chat" command

Sun Aug 02 22:50:53 1998  Gert Doering  (gert@greenie.muc.de)

	* mgetty.c: remove all "RING A" / "RING 1" etc. action items --
		    they will break the new distinctive RING code in
		    ring.c (found by Gord Lamb)

Tue Jul 21 00:03:18 1998  Frank D. Cringle  (fdc@cliwe.ping.de)

	* fax/faxrunqd.in: get rid of "not reached" warning after exec()

Thu Jul 16 11:24:30 1998  Gert Doering (gert@greenie.muc.de)

	* README.1st: point to the mailing list

Sun Jul 05 22:28:05 1998  Gert Doering (gert@greenie.muc.de)

	* release 1.1.16 (this bug is just too embarassing)

	* doc/mgetty.texi-in: rewrite US Robotics chapter

	* policy.h, doc/mgetty.texi-in, doc/modems.db: remove all
	    references to FAX_SEND_IGNORE_CARRIER, this is really 
	    better done using sendfax.config.

	* conf_sf.c: make "ignore-carrier yes" the default value

	* ring.c: fix bug with standalone CallerID/RING (Florian La Roche)

Thu Jul 02 11:42:54 1998  Gert Doering (gd@medat.de)

	* release 1.1.15 (on time for the C't magazine article)

	* sendfax.c: better logging for command line errors

	* conf_sf.c, conf_sf.h: add fax_max_speed/fax_min_speed/-M

	* sendfax.c: use fax_max_speed settings

	* conf_mg.c, conf_mg.h: add fax_max_speed/fax_min_speed

	* mgetty.c, mgetty.c, mg_m_init.c: use fax_max_speed settings

Fri Jun 19 22:30:02 1998  Gert Doering (gert@greenie.muc.de)

	* cnd.c: add 'CallName' to call to 'cnd-program'

Wed Jun 17 11:37:52 1998  Gert Doering (gert@greenie.muc.de)

	* Makefile, tio.h: throw away AIX3_FLOW, use '!_AIX41' instead

	* login.cfg.in: clarify comments, remove 'kdebug 7'

	* mgetty.c: change call to vgetty_answer to use new dist_ring flag

Mon Jun 01 14:08:56 1998  Gert Doering (gert@greenie.muc.de)

	* cnd.c: implement cnd_call() [using system(), so beware...]

	* mgetty.c: call "cnd_call" (in cnd.c) to decide upon call acception

	* conf_mg.c, conf_mg.h: add "cnd-program" option

	* doc/mgetty.texi-in: document "cnd-program" (CallerID/mgetty.config)

	* callback/callback.c: fix stupid bug with "+" and "?" precendence,
	implement "-d" option (thanks to Gabor J. Toth)

Mon May 25 13:49:19 1998  Gert Doering (gd@medat.de)

	* fax/faxrunq.in, faxrunqd.in: put job number (F...) into acct.log

Sat May 09 16:36:52 1998  Gert Doering (gert@greenie.muc.de)

	* mgetty.h, logname.c: fix from Olaf Kirch to accept PPP frames
	with escaped "ALL STATIONS" byte (0xFF).

Sat May 02 20:51:32 1998  Gert Doering (gert@greenie.muc.de)

	* ring.c: save ISDN MSN to CalledNr

	* cnd.c: new global variable, "CalledNr" for called number (MSN)

	* mgetty.c: pass information about "callback?" to login_dispatch()

Thu Apr 23 20:18:06 1998  Gert Doering (gd@medat.de)

	* fax/faxrunqd.in: make faxrunqd more robust in case of modem
	outages, and make it load-balance jobs better.

Sat Apr 18 23:32:19 1998  Gert Doering (gert@greenie.muc.de)

	* cnd.c: add support for "Kortex Adaptix" CallerID format

	* conf_mg.c, conf_mg.h: add "msn-list" option

	* ring.c: implement MSN -> distinctive RING mapping

Fri Apr 17 09:35:49 1998  Gert Doering (gert@greenie.muc.de)

	* ring.c: implement ELSA and ZyXEL-I CallerID/MSN display

	* ring.c: adapt to USR type B CallerID: "RING 12345<cr>"

	* fax/faxspool.in: use "wc -w", not "wc -l" (Joseph Kwok).

Wed Apr 15 21:49:56 1998  Gert Doering (gert@greenie.muc.de)

	* mgetty.c, mgetty.h: use wait_for_ring() instead of do_chat()
	now [no support for distinctive RING yet].

Mon Apr 13 20:00:44 1998  Gert Doering (gert@greenie.muc.de)

	* ring.c: start work on RING handler rewrite

Sun Apr 05 15:11:49 1998  Gert Doering (gert@greenie.muc.de)

	* logname.c: replace \Y in /etc/issue with the Caller ID

Thu Apr 02 18:45:13 1998  Gert Doering (gert@greenie.muc.de)

	* release 1.1.14

	* mgetty.c: recognize "RING U" as A_RING5 (Nick Holloway)

	* logname.c, g3/g32pbm.c: fix some warnings (Florian La Roche)

Wed Apr 01 20:05:28 1998  Gert Doering (gert@greenie.muc.de)

	* Makefile, ftp.sh: gzip diffs before uploading

	* Makefile, doc/mgetty.texi: new master FTP site: alpha.greenie.net

Sat Mar 28 22:29:08 1998  Gert Doering (gert@greenie.muc.de)

	* release 1.1.13

Thu Mar 26 10:04:20 1998  Gert Doering (gert@greenie.muc.de)

	* cnd.c: repair ELSA CID support

	* frontends/dialog/: remove listen.in, doesn't work anymore

	* Makefile: remove all references to VOICE_DIR

Sat Mar 14 19:25:31 1998  Gert Doering (gert@greenie.muc.de)

	* cnd.c: add [preliminary] support for ELSA ISDN Caller-ID

	* fax/faxrunqd: new scheduler with all bells and whistles done

Fri Feb 06 17:19:23 1998  Gert Doering  (gd@medat.de)

	* fax/faxrunqd: first cut of new scheduler / queue manager

Tue Jan 27 12:34:36 1998  Gert Doering  (gd@medat.de)

	* release 1.1.12

	* new voice tree from Marc

	* fax/faxrunqd: preparations for new per-modem queues

Tue Jan 20 11:40:40 1998  Gert Doering  (gd@medat.de)

	* fax/faxrunqd: change format of "faxrunqd.policy" file

	* tools/ltest.c: add -d, -k options (RTSL)

	* tio.c: implement tio_set_rs232_lines() (for systems with the
	TIOCMBI[CS] ioctl() calls)

Sun Jan 18 18:08:35 1998  Gert Doering  (gert@greenie.muc.de)

	* mg_m_init.c: add detection for "setserial spd_hi/spd_vhi" and
	warn user if this is active (use of setserial is deprecated)

Fri Dec 19 17:06:55 1997  Gert Doering  (gd@medat.de)

	* sendfax.c: add better logging (L_AUDIT) for "failed startups"

Tue Dec 16 12:35:47 1997  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.11

	* voice/: revert to 1.1.9

	* div: put single quotes around all occurences of "caller=<CND>" 
	in L_AUDIT messages - <CND> may contain whitespace.

	* logfile: do not convert trailing \n for L_AUDIT lines to "_"

Mon Dec 15 00:22:04 1997  Gert Doering  (gert@greenie.muc.de)

	* class1.c, class1lib.c, class1.h: preliminary work for class 1
	support

Fri Dec 12 15:12:49 1997  Gert Doering  (gert@greenie.muc.de)

	* fax/faxrunq.in: change format of 'acct.log' into a more machine-
	readable form (same as faxrunqd uses)

	* sendfax.c, faxlib.c: add necessary "hooks" for first class 1
	implementation

	* class1lib.c: start low-level class 1 work

Wed Dec 10 12:52:13 1997  Gert Doering  (gd@medat.de)

	* fax/faxrunqd.in: use age of job in sorting queue (to prevent
	starving very long jobs on very busy machines)

	* fax/faxrunqd.in: correctly handle case if sendfax is killed by
	an unexpected/uncaught signal.

	* fax/faxq.in: add "-P" option, create .queue-changed if -r/-P used

	* fax/faxrunqd.in: if $FAX_SPOO_OUT/.queue-changed exists, flush
	in-memory queue and re-read fax queue from disk

Tue Dec 09 13:31:19 1997  Gert Doering  (gert@greenie.muc.de)

	* frontends/voice: add am_tools.tar (answering machine)

	* faxlib.c: add 56k Rockwell modems (ATI -> 56000)

	* faxsend.c, policy.h: FAXSEND_NO_XON is obsolete, use
	"modem-quirks 0x08" in sendfax.config instead.

Sun Dec 07 13:50:01 1997  Gert Doering  (gert@greenie.muc.de)
	
	* release 1.1.10

	* voice/: fix minor build problems on SCO.

Sat Dec 06 00:45:17 1997  Gert Doering  (gert@greenie.muc.de)

	* conf_mg.c, conf_mg.h, conf_sf.c, conf_sf.h: add "modem-quirks"

	* conf_mg.c: fix accident "fallthrough" for "-b"

	* modem.c (mdm_get_idstring): never return NULL, use "<ERROR>"

	* faxlib.c,sendfax.c: add new modem type (auto1), start playing 
	with modem capability identification via AT+FCLASS=?

Thu Dec 04 12:48:22 1997  Gert Doering  (gert@greenie.muc.de)

	* faxlib.c: add auto-detection for USR V.32terbo/fax bugs

	* fax/faxrunqd.in: add "policy routing" feature

Tue Dec 02 17:21:48 1997  Gert Doering  (gert@greenie.muc.de)

	* sendfax.c, mgetty.c: be more paranoid about queue flushing
	  when exit()ing after modem initialization failure

Fri Nov 28 11:31:10 1997  Gert Doering  (gd@medat.de)

	* faxlib.c: prepare for class 2.1/V.34 speeds

	* mgetty.c: write user ID and parent PID to log file (diagnosis)

Wed Nov 26 18:05:20 1997  Gert Doering  (gert@greenie.muc.de)

	* conf_sf.c: implement '-D' as command-line option to set 'dial-prefix'

Tue Nov 18 11:57:46 1997  Gert Doering  (gd@medat.de)

	* fax_lib.h, faxlib.c: make FAX_USRobotics a "modem quirks" flag

	* mgetty.h: on GLIBC 2.x systems, use HAVE_SIGINTERRUPT, otherwise
	    timeout handling breaks (glibc restarts system functions)

Sat Nov 15 21:15:36 1997  Gert Doering  (gert@greenie.muc.de)

	* fax/faxrunqd.in: scheduler tweaks, SIGUSR2, logging, config

Tue Nov 11 21:24:46 1997  Gert Doering  (gd@medat.de)

	* fax/faxrunqd.in: smarter scheduling for many jobs on many modems

Mon Nov 03 10:01:24 1997  Gert Doering  (gert@greenie.muc.de)

	* voice/: switch over to remote-CVS

Sat Nov  1 17:31:37 MET 1997  Gert Doering  (gert@greenie.muc.de)

	* policy.h: make /var/log/sendfax.log the default for FAX_LOG

Fri Oct 31 13:54:39 1997  Gert Doering  (gert@greenie.muc.de)

	* doc/mgetty.texi-in: add warning about recent Rockwelloid junk.

	* faxlib.c, faxrecp.c: if modem autodetect finds a Rockwell modem
	  (ATI returns 28800 or 33600), disable line quality check, because 
	  Rockwell modems usually don't understand AT+FPS=2.  Junk.

	* sendfax.c, conf_sf.h, conf_sf.c: add "open-delay <msec>" option

	* fax/faxrunqd.in: start external processes with "</dev/null"

Thu Oct 30 22:11:07 1997  Gert Doering  (gert@greenie.muc.de)

	* fax/faxrunqd.in: replace Bodo Bauer's version with a complete
	  rewrite.  Uses less processes, and should be more stable even on
	  weird systems.  Needs Perl 5.004.

	* ALL: move from SCCS to CVS

Tue Oct 21 12:34:48 1997  Gert Doering  (gert@greenie.muc.de)

	* policy.h, logname.c: make uppercase/lowercase mapping optional

Sun Aug 17 15:29:31 1997  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.9

	* tio.h, tio.c: use termiox on AIX 4.x, use TXADDCD on AIX 3.x to
	set hardware flow control. Set CFLAGS=-DAIX3_FLOW to get TXADDCD.

	* merge Marc's new vgetty tree (using strsep.c from FreeBSD)

Fri Aug 08 13:44:16 1997  Gert Doering  (gert@greenie.muc.de)

	* fax/faxspool.in: make faxg3 the default driver for ghostscript,
	as it is compiled-in by default in ghostscript 3, 4 and 5, and the
	output quality in gs 5.01 is better than that of dfaxhigh.

Sun Jul 27 16:37:17 1997  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.8

	* reorganize frontends/windows/

Thu Jul 24 20:52:27 1997  Herbert Thielen (thielen@lpr.e-technik.tu-muenchen.de)

	* fax/faxq.in: fix security problem with quoting of shell special
	characters in "eval"

	* fax/faxrunq.in: fix very severe security problem with quoting

Sun Jul 13 14:06:46 1997  Gert Doering  (gert@greenie.muc.de)
	
	* sendfax.c: flush output queue before close(), to avoid stuck
	output if flow control goes crazy

Sat Jul 05 17:15:36 1997  Gert Doering  (gert@greenie.muc.de)

	* conf_sf.c, conf_mg.c: print location of debug log and
	configuration files on "-V"

Sat Jun 28 20:40:31 1997  Gert Doering  (gert@greenie.muc.de)
	
	* io.c: on Linux and AIX, use usleep() for short delays

Mon Jun 09 10:03:46 1997  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.7

Sun Jun 08 13:47:51 1997  Gert Doering  (gert@greenie.muc.de)

	* mg_m_init.c: don't switch back to +FCLASS=0 for Dr.Neuhaus modems

	* faxlib.c: set modem_quirks for Dr.Neuhaus and Multitech modems

	* faxlib.c: if ATI -> 28800 and ATI3 -> "": assume Dr.Neuhaus Cybermod

	* config.c: accept negative numbers for CT_INT as well

Thu Jun 05 23:20:37 1997  Frank Bartels  (knarf@camelot.de)

	* policy.h: default for the log files is now /var/log/mgetty.ttyX

Tue May 27 23:35:36 1997  Andreas Jaeger (aj@arthur.rhein-neckar.de)

	* tools/ltest.c: fix compiler warnings and "return 0"

	* Makefile: add comment to link "-lutil" on Linux / GNU Libc 2.0

	* utmp.c: use updwtmp() on GNU Libc 2.0 systems

Mon May 26 23:41:33 1997  Roeland Th. Jansen  (bengel@xs4all.nl)

	* magic.o: prevent cats from logging into the computer

Sat May 24 20:29:39 1997  Gert Doering  (gert@greenie)

	* mgetty.c (St_go_to_jail): fix wrong resetting of CallerId

	* fax/faxrm.in: remove .source-files subdirectory, if existant

Mon May 19 21:23:39 1997  Gert Doering  (gert@greenie)

	* faxlib.c: add ATI code for USR 56K modems (5601)

	* cnd.c: fix typo in CallerID variable name

Fri May 09 11:35:17 1997  Gert Doering  (gert@greenie)

	* faxlib.c: chop off leading whitespace of fax_station_id

Mon May 05 19:13:14 1997  Gert Doering  (gert@greenie)

	* release 1.1.6

	* Makefile: generate version diffs now (finally)

Sat May 03 19:06:17 1997  Gert Doering  (gert@greenie)

	* faxlib.c: rewrite modem identify function to use mdm_get_idstring 
	  for ATI, and maybe ATI1, ATI3, ..., for more detailed information 
	  about *this* modem type (firmware etc.) [see log files]

	* modem.c: new function: mdm_get_idstring()
	* modem.c: change mdm_command timeout to 10 seconds

	* cnd.c: add better logging

	* faxlib.c: add recognition of ZyXEL Omni.NET (ATI: 1281/1292)

Thu Apr 17 17:33:40 1997  Gert Doering  (gert@greenie)

	* fax/faxq: print "priority" field, if set in the JOB file

	* fax/faxspool: implement -P <priority> option (for faxrunqd)

Wed Apr 16 11:06:03 1997  Gert Doering  (gert@greenie)

	* release 1.1.5

	* voice/: new voice code beta

Sat Apr 12 16:47:42 1997  Gert Doering  (gert@greenie)

	* tools/ltest.c: fix fcntl() call

	* faxlib.c: add all modem "ATI" codes that I know of (so far)

	* faxlib.c: preliminary support for modem type auto-detection
	with ATI (*very* preliminary)
	
	* callback/callback.c: drain output queue before signalling mgetty

Thu Apr 10 10:13:34 1997  Gert Doering  (gert@greenie)

	* voice/vgetty/Makefile: link ../../faxrecp.o

	* Makefile: call mkidir with "./mkidir" (if "." is not in $PATH)

Sun Apr  6 17:26:41 1997  Gert Doering  (gert@greenie)

	* logfile.c (sprintf): convert non-printable characters to '_'

	* release version 1.1.4

	* mgetty.c (main): undo the "modem-check-time" change. If you use
	mgetty on direct serial lines, set "modem-check-time -1" in policy.h.

Wed Apr 02 19:40:46 1997  Gert Doering  (gert@greenie)

	* Makefile, tools/Makefile: fix bugs with move of "kvg"

	* revoke 1.1.3, because of stupid bugs that will cause many questions

Mon Mar 31 15:06:42 1997  Gert Doering  (gert@greenie)

	* release version 1.1.3

	* sendfax.c: print meaningful message on non-class2/2.0 modems.

	* faxlib.c: remove special handling of "ERROR" response in class 2.0 
	(it can only happen after end-of-page is sent, and this is already
	handled in fax_send_ppm), because sometimes the USR Courier sends
	ERROR after ATD, and this confuses sendfax (*ugly*).

	* faxlib.c: add faxlib_init() to re-initialize everything

	* mgetty.c, faxrec.c: do the ATH0 command in "mgetty.c" (don't
	interfere with reception of multiple faxes from voice apps)

	* faxlib.c: accept "NO DIALTONE" and "NO DIAL TONE" (USR special)

Fri Mar 28 13:55:18 1997  Kim-Minh Kaplan  (gert@greenie)

	* mgetty.c: don't use "modem-check-time" on direct lines (-r)

Wed Mar 26 12:45:57 1997  Gert Doering  (gert@greenie)

	* tools/ltest.c: new line tester, to show RS232 status

	* contrib/g3hack.c: is now in frontends/X11/viewfax*/g3hack.c

	* Makefile: clean up some comments

	* mgetty.c: protect printing of issue file with alarm() [Knarf]

Mon Mar 24 21:06:58 1997  Steffen Reith  (gert@greenie)

	* conf_sf.c: make FAX_SEND_IGNORE_CARRIER the default value 
	for "ignore-carrier y/n" in sendfax.config

Thu Mar 20 12:52:25 1997  Bjarne Kvamme  (gert@greenie)

	* faxsend.c: remove locks on panic_exit, use exit(15) not (11)

Sun Mar 09 10:57:19 1997  Gert Doering  (gert@greenie)

	* Makefile: use "mkidirs" for directory creation - "make bindist"
	works now even with "unsual" path settings

Sun Mar 02 12:15:24 1997  Gert Doering  (gert@greenie)

	* tools/, g3/: move "tools" directory to "g3", create new "tools"
	directory for auxiliary utilities like "kvg" or "ltest".

Mon Feb 24 22:18:03 1997  Gert Doering  (gert@greenie)

	* faxrec.c, faxrecp.c: split "protocol" and "high level" functions
	* Makefile: sendfax links faxrecp.o only, mgetty links both
	* faxrec.c: add creation of UTMP record for incoming faxes ("last")

Thu Feb 20 11:17:11 1997  Gert Doering  (gert@greenie)

	* release 1.1.2
	* voice/: add new voice tree from Marc

Mon Feb 17 21:36:04 1997  Gert Doering  (gert@greenie)

	* mksed.c: add @NOLOGIN@
	* doc/mgetty.8in: add description of /etc/nologin.ttyxx

Sun Feb 02 23:44:00 1997  Gert Doering  (gert@greenie)

	* Makefile: split $LDFLAGS into $(LDFLAGS) (in front of the linker
	command line) and $(LIBS) (after all the object files)

Wed Jan 22 20:58:40 1997  Gert Doering  (gert@greenie)

	* config.c (get_config): log name of config file being read

Mon Jan 20 11:37:30 1997  Gert Doering  (gert@greenie.muc.de)

	* release 1.1.0

