1
2/*  $Header: /cvsroot/faces/faces/ChangeLog,v 1.1.1.1 2002/04/15 20:20:47 richburridge Exp $
3 *
4 *  Copyright (C) 1990-2002  Rich Burridge, Sun Microsystems Inc.
5 *  All rights reserved.
6 *
7 *  Permission is given to distribute these sources, as long as the
8 *  copyright messages are not removed, and no monies are exchanged.
9 *
10 *  No responsibility is taken for any errors on inaccuracies inherent
11 *  either to the comments or the code of this program, but if reported
12 *  to me, then an attempt will be made to fix them.
13 */
14
15Faces change history.
16=====================
17
18v1.7.7 - 6th March 2002.
19
20  8th April 2002 - Rich Burridge <rich.burridge@Sun.COM>
21
22    * Changes to the way that popup dialogs are handled:
23      - An error and a warning dialog are now created at startup time.
24      - Displaying an error or warning now simply means resetting the
25        dialogs label to the new message and showing the dialog.
26      - Only allow one error dialog popup and/or one warning dialog is
27        displayed at any one time. If there is already one displayed,
28        then the error/warning message goes to stderr.
29      - Clicking on the dialog's Ok button now just hides that dialog.
30
31  8th April 2002 - Robert Adams <misterblue@misterblue.com>
32
33    * Removed unneeded files ftom CVS repository. Only the "initial"
34      files are now stored there. If you checkout the faces sources
35      from CVS, you now always have to do:
36
37      % cd .../faces
38      % ./autogen.sh ...
39      % gmake
40
41  6th March 2002 - Rich Burridge <rich.burridge@Sun.COM>
42
43    * Rest of the fix for redisplaying the login dialog if there was an
44      error logging in. Needed to add in checks for login_timerid == 0
45      when attempting to display the dialog and the setting of that
46      variable to zero when the timer was removed.
47
48  6th March 2002 - Robert Adams <misterblue@misterblue.com>
49
50    * Removed IMAP and POP error dialog when failed to connect to mail
51	  server.  Error display left to calling routine.  This fixed problem
52	  of two error dialogs popping up.
53
54	* Changed global variable 'logged_in' to 'have_login_info' and updated
55	  the IMAP and POP routines in mon.c to set it to TRUE if there was
56	  a successful login.
57
58  5th March 2002 - Rich Burridge <rich.burridge@Sun.COM>
59
60    * Partial fix for the need to redisplay the login popup if the remote
61      login attempt was a failure. Needs the "logged_in" variable to be
62      reset to FALSE if the login was unsuccesful for this to work.
63
64  4th March 2002 - Rich Burridge <rich.burridge@Sun.COM>
65
66    * From: Philippe Dax <dax@inf.enst.fr>
67      In init_ws_type() in gtk.c, getting the depth is now done from
68      GDK_ROOT_PARENT() rather than gdk_visual_get_best_depth()
69
70  3rd March 2002 - Robert Adams <Misterblue@misterblue.com>
71    * Memory allocation problems with both IMAP and POP fixed (fixes
72	  problem with memory faults by POP and errors you never saw
73	  in IMAP).
74
75	* Added ID storage for messages.  The IMAP and POP routines now
76	  remember an ID for each mail displayed so it will only display
77	  faces if not seen before.
78
79  25th February 2002 - Robert Adams <Misterblue@misterblue.com>
80    * Would always add faces in IMAP even if MONNEW mode.  Fixed.
81
82	* Repaired problem with new incoming IMAP mail that would cause it to
83	  display the wrong face.
84
85  24th February 2002 - Robert Adams <Misterblue@misterblue.com>
86    * Fixed problem with date parser to return proper date.
87
88	* Modified IMAP code to properly unfold multiline RFC822 headers.
89	  Should make X-Face: header lines work.
90
91  21st February 2002 - Rich Burridge <rich.burridge@Sun.COM>
92
93    * From: Chris Lightfoot <chris@ex-parrot.com>
94      Libcompface didn't include the compface function. Have moved the
95      variable definitions out into a separate "vars.h" with extern
96      definitions for thos variables in compface.h. Also removed definitions
97      for MAIN and INIT.
98
99    * Fixed up Gnu compiler warning in parsedate.c and adjusted code to the
100      "one true K&R style".
101
102    * Faces now correctly handles the dismissal (ie. clicking the Ok button)
103      of multiple warning and error dialog popups displayed at the same time.
104      The GtkWidget * for the dialog is passed into the Ok button signal
105      routine as user data.
106
107  17th February 2002 - Robert Adams <Misterblue@misterblue.com>
108
109    * Added date line parsing to POP and IMAP processing so it better
110      senses new mail.
111
112v1.7.6 - 11th February 2002.
113
114  11th February 2002 - Rich Burridge <rich.burridge@Sun.COM>
115
116    * Changed the gtk_set_window_policy() for the main faces window to
117      better handle resizing.
118
119  11th February 2002 - Robert Adams <Misterblue@misterblue.com>
120
121    * The MONNEW for the spool file mode wasn't setting a timer to recheck
122      the mail.
123
124  10th February 2002 - Robert Adams <Misterblue@misterblue.com>
125
126    * Modified IMAP and POP code to only add new faces to the display
127	  when in MONNEW mode.
128
129  7th February 2002 - Robert Adams <Misterblue@misterblue.com>
130
131    * Changed the IMAP header fetching to do a single server query
132	  to get all of the headers.  Faster and more reliable.
133
134  5th February 2002 - Robert Adams <Misterblue@misterblue.com>
135
136    * Modified IMAP "FETCH" command from using the "BODY.PEEK[HEADER]"
137	  to use the "RFC822.HEADER" parameter.  The latter seems to work
138	  more reliably with some IMAP servers (the old Sun one, in particular).
139
140  29th January 2002 - Rich Burridge <rich.burridge@Sun.COM>
141
142    * Added a ";" to the "crambail:" label in imap.c so that the code would
143      compile with the Sun compilers.
144
145  28th January 2002 - Robert Adams <Misterblue@misterblue.com>
146
147    * Added config.sub and config.guess to the faces distribution.
148
149v1.7.5 - 18th January 2002.
150
151  18th January 2002 - Rich Burridge <rich.burridge@Sun.COM>
152
153    * Fixed up the Gnu compiler warnings for .../faces/faces/address.y
154
155  15th January 2002 - Rich Burridge <rich.burridge@Sun.COM>
156
157    * Adjusted the timeout for the IMAP/POP from 1 second to 1/2 second.
158    * Added copyright messages where needed, and added 2002 to various
159      existing copyright messages.
160    * Updated the top-level FILES file to describe some of the new files
161      included with this distribution.
162    * Added $Header: /cvsroot/faces/faces/ChangeLog,v 1.1.1.1 2002/04/15 20:20:47 richburridge Exp $ CVS keywords to most faces files.
163    * Reformated the POP and IMAP code to be a consistent style with the
164      rest of the faces code.
165
166  8th January 2002 - Robert Adams <Misterblue@misterblue.com>
167
168    * Added in IMAP support.
169
170  24th December 2001 - Rich Burridge <rich.burridge@Sun.COM>
171
172    * Added FILES, people.tab and machine.tab to the distribution.
173
174    * Adjusted the FILES file to include the POP files.
175
176  24th December 2001 - Hans de Graaff <hans@degraaff.org>
177
178    * When the faces properties sheet is displayed, the various widgets
179      reflect the current state.
180
181  22nd December 2001 - Robert Adams <Misterblue@misterblue.com>
182
183    * Various fixups for the POP mail support.
184
185----
186
187v1.7.4 - 10th December 2001.
188
189  10th December 2001 - Robert Adams <Misterblue@misterblue.com>
190
191    * Integration of POP support. Changes to mon.c and various new files:
192      face_support.c
193      face_support.h - socket open, close, read, write.
194      pop.c
195      pop.h          - pop open, close, read, and scan.
196      md5c.c
197      md5.h          - MD5 calculation routines for pop APOP authorization
198                       calculation.
199
200  10th December 2001 - Rich Burridge <rich.burridge@Sun.COM>
201
202    * Added faces.sendmail into .../faces/Makefile.am so that it is included
203      with the distribution.
204
205  7th December 2001 - Rich Burridge <rich.burridge@Sun.COM>
206
207    * Adjusted X resources handling. Faces will now initially try to read
208      resources from whatever the environment variable FACESDEFAULTS
209      points to. If that's not set, it will try to read resources from
210      $HOME/.facesdefaults. Adjusted the faces manual pages to reflect this.
211
212    * Clicking on the OK and/or Apply buttons on the properties sheet will
213      now write out the current state of faces as a set of resources.
214
215    * It will write resources in a similar way; first trying to write to
216      FACESDEFAULTS (if that environment variable is set), otherwise
217      to $HOME/.facesdefaults
218
219    * Fixed up the way that "progname" is read in main() in main.c, so that
220      we have the correct application name to store in the resources file.
221
222----
223
224v1.7.3 - 7th December 2001.
225
226  7th December 2001 - Rich Burridge <rich.burridge@Sun.COM>
227
228    * Added in a create_pop_popup() routine to gtk.c to create the popup
229      that will be initially displayed when connecting to a POP mail server.
230
231    * Added in the reading of a "pop" X-type resource that can be used to
232      indicate that you wish to connect to a POP server.
233
234  5th December 2001 - Rich Burridge <rich.burridge@Sun.COM>
235
236    * Added in an initial version of a properties sheet for faces that will
237      be displayed when the user clicks with the right mouse button in the
238      faces window.
239
240----
241
242v1.7.2 - 3rd December 2001.
243
244  3rd December 2001 - Rich Burridge <rich.burridge@Sun.COM>
245
246    * Removed the check for xpm.h from configure.in. The Gtk/Gdk version of
247      faces does not use that header file.
248
249    * Fixed up the problem where there was spurious black background in the
250      faces image areas. This was not an XPM transparency problem; needed to
251      use GDK_SET instead of GDK_CLEAR in adjust_image() to set the initial
252      color of the image to white.
253
254    * Added two new functions:
255
256      void display_error(char *message);
257      void display_warning(char *message);
258
259      to gtk.c to allow popup error and warning messages to be displayed.
260
261    * Faces now correctly raises and/or lowers the faces main window correctly.
262
263  26th November 2001 - Rich Burridge <rich.burridge@Sun.COM>
264
265    * Faces now beeps and flashes the open window and the icon for new mail.
266
267    * Removed all references to F_ICON. Removed all code that was #ifdef FIXUP
268      where there didn't seem to be an equivalent way to do it in Gtk/Gdk.
269
270    * Removed attempts to try to raise and lower the icon associated with
271      the faces window. After talking with Owen Taylor, it seems that most
272      modern Unix window managers don't respect the classic icon behaviour
273      anyhow.
274
275----
276
277v1.7.1 - 26th November 2001.
278
279  26th November 2001 - Rich Burridge <rich.burridge@Sun.COM>
280
281    * Reinstated the NOPAPER, NOPRINT and NOUSERS XBM files. These are
282      special keywords that can be used by the "faces -e" custom scripts.
283
284    * Updated the faces manual pages to reflect the current state of play.
285
286  23rd November 2001 - Rich Burridge <rich.burridge@Sun.COM>
287
288    * The default for the mail spool directory is now /var/spool/mail (the
289      RedHat Linux default).
290
291  22nd November 2001 - John Kodis  <kodis@jagunet.com>
292
293    * Autoconf/automake support for the various --enable..., --disable...
294      and --with... options to configure for faces.
295
296    * Added a small section to the end of the INSTALL file to list these
297      options.
298
299  21st November 2001 - Hans de Graaff <hans@degraaff.org>
300
301    * Fix to the text() routine in gtk.c to get the labels for the icons
302      to display correctly.
303
304----
305
306v1.7.0 - 20th November 2001.
307
308  20th November 2001 - Rich Burridge <rich.burridge@Sun.COM>
309
310    * Started to add in support for a Gtk/Gdk version. This is going to
311      be needed in order to provide a popup to get the users IMAP/POP
312      server, username and password preferences. Gtk/Gdk graphics in a
313      new .../faces/gtk.c file.
314
315  19th November 2001 - Rich Burridge <rich.burridge@Sun.COM>
316
317    * Adjusted the sources to use the autoconf/automake files generated
318      by Glade. Merged in configure.in and Makefile.am work from John Kodis.
319
320    * Adjusted the distribution to use a GNU LIBRARY GENERAL PUBLIC LICENSE
321      (LGPL) license.
322
323    * Updated the README file to be appropriate for this distribution.
324
325
326  14th November 2001 - John Kodis  <kodis@jagunet.com>
327
328    * faces/get.c (usage): Eliminate patchlevel.h in favor of the
329    VERSION string from config.h; adjust the #include directive
330    accordingly.
331
332    * faces/x11.c: Change #include "xpm.h" to #include <X11/xpm.h>,
333    for consistency with the other X11 include directives.
334
335    * faces/main.c: move noface.xbm, nomail.xbm, and nothing.xbm from
336    the images directory to the faces directory; adjust the #include
337    directives accordingly.
338
339
340  14th November 2001 - Rich Burridge <rich.burridge@Sun.COM>
341
342    * Various changes to the code:
343      - Adjusted to a consistent style (K&R).
344      - Removed all tabs.
345      - Removed support for X11R3, SunView 3.x, XView and NeWS.
346      - Fixed up gcc warning and error messages.
347      - Removed all unwanted files from the distribution (especially if there
348        are files with similar functionality in the main faces/picons archives:
349        http://www.cs.indiana.edu/ftp/faces/
350      - Adjusted references to the version number.
351      - Adjusted to use ANSI function prototypes.
352      - Ran the code through lint and fixed up most of the problems reported.
353      - Removed the (null) save_cmdline() routine from x11.c and where it was
354        called from (write_cmdline() in get.c).
355      - Removed all P(...) references as we are only using ANSI function
356        prototyping now.
357      - Removed externs for standard library functions from the .h and .c files
358        and replaced them with the correct #include files.
359      - Removed the (null) make_icon() routine in x11.c, and where it was
360        called from.
361      - Removed references to the INLINE #ifdef.
362      - Removed references to the TOPIX #ifdef.
363      - Removed references to the RAND #ifdef.
364      - Removed references to the SYSV #ifdef.
365      - Removed references to the SYSTYPE_BSD43 #ifdef.
366      - Removed references to the USE_BZERO #ifdef.
367      - Removed references to the NOUTIME #ifdef.
368      - Removed references to the NOMAXPATHLEN #ifdef.
369      - Removed references to the NOGETHOSTNAME #ifdef.
370      - Removed references to the SGIDEF and SGILIBS #ifdef's.
371      - Removed references to the USE_GETWD #ifdef.
372      - Removed references to the HASPOLL, NOSELECT and SELTYPE #ifdef's.
373      - Removed all machine specific #ifdef's (hpux, ultrix, mips ...).
374      - Removed the gr_type enum and all references to it.
375      - Removed the not_flipped argument to the load_icon() routine in x11.c
376      - Removed SunView, XView and NeWS specific todo entries from the TODO
377        file. Same thing for entries refering to Blit ikon or Sun icon
378        formatted files.
379      - Removed all references to SUNTYPE and BLITTYPE. X11TYPE becomes XBMTYPE.
380        Also fixed up the comment for the make_iconame() function in main.c
381      - Removed references to NEWSTYPE, get_news_icon(), add_ps_rec(), psinfo
382        and psrecs (NeWS icons are no longer supported).
383      - Adjusted all index and rindex references to use strchr and strrchr and
384        removed all references to the NOINDEX #ifdef.
385      - Removed the get_display() function in main.c and merged the -d command
386        line option extraction back into the get_options() function in get.c
387        (as there are no longer SunView and XView version of faces with complex
388        command line arguments).
389      - Surronded all the .h files with #ifdef's to prevent definitions being
390        reclared twice. Added 'extern "C" { }' for .h files that defined
391        function prototypes.
392      - Fixed up all the copyright messages.
393      - Removed the -Wp, -WP and -Wi command line options from get_options() in
394        get.c (which were used by the SunView and NeWS versions). Removed these
395        entries from the manual pages.
396      - Tidied up the machine.tab and people.tab files to just include examples
397        of aliasing my machines/names.
398      - Removed the filters directory from the distribution. Only XPM and XBM
399        file formats are supported now, and Steve Kinzler provides a set of
400        scripts for conversion to/from these formats at:
401        ftp://ftp.cs.indiana.edu/pub/faces/picons/src/
402      - Removed the scripts directory from the distribution. There is an archive
403        of scripts for faces at:
404        ftp://ftp.cs.indiana.edu/pub/faces/picons/src/
405        The latest versions can always be found there.
406      - Removed the facedir directory from the distribution. There are extensive
407        archives of faces/picons at:
408        ftp://ftp.cs.indiana.edu/pub/faces/picons/db/
409      - Removed the xface directory from the distribution. This directory
410        contained sample XView code for integrating X-Face: support into a
411        mailtool. Interested parties can look at the faces code should they
412        need to do something similar.
413      - Removed the "make tables" entry from Makefile.dist. The people.tab and
414        machine.tab files are now just examples of the way that these alias
415        files look.
416      - Moved all the .xbm files into an "images" directory.
417      - Removed the hard-wired "monitor the printer" and "monitor users" code
418        from faces (including the -H and -P command line options). This kind
419        of monitoring can be done with the generic "faces -e <command>"
420        functionality. This also removes the PLP #ifdef, images/nopaper.xbm
421        images/noprint.xbm and images/nousers.xbm.
422      - Removed automatic face update support. This includes the face_update
423        script, the face_update.1 man pages and the code in faces that dealt
424        with the -U option.
425
426    * Got the X11 version working under Solaris 2.x.
427
428    * Added in support for XPM files (a standard format of the picons database).
429
430    * From Craig Kapfer <ckapfer@pacbell.net>
431      Changed the default MANSECT from "l" to "1".
432
433    * Fixed a SIGSEGV crasher in:
434      0x17dec in searchfacedb (b=0xffbeef18 "", facepath=0x363f4,
435        community=0x212f0 "", user=0x36ba8 "postmaster") at main.c:784
436        784	          *s = '.';
437      when faces was compiled with gcc. Looks like code such as:
438                s = ".";
439      allocates a read-only string. Changed this to:
440                s = strdup(".");
441
442----
443
444[All previous changes were by Rich Burridge <rich.burridge@Sun.COM>]
445
446v1.6 - patchlevel 1 - 25th November 1991.
447
448- Various minor fixups because of the rehash of the face icon lookup
449  scheme introduced in v1.6.0:
450
451  * The misc. directory under facedir (in the source distribution)
452    needs to be renamed to MISC. Fixups in MANIFEST and FILES.
453
454  * Adjust the manual pages to use MISC instead of misc. in the FACE
455    FORMATS section.
456
457  * Small tweaks to deepen, faces, facesall and mailqto.
458
459- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
460  The nothing.xbm file has some bits set.
461
462- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
463  The news faces database has "MISC/unknown/face.xbm", a default blank
464  icon for newsgroups without icons.  It also has,
465  "misc/unknown/face.xbm", a special default icon for newsgroups in the
466  misc.* heirarchy.  But MISC/unknown showed up with the misc/unknown
467  icon when viewed with facesall, ie via a faces -e script with output
468  containing a line with domain = MISC and user = unknown.
469
470----
471
472v1.6 - patchlevel 0 - 19th November 1991.
473
474- From Rex Monty Di Bona <rex@cs.su.oz.au>
475  When we looked at the faces program, we decided that the directory
476  searching was bogus. We already had a complete hierarchy from those
477  good old V8 days that was addressed as
478  domain/domain/domain/domain/user/48x48x1. We also changed the lookup
479  search to be user then community then facepath,
480  ie...
481
482  for (iu = 0; iuser[iu] != NULL; iu++)
483      for (ic = 0; icomm[ic] != NULL; ic++)
484        for (id = 0; facepath[id] != NULL; id++)
485        {
486
487  which is what we believe is a closer reflection of how a 'normal
488  person' would look things up. This reduces the directory search at
489  each level, as we now have smaller directories.
490
491  It also, we believe, makes it easier to add new users/domains, and
492  to have links (oz is a link to au/oz for historical reasons :-)
493
494  We also search 'backwards' in the hierarchy, so the more exact match
495  is found first.
496
497  For those concerned with efficiency, the directories that are used
498  most often, ie, the local machine, would be kept in 'cache' by the
499  machine.  Since the directories are now smaller, the directory search
500  should be performed faster too.
501
502  [Beware!! Rex has changed the "misc." directory to "MISC" - Rich.]
503
504  Note that faces no longer chdir's to the top of each facepath element
505  before it does it's searching. Note also that the face image (because
506  of the indetermanent number of directories making up the machine name)
507  can no longer be in an ordinary file. It's now always one of the four
508  formats in the user name directory.
509
510  Manual pages have been updated to reflect these changes.
511
512- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
513  The face_update script and various scripts in the scripts directory
514  has been adjusted for this new format. The various faces databases
515  have been adjusted to.
516
517- From Rex Monty Di Bona <rex@cs.su.oz.au>
518  Changes to get the X11 version of faces running on a MIPS machine.
519
520- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
521  Various small changes to the files in the filters and scripts
522  directories.
523
524  Four new files:
525
526  nothing.xbm           - a 64x64 XBM file with nothing in it.
527  scripts/deepen        - convert faces database from old to new format.
528  scripts/mailqto       - summarize hosts for which there is
529                          deferred mail.
530  scripts/mailqto.faces - faces script to monitor the hosts for
531                          which there is deferred mail.
532
533- From Harald Vogt <harald@cs.ruu.nl>
534  Changes in do_key() to get buttonclear1 to work properly with
535  faces -a mode on our m68 SYSV based HP9000/{34}00 workstations.
536
537----
538
539v1.5 - patchlevel 7 - 24th October 1991.
540
541- Adjustments needed to get the X11 and XView versions working under
542  Suns' SVR4 O/S. For future reference, the following definitions
543  had to be uncommented (and set appropriately) in the Makefile, to
544  get the X11 version of faces working:
545
546  HASPOLL, NOGETHOSTNAME, NOINDEX, NOSELECT, SVR4LIBS, SYSV,
547  X11INCDIR and X11LIBDIR.
548
549- From Jim R. Oldroyd <jr@sequoia.com>
550  Various changes to get faces working on two SysV machines:
551
552  * Added in a new Makefile definition TOPIX, which should be
553    uncommented if compiling faces on Sequoia's fault-tolerant,
554    multi-processor operating system.
555
556  * Definition of which compiler and compiler flags not being
557    passed to makes in subdirectories.
558
559  * MAXPATHLEN used, but not defined.  (This is in none of the headers
560    in our /usr/include/*.h /usr/include/sys/*.h
561
562- From Jim R. Oldroyd <jr@sequoia.com>
563  From Stephen Martin <mauxci!lsican!smartin@apple.com>
564  We noticed that if you had mail, and read it and deleted it
565  all with ELM, the faces would not revert to "No mail".
566
567  It turns out that this is due to the fact that ELM doesn't
568  delete the spool file - it leaves it empty.  But, ELM also
569  resets the mail spool file's utime when it exits.  You were
570  testing the st_mtime and doing nothing if there was no change.
571
572  Our quick fix was to change the test to whether or not the
573  size has changed.  (I know, you could delete mail, and get new,
574  and the size doesn't change, but this is unlikely). A better fix
575  would be neater...
576
577- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
578  Patch for faces/filters/fs2ikon.  "pbmpaste" was eliminated in the
579  latest release of the pbmplus filters.  This new version should be
580  backwards compatible.
581
582----
583
584v1.5 - patchlevel 6 - 11th September 1991.
585
586- Added a new subdirectory to the faces distribution called xface.
587  There are three files in this directory (xface.c, xface.h and
588  xface_data.h). These files should be all you need to get X-Face:
589  support added to a graphical mailtool. There are two hooks into
590  the mailtool; one to create the glyph for the X-Face: the other to
591  check the current mail message an either uncompress the X-Face: and
592  display the image, or clear the glyph area. The hooks are for one
593  specific case of mailtool integration; from the comments it should
594  be possible to determine what is needed in each individual case.
595
596  Note that the copyright message for these three files is different
597  to the copyright message for the rest of the faces distribution. It
598  should allow easy inclusion into commercial packages.
599
600  The MANIFEST, FILES, TODO and Makefile.dist files have been updated.
601
602----
603
604v1.5 - patchlevel 5 - 5th September 1991.
605
606- Performance improvement. If the host/user file found, is a regular
607  file, then a check is made on that file for all valid supported
608  formats (not just the old Blit ikon format). If the whole faces
609  database[s] are arranged in this format, then there is a small
610  increase in performance.
611
612- From Dan Nydick <nydick@pookie.psc.edu>
613  When you've configured faces to pop its window to the top of
614  the stack when mail arrives, I'd like it to pop itself to the
615  bottom when all the mail is gone (ie: when the "no mail" icon
616  is displayed).
617
618  [Added in via another X resource: "faces.lower", which if set to
619   true will do the requested lowering of the faces window. Also
620   check for "set lower" in the users' ~/.facerc file. Updated the
621   manual pages to reflect these changes.]
622
623- From Kate Morris <morris@carcoar.Stanford.EDU>
624  Included a set of diffs to get faces running on an IBM RT PC
625  running AOS4.3 (yet another 4.3 clone).
626
627----
628
629v1.5 - patchlevel 4 - 11th July 1991.
630
631- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
632  Removed the "ftp" clause from faces/filters/Makefile
633
634- From Michael Urban <urban%hercules@rand.org>
635  The call to h_to_c() in do_users() in mon.c, should have a first
636  argument of rhostname rather than "" (the local host).
637
638- From Michael Urban <urban%hercules@rand.org>
639  In xview.c, changed hostname to rhostname, for selecting the host
640  to monitor.
641
642- From Mike Khaw <khaw@parcplace.com>
643  From Ken Wood <kwood@adl.austek.oz.au>
644  Both the man page and the usage message say "-M", but the code
645  actually still wants "-MH".
646
647- From Ken Wood <kwood@adl.austek.oz.au>
648  The face directory option parsing can't cope with a trailing null
649  directory. i.e. when faces is run as follows, it correctly
650  substitutes the compiled-in directory for the null directory
651
652    xfaces -f :
653    xfaces -f :$HOME/lib/faces
654
655  but this doesn't work
656
657    xfaces -f $HOME/lib/faces:
658
659- Added in another definition to the Makefile.dist file:
660
661  HASPOLL       = -DHASPOLL
662
663  which should be uncommented if you have the poll(2) system call
664  (rather than select(2)). You will also need to uncomment the
665  NOSELECT definition.
666
667  This definition is needed for SVR4, and some variations of
668  System V Release 3, which don't have TCP/IP support.
669
670- From Mark Shand <shand@prl.dec.com>
671  Faces is ignoring the -d argument completely--a bug.
672  In fact, looking at the source (x11.c:init_graphics), faces opens
673  the display _BEFORE_ it processes its command line arguments (which
674  happens in x11.c:make_frame).
675
676- From Brent Browning <Brent.Browning@Eng.Sun.COM>
677  With the XView version of faces, if the icon is covered, thereby
678  damaging it, the icons is never repainted.
679
680- The following TODO item has been removed, because this has been
681  working in faces, since the inclusion of is822header() and
682  associated routines in v1.4.13 by Mark Shand.
683
684    *   From John Mackin <john@syd.dit.csiro.au>
685        You test if the beginning of the line is identically equal to
686        "X-Face:" or "From:". This is contrary to RFC822, which
687        specifies
688
689        (1) that headers should be recognised in either case (so
690            "X-Face:" and "X-FACE:" and "x-FaCe:" are all equivalent).
691        (2) that there may be linear white space (spaces or tabs)
692            between the field-name and the colon (so "FRoM  : Foo Bar
693            <foo@bar>" should work).
694
695- From Amir J. Katz <uunet!sn4idc8!amirk@munnari.oz.au>
696  I think that it should be mentioned in the faces man page that every
697  xterm started under X will show on 'xfaces -h localhost' as a new
698  user, unless you start xterm with the '-ut' option. I know it's an
699  RTFM issue but xterm man page is so looooong, so I am sure most
700  people fall asleep long before they reach the '-ut' option...
701
702- The width and height of the SunView faces frame were incorrect.
703
704- The five "standard" icons used with faces (NOFACE, NOMAIL, NOPAPER,
705  NOPRINT, NOUSERS) were not being correctly displayed with the
706  SunView version.
707
708- When the -w and/or -h options were used with the SunView version,
709  the size of the icon created is incorrect.
710
711- If faces if monitoring a printer (using lpq), and the printer is
712  unknown, faces will now exit with an error message, rather than
713  just display the "no jobs" icon.
714
715- The XView version of faces now correctly saves the user supplied
716  command line options, when the user does a "Save workspace".
717
718- The following entry has been removed from the TODO file because
719  this is already implemented, albeit, the multiple faces
720  hierarchies are specified by a colon separated list with the -f
721  option.
722
723    *   From Pat Lashley <patl@Sun.COM>
724        From Lindsay F. Marshall <Lindsay.Marshall@newcastle.ac.uk>
725    Multiple face directory hierarchies. I.e:
726  `-f $HOME/facedir -f /import/group/facedir -f /import/global/facedir'
727    The order of specification would indicate the search order.
728
729- From John Mackin <john@syd.dit.csiro.au>
730  It should be made more explicit in the manual page that in the
731  previous version of faces, a -f option _added_ the directory to
732  the face search path, so that if you did -f you got those faces
733  in addition to the system default faces, whereas now -f
734  _supersedes_ the system faces and you must include a trailing
735  colon to have them searched.
736
737- The following entry has been removed from the TODO file. This
738  functionality was included in with the previous patch:
739
740  *   From Lindsay F. Marshall <Lindsay.Marshall@newcastle.ac.uk>
741  Would it be possible to have a define (or option) that allowed us to
742  set the X title/name attributes. I want the program to be called
743  "Faces" in my twm iconManager and it is currently called "faces".
744  I haven't found any way of changing it other than by hacking the code.
745
746- From Ken Wood <kwood@adl.austek.oz.au>
747  Various small changes to get faces working on an Encore Multimax;
748  includes a new definition to the Makefile.dist file:
749
750  USE_GETWD      = -DUSE_GETWD
751
752  which should be uncommented if your system doesn't have the
753  getcwd() library call.
754
755----
756
757v1.5 - patchlevel 3 - 19th June 1991.
758
759- Added in ANSI C function prototypes for each faces routine, and
760  compiled with Sun's ANSI C compiler, fixing up inconsistencies.
761
762- From Alan Skea <skea@vast.eecs.unsw.oz.au>
763  We are running SunOS 4.0.3c on most of our machines and while we
764  have the utime() library call, we do not have a <utime.h>.  If I
765  compile with NOUTIME defined then the utime structure that is
766  declared in faces.h fails because type time_t is not declared.
767  Needs an inclusion of <sys/types.h> in faces.h
768
769- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
770  Had to comment out the external declaration for memset() in faces.h,
771  to get it to compile on Ultrix 4.1.
772
773- From Tim Chown <T.J.Chown@ecs.southampton.ac.uk>
774  If the mail spool shrinks (ie. the user deletes mail) then the
775  window should adjust;  the -MH option doesn't seem to work for
776  me in this respect.  Using -MH is a little misleading as I use
777  Elm and that can shrink the mail spool file too, so perhaps
778  the man page (and option name) should reflect this.
779
780  [Command line option has been changed from -MH to -M, and the
781   manual pages adjusted to reflect this - Rich.]
782
783- From Paolo Petta <ai-vie!oefai!paolo@relay.EU.net>
784  Elm is our mailer of choice: At least on our system it has the
785  peculiarity of not erasing the system mailbox file
786  (/usr/spool/mail/...) but simply truncating the file to zero length.
787  Faces is not correctly recognising this.
788
789- From Tim Chown <T.J.Chown@ecs.southampton.ac.uk>
790  The remote host monitoring wouldn't work either.   This needed a
791  different variable rhostname to be used with -H rather than hostname
792  which was getting overwritten (so that localhost was always seen!).
793
794  From Dirk Craeynest <dirk@cs.kuleuven.ac.be>
795  `faces -H hostname' always gives information about users on the
796  local host.
797
798- From Tim Chown <T.J.Chown@ecs.southampton.ac.uk>
799  The addition of the option -l window_label is desirable;  the default
800  label is "faces" which is a bit nondescript.
801
802- From Tim Chown <T.J.Chown@ecs.southampton.ac.uk>
803  Don't take sounds for mail when first reading in the mail spool
804  file. Just play them for new mail.
805
806- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
807  The following TODO entry (#1) is already implemented. I've adjusted
808  my faces front-end script to correctly handle arguments with white
809  space.
810
811      As it is now, there's no way to specify arguments for "-e"
812      application scripts. If we ever want to abstract things like
813      the -H function out of faces itself and into a script, we'll
814      want something like this. I can think of two possible solutions
815      to the problem, both extending the faces command line syntax:
816
817      1) % faces -e "who.faces iuvax"
818
819      2) % faces -e who.faces iuvax \;              ala find -exec
820
821  [scripts/README.kinzler, and scripts/newscheck.faces also updated.]
822
823- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
824  Hostnames that begin with "misc." (eg, "misc.religion.talk"
825  in the news faces database) will end up with the misc./unknown icon
826  instead of the proper icon.
827
828  There may be other instances in the code of a similar bug (ie, where
829  strcmp should be used instead of strncmp/EQUAL).
830
831- From Dave Cohrs <dave@cs.wisc.edu>
832  If you specify your beeps and flashes in a resource database, the
833  .mailrc reader shouldn't zero them out.
834
835----
836
837v1.5 - patchlevel 2 - 6th May 1991.
838
839- From Dick Keene <rkeene@sunrock.East.Sun.COM>
840
841  * I had to comment out line 170 in faces.h to compile for xview.
842    It complained of a re-declaration of endpwent().
843
844  * New filter program called filters/vpxtoicon.c. It converts 8 bit
845    snapshots from the Sun video pix board to Sun icons. It does a
846    scale, and a histogram equalization.  Then you can convert the
847    icon to face format with icon2ikon and compface.
848
849    [I've added this to the filters directory, but have not added it
850     to the "all" definition in the Makefile as it requires Sun specific
851     include files and libraries to compile. If you are on a Sun, and
852     you want to build it, then you should do a "make vpxtoicon"].
853
854- From John Mackin <john@syd.dit.csiro.au>
855  New portable and correct version of the faces.sendmail script, which
856  only uses one invocation of sed.
857
858- From Sjoerd Mullender <sjoerd@cwi.nl>
859  I have compiled faces 1.5.1 on some of our systems and I came across
860  a few problems.
861
862  * Added #include "faces.h" to address.y so that realloc() would be
863    declared.
864
865  * Removed the declaration of sprintf() from faces.h, because that
866    is alreade done in stdio.h, and because the definitions clashed on
867    one of our systems.
868
869  * In mon.c, changed the declarations of two chars to ints.  One of
870    them is essential, because it is compared to EOF.
871
872  * I changed the declaration of reply in do_prog() in mon.c to char *,
873    because it is assigned the result of fgets.
874
875  * Apart from this, I also had to add -Umips and -lsun -lc_s in order
876    to compile faces successfully on a Silicon Graphics system.  These
877    extra cpp flags and libraries could be put in extra variables in
878    the Makefile.dist.
879
880- From Mark Shand <shand@prl.dec.com>
881  Adjustments to the TODO file.
882
883  * add bullet-proofing of uncompface().
884
885  * remove TODO for RFC822 parsing (included recently by John Mackin).
886
887- From Ignatios Souvatzis <u502sou@mpirbn.mpifr-bonn.mpg.de>
888  Various small changes needed for Convex 8.1.
889
890  * Added a BZERO definition to the Makefile.dist file, for people
891    without memset().
892
893  * Changed strchr in main.c and rec.c to index (this should be handled
894    by the NOINDEX definition in Makefile.dist)
895
896- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
897
898  * When compiling on a DECStation under Ultrix 4.0, I needed to add an
899    "#include <ctype.h>" line to mon.c and x11.c (and xview.c probably,
900    if I'd used it).
901
902  * A small bug in compface/Makefile.
903
904- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
905
906  * I found a couple of bugs in faces v1.5.1's display when it's
907    running a -e script and the window is iconified.
908
909  * I've revised faces/scripts to make use of the new ability to
910    specify iconified window displays for -e scripts. There are two
911    new faces scripts:
912
913    - newscheck.faces
914    - newsfrom.faces
915
916- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
917  Implemented John's suggestion:
918
919  > From John Mackin <john@syd.dit.csiro.au>
920  > Another performance improvement:
921  > Another kludge which could cut down the namei overhead substantially
922  > is to chdir() to the top of each facepath element and do the
923  > searching of that part of the tree with relative pathnames from
924  > there, rather than using absolute pathnames all the way from the
925  > root each time.  chdir()'ing is often very bad practice, but in an
926  > application that can't possibly become interactive we don't have to
927  > be concerned.
928
929  The chdir() is only temporary -- in effect during the search
930  subroutine, so relative pathnames for -e script locations and
931  facepath elements and such still work as before.  I noted a 25%
932  performance increase on a test here.  Your mileage may vary --
933  we've got a convoluted path of symlinks to get to /usr/local/faces
934  on our system.
935
936- From Victor A. Riley <var@iris.brown.edu>
937  Saves the first encounter of a misc./unknown face, then continues
938  looking for another face match.  This is useful when you have
939  several face databases.  For this to work properly, you should have
940  the misc. faces in the sample facedir installed in the same location
941  as your local face database, for instance in /usr/local/faces.  If
942  you have the logos face database, just move the logos/misc. directory
943  up one level in the hierarchy.
944
945  As a future bug fix we can modify the Makefile.dist file so that it
946  does this when you do a 'make tables'.
947
948----
949
950v1.5 - patchlevel 1 - 18th April 1991.
951
952- From Cameron Simpson <cameron@spectrum.cs.unsw.oz.au>
953  Part15 contains a duplicate of addr.h. It's identical to the
954  addr.h extracted by part4.
955
956- From Cameron Simpson <cameron@spectrum.cs.unsw.oz.au>
957  Added a NOUTIME definition to the Makefile.dist, for those systems
958  that don't have a utime() call. Adjusted mon.c and faces.h
959  accordingly.
960
961- From Mike Khaw <khaw@parcplace.com>
962  There were 2 uses of do_audio in xview.c that weren't wrapped in
963  #ifdef AUDIO_SUPPORT which caused 'make xview' to abort on my Sun3.
964
965- From Glenn Satchell <glenn@sybil.Aus.Sun.COM>
966  Modified the faces.sendmail script to use two invocations of sed,
967  which is much more portable than the echo -n version.
968
969- Between v1.4.14 and v1.5.0, certain character declarations that were
970  previously defined as:
971
972  char variable[MAXLINE] ;
973
974  were changed to
975
976  char *variable ;
977
978  Fixed up two occurances where the declaraction and an extern for the
979  declaration didn't match.
980
981- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
982  From Mark Shand <shand@prl.dec.com>
983  In get_options, char *next is not initialized prior to calling
984    read_str(&next, ...
985
986- From Victor A. Riley <var@iris.brown.edu>
987  From Michael Urban <urban%hercules@rand.org>
988  From John Mackin <john@syd.dit.csiro.au>
989  The uncompface() routine can scribble all over RAM in certain
990  circumstances(). This is at about line 72 in compface/gen.c:
991  Illegal array index 2304 into variable F. Maximum array index is 2303.
992
993  [Problem fixed by James Ashton:
994   The array indices incorrectly range from 1 to WIDTH instead of
995   from 0 to WIDTH-1 and the same for HEIGHT].
996
997- From Ignatios Souvatzis <u502sou@mpirbn.mpifr-bonn.mpg.de>
998  Faces crashes when using the -e option with a wrong parameter
999  (nonexistent script etc.)
1000
1001  [I've put a bandaid on this for now, checking for EOF and a reply of
1002   zero, on the first record returned from the popen() pipe. This needs
1003   to be improved when I have more time - Rich].
1004
1005----
1006
1007v1.5 - patchlevel 0 - 15th April 1991.
1008
1009- From David Purdue <davidp@kau1.kodak.com>
1010  From Mike Khaw <khaw@parcplace.com>
1011  The window and icon positioning broke with patch #14 for the
1012  XView version.
1013
1014- From Ignatios Souvatzis <u502sou@mpirbn.mpifr-bonn.mpg.de>
1015  From Mark Shand <shand@prl.dec.com>
1016  raise() is already declared on some systems. All occurances of
1017  raise() in faces have been replaced with raisewindow().
1018
1019- From Lindsay F. Marshall <Lindsay.Marshall%newcastle.ac.uk@munnari.oz>
1020  My faces window beeps and raises itself for no apparent reason.
1021
1022  show_display() was being called in one place in do_mail() even though
1023  there wasn't any new mail. This was causing the window to be raised
1024  and the bell sounded. show_display() now takes a parameter which
1025  indicates whether the display should just be drawn, or whether the
1026  window should raise and beep.
1027
1028- Added in audio capabilities see the README and manual pages for more
1029  details.
1030
1031- Added Saber entry to Makefile.dist and ran the X11 (Xlib) version of
1032  faces through Saber.
1033
1034- From John Mackin <john@syd.dit.csiro.au>
1035  The "-b icon_file" option doesn't work. It still comes up with the
1036  default background.
1037
1038- From Philip Gladstone <philip@bigben.dle.dg.com>
1039  In the top level Makefile, you allow specification of FMONTYPE.
1040  The code in main.c checks for FBMONTYPE. Also the definition of
1041  FMONTYPE=0 and =1 are reversed.
1042
1043- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
1044  Added all the new filters and scripts from Steve to the faces
1045  distribution. Created a new scripts directory, and moved mailq,
1046  lpqall and lpqall.sh across to it. See the README.kinzler files
1047  in the scripts and filters sub-directories for more details.
1048
1049- From John Mackin <john@syd.dit.csiro.au>
1050  If the X11R3 definition is uncommented in the Makefile, then there
1051  would be a syntax error for the font definition in x11.c.
1052
1053- Added Xlib and XView error handlers to the XView version, to try
1054  to track down random cases of:
1055
1056  X Error of failed request:
1057  BadAlloc (insufficient resources for operation)
1058  Major opcode of failed request:  53 (X_CreatePixmap)
1059  Serial number of failed request:  4518
1060  Current serial number in output stream:  4530
1061
1062- From Alan Skea <skea@prl.dec.com>
1063  From Mark Shand <shand@prl.dec.com>
1064  If you are running faces with the -a option, and mail arrived from
1065  x@y with an X-Face: line then another article arrives from x@y with
1066  a different X-Face: line, then the second face is not shown; just
1067  the count of the first face get's incremented.
1068
1069- Adjust MANIFEST, FILES and Makefile.dist for new v1.5 distribution.
1070  Adjusted shar file distribution into fifteen parts, each less than
1071  55Kbytes.
1072
1073- Started to remove all reference to REVORDER, and replace routines
1074  that depend upon byte order with byte independent code. Changed the
1075  five no*.icon files to XBM format. These now use a routine called
1076  load_data() to run them into the correct image format (depending upon
1077  graphics version. Updated MANIFEST, FILES and Makefile.dist
1078
1079- Included mention of Steve Kinzlers' anon ftp service for faces,
1080  available on iuvax.cs.indiana.edu, in the README file.
1081
1082- Created a new file called Faces.ad which gives all the X resource
1083  application defaults for faces.
1084
1085- From Jim Rees <rees@citi.umich.edu>
1086  It would be nice if the compression and uncompression routines were
1087  separated into different source files, so that if I want to include
1088  just the uncompression in my mailer, I don't have to include the
1089  compression stuff too.
1090
1091  I took the easy way out here; cmain.c and uncmain.c can mostly be
1092  combined. Perhaps at a later date.
1093
1094- From Eric Negaard <negaard@aerospace.aero.org>
1095  I have been working on a user program for use with faces (to display
1096  mail in a POP mailbox) and I noticed what I think is a bug.  The code
1097  in do_prog does not update the icon image, so the faces icon always
1098  displays the NOMAIL icon.
1099
1100  My fix was to change the
1101
1102    add_face(DISP_BOTH, ...)
1103
1104  to
1105
1106    add_face(DISP_ALL, ...).
1107
1108- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
1109  It'd be nice if there were a way to specify the icon and information
1110  displayed when a "faces -e" window is in icon form. As it is now, it
1111  always gives the NOMAIL icon.
1112
1113  A simple extension to the format would allow an optional
1114  specification line before the "Cols=X Rows=X" line that would be for
1115  the icon window.
1116
1117- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
1118  Allow variable width columns instead of fixed width columns in the
1119  faces -e format, using a separator character such as ascii 036
1120  (record separator), or perhaps something more readable like TAB
1121  (preferred). Domain names can easily get over 20 characters -- user
1122  names sometimes too.
1123
1124- From John Mackin <john@syd.dit.csiro.au>
1125  Fixed up init_font() in x11.c and xview.c to correctly work with the
1126  -fn command line option.
1127
1128- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
1129  From John Mackin <john@syd.dit.csiro.au>
1130  The IconPositionHint in make_frame() in x11.c should only be set if
1131  an icon geometry or -WP command line option has been given.
1132
1133- From Philippe-Andre Prindeville <philipp@inf.enst.fr>
1134  Adjusted faces.sendmail so that it will add in the X-Face: rather
1135  than have it in the user's ~/.face file. This means the same ~/.face
1136  can be correctly used by the Elm mailer without any changes.
1137
1138- From John Mackin <john@syd.dit.csiro.au>
1139  Added in routines to correctly parse RFC822 mail headers. There are
1140  two new files (addr.h and address.y). Makefile.dist, MANIFEST, FILES
1141  and README have been updated.
1142
1143- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
1144  New versions of some of the faces-e scripts in the scripts
1145  sub-directory, to work with the new TAB field separator. New script
1146  called addxface. Various script name changes to avoid confusion.
1147  MANIFEST, FILES and Makefile.dist updated.
1148
1149- From John Mackin <john@syd.dit.csiro.au>
1150  Compface and uncompface did not correctly handle input from standard
1151  input and output to standard output.
1152
1153----
1154
1155v1.4 - patchlevel 14 - 2nd April 1991.
1156
1157- From Philip Gladstone <philip@bigben.dle.dg.com>
1158  Better handling of X11 events -- fixes a number of bugs whereby
1159  things didn't get drawn.
1160
1161- From Philip Gladstone <philip@bigben.dle.dg.com>
1162  Fits text better into the icon even if proportional spaced font.
1163
1164- From Philip Gladstone <philip@bigben.dle.dg.com>
1165  The option of displaying the hostname rather than the username if
1166  the icon represents the username rather than the hostname. This is
1167  controled by the X resource "faces.displayHostname", and defaults
1168  to false.
1169
1170- From Philip Gladstone <philip@bigben.dle.dg.com>
1171  Fixes some bug (I can't recall what) attached to doing NIS lookups
1172  when a failing NIS lookup turns into a domain name lookup.
1173
1174- From Philip Gladstone <philip@bigben.dle.dg.com>
1175  Fixes a problem with utime system call not taking two longs!
1176
1177- From Philip Gladstone <philip@bigben.dle.dg.com>
1178  Fixes a problem if you change the width across to be not 10.
1179
1180- Added a Makefile.dist file to the faces distribution. This will
1181  replace the Makefile, and allows further changes to this file,
1182  without blowing the users changes out of the water. Patching the
1183  Makefile should be simpler now. The MANIFEST and FILES files have
1184  been updated.
1185
1186- From Chris Steinbroner <hesh@lll-crg.llnl.gov>
1187  From Philip Colmer <pcolmer@acorn.co.uk>
1188  Loading xfaces fails because XSetWMProtocols() does not exist on my
1189  system. It's an X11R4 routine. A new definition (X11R3) has been
1190  added to the Makefile.dist file. This needs to be uncommented if
1191  you are running the X11 (Xlib) version under MIT X11R3.
1192
1193- From John B. Melby <melby@daffy.yk.fujitsu.co.jp>
1194  If one creates a directory "edu" in the faces directory, it does
1195  not have any effect on a domain address in which EDU is capitalized.
1196  It seems to me that "faces" should not pay any attention to the
1197  case of a domain name (since case is only supposed to be significant
1198  in the user name).
1199
1200  From John Mackin <john@syd.dit.csiro.au>
1201  The comparison when looking up the domain in the faces
1202  directory appears to be case-sensitive.  This is wrong per
1203  RFC822, domain-parts are case-insensitive.  Both the directory
1204  name and the host name from the mail item should be downcased
1205  before comparison.
1206
1207  From Peter Gray <pdg@draci.cs.uow.oz.au>
1208  When comparing the domain of the mail with the machine.tab entries
1209  strcasecmp should be used since mail addresses are case invarient.
1210
1211  From u502sou@mpirbn.mpifr-bonn.mpg.de (Ignatios Souvatzis)
1212  As far as I remember, RFC822 states that 'domains' and 'mailboxes'
1213  ignore case. I frequently get mail with domain or subdomain names
1214  uppercase or capitalized. 'gethostname' on the DECstations of the
1215  university's radio astronomy institute returns upper case names
1216  (probably set up this way to get it compatible to DECnet
1217  conventions, they talk DECnet to the VAXes...). [Patch included].
1218
1219- From Ken Wood <kwood@adl.austek.oz.au>
1220  Details of how to generate X-Face: headers from within GNU Emacs.
1221  Added to the README file.
1222
1223- Converted the mini faces database supplied with the faces
1224  distribution to face.xbm format. MANIFEST and FILES files updated.
1225
1226- Reversed the order of the patch entry descriptions in the CHANGES
1227  file, so the latest entry is at the top.
1228
1229- From Steve Kinzler <kinzler@iuvax.cs.indiana.edu>
1230  Added a variety of scripts and filters to the faces distribution.
1231  These are:
1232
1233  ikon2xbm, xbm2ikon  bitmaps filters for Blit ikon and X11 bitmaps
1234
1235  lpqall.sh, lpqall   customized "faces -e" script for monitoring all
1236                      printers
1237
1238  mailq               customized "faces -e" script for monitoring the
1239                      system sendmail queue
1240
1241- The faces mailing list is now mentioned in the README file.
1242
1243- The resource handling that was in x11.c, has been abstracted out
1244  into main.c. The XView version now also reads the X resources.
1245
1246- From Michael Urban <urban%hercules@rand.org>
1247  Inclusion of support for the RAND mailer in mon.c, which insists on
1248  four ^A characters to mark the beginning and end of messages. These
1249  mods are included via an #ifdef RAND, with a new entry in the
1250  Makefile.dist file.
1251
1252- From Robert Adams <adams@littlei.intel.com>
1253  Details of how to use the X-Face: lines with SVR4 have been added
1254  to the README file.
1255
1256----
1257
1258v1.4 - patchlevel 13 - 13th March 1991.
1259
1260- From James Ashton <jaa@cs.su.oz.au>
1261  From Mark Shand <shand@prl.dec.com>
1262  Fixed a corruption problem with the [un]compface routines.
1263
1264- From Dave Cohrs <dave@cs.wisc.edu>
1265  Changed some #ifndef mips to #if !defined(mips) || defined(ultrix)
1266  because a DECstation defines mips as its processor type.
1267
1268- From Dave Cohrs <dave@cs.wisc.edu>
1269  Added a new option to set the X11 font name, -fn.  Also, added
1270  support internally to handle fonts other than the standard 6x12
1271  font by removing inline constants and using font parameters instead.
1272
1273- From Dave Cohrs <dave@cs.wisc.edu>
1274  Added support for the standard X11 resources that correspond to the
1275  command line options. I could have gone further with this, but it
1276  gets tiring after a while. I wouldn't want to do much more without
1277  changing it into a toolkit program, but that's just too much work!
1278
1279- From Dave Cohrs <dave@cs.wisc.edu>
1280  Added the ability to specify the 4 .facesrc parameters via the X11
1281  resource file -- X11 users are used to everything being in the X11
1282  resources, so this gives them what they expect.
1283
1284- From Dave Cohrs <dave@cs.wisc.edu>
1285  Allow X11 users to make an X11 bitmap rather than a Sun icon for
1286  the background pixmap.
1287
1288- From Dave Cohrs <dave@cs.wisc.edu>
1289  Added an XFlush() to the bell code, to make the beeps intelligible,
1290  and changed an XSync() to an XFlush() -- the former caused the
1291  window to hang until an event occured -- probably a buffering
1292  problem.
1293
1294- From Dave Cohrs <dave@cs.wisc.edu>
1295  Removed some stuff for displaying the username/timestamp text for
1296  X11. It made the display look really bad for a color monitor.
1297
1298- From Dave Cohrs <dave@cs.wisc.edu>
1299  Updated the man page to mention all of the X options and resources.
1300
1301- From Dave Cohrs <dave@cs.wisc.edu>
1302  If the "X-Face: " is the last header line, it doesn't get displayed,
1303  because the final processing never gets done to set "x_face".
1304
1305- From Dave Cohrs <dave@cs.wisc.edu>
1306  In the X11 event processing, KeyPress gets sent for real key presses
1307  (e.g 'q') and for other presses, like <Shift>.  The latter doesn't
1308  clear out the lookup string, so you need to do so manually.
1309  Otherwise, if you type <DEL> to clear the window, you can press
1310  <Shift> or <Control> or any such key accidentally later on, and it
1311  clears the window.
1312
1313- From Mark Shand <shand@prl.dec.com>
1314  Changes to fgetheader function which returns a folded header line
1315  (in the RFC822 sense), and associated to the "line" variable which
1316  must now accomodate arbitrarily long input lines. Also deal with
1317  space between the header-field and the :
1318
1319----
1320
1321v1.4 - patchlevel 12 - 17th January 1991.
1322
1323- The Del key was being incorrectly recognised in the XView version.
1324
1325- From Craig Bishop <csb@gdwb.oz.au>
1326  If you are monitoring "New" mail after clicking on the Apply
1327  button from the property sheet, with the XView version, then the
1328  faces window should be cleared first.
1329
1330- From Craig Bishop <csb@gdwb.oz.au>
1331  If you were monitoring new mail, mail messages with X-Face: lines
1332  were being incorrectly extracted if the X-Face: line(s) were the
1333  last header field, now that faces only looks for X-Face: lines in
1334  the mail header.
1335
1336- Fixed up the X11 and XView drivers so there is a definite pause
1337  between each beep and flash when new mail arrives.
1338
1339- If the hostname to be monitored is an empty string, do_users()
1340  defaults to "localhost". If the printer name to be monitored is
1341  an empty string, do_printer() defaults to "lp".
1342
1343----
1344
1345v1.4 - patchlevel 11 - 14th January 1991.
1346
1347- Removed the mailing list hack from Gregory Dudek. It doesn't seem
1348  to work quite right, and it cause the incorrect handling of From:
1349  lines on other mail items.
1350
1351- The check to see if the spool file has changed, needed to call
1352  show_display() if there was no change, otherwise the old offscreen
1353  memory pixrects, would not be freed.
1354
1355- Added a property sheet to the XView version. This allows you to
1356  toggle the monitoring option (mail/users/printer/custom) on the fly.
1357
1358- Ran faces through Saber-C, and fixed up inconsistencies.
1359
1360----
1361
1362v1.4 - patchlevel 10 - 7th January 1991.
1363
1364- Faces now only looks for X-Face: lines in the mail header, now
1365  that there is a simple method for everybody to get their X-Face:
1366  lines into the mail header (see below). This fixes up the following
1367  problems (which have been removed from the TODO file):
1368
1369  If an X-Face is found inside a piece of mail that has been
1370  forwarded inside another mail item, and the -U option is set, then
1371  it is possible to update the wrong face in the faces database. The
1372  only clean solution to this, is if faces only recognises X-Face
1373  lines in the mail header.
1374
1375  From Pat Lashley <patl@Sun.COM>
1376  The problem with finding an X-Face: entry in an included message
1377  can be resolved by a flag which would restrict X-Face: recognition
1378  to the header or the first non-blank line of the body.
1379
1380- From John Mackin <john@cs.su.oz.au>
1381  The code in mon.c recognises From: lines in the body of the mail.
1382  This is an error. From: lines should only be recognised before
1383  the first blank line.
1384
1385- From John Mackin <john@cs.su.oz.au>
1386  A small shell script called faces.sendmail has been written, which
1387  will automatically add X-Face: compressed image lines to a mail
1388  header. This is used in conjunction with the set sendmail entry in
1389  a user's ~/.mailrc file. See the README file and the faces manual
1390  pages for more details. This method is known to work with Berkeley
1391  Mail, Open Windows mailtool and mush. It should work with other
1392  mailers too. The special patch to mush is no longer needed; in
1393  fact if it has been applied, it should be un-applyed otherwise you
1394  will get two sets of X-Face: lines in your mail headers. The
1395  mush.xface.patch file can be removed from the faces distribution.
1396  FILES, MANIFEST, Makefile, README and faces.1 have been updated.
1397
1398- From John Mackin <john@cs.su.oz.au>
1399  The manual entry makes no mention of X-Face: lines.
1400
1401- From Mike Khaw <khaw@parcplace.com>
1402  The "install" target for the Makefile is missing a "/" between
1403  $(MANSECT) and face_update; i.e., the last line should be
1404
1405       $(MANDIR)/man$(MANSECT)/face_update.$(MANSECT)
1406
1407- From Chris Mackerell <chris@bcl.co.nz>
1408  Changes to faces to get it compile in the BSD4.3 environment of
1409  Mips RISCos 4.5 (beta).
1410
1411- From brew%qa@tplrd.tpl.oz.au
1412  There is a problem parsing the address from which mail comes
1413  if the address looks like
1414
1415  From: person@machine
1416
1417  ie: no "(comment)" after it.  You parse this so that the machine
1418  name has a trailing '\n'.
1419
1420  Although I sometimes get mail like this, perhaps this is not correct
1421  RFC822 syntax.
1422
1423- From Chris Maltby <chris@softway.sw.oz.au>
1424  It the user had cleared the faces window by hitting the Del key,
1425  the icon wasn't being reset to the "no mail" icon.
1426
1427- From Howard Pelling <Howard.Pelling@UK.Sun.COM>
1428  Modifications to allow faces to recognise partial domains in the
1429  machine.tab file. Eg. mail from bristol.ac.uk and edinburgh.ac.uk
1430  will come from the same community.
1431
1432- From Graham Dumpleton <grahamd@otc.otca.oz>
1433  From Alan Skea <skea@vast.eecs.unsw.oz>
1434  If the From: line just had a username (no hostname), then the
1435  trailing newline was not being removed (in parsefrom.c).
1436
1437- A plain text version of the faces manual pages is now included with
1438  the faces distribution. It's called faces.man.text.
1439
1440- From Gregory Dudek  <dudek@daeron.McRCIM.McGill.EDU>
1441  In process_info() in mon.c, don't do anything if the mailbox hasn't
1442  changed since the last look.
1443
1444- From Gregory Dudek  <dudek@daeron.McRCIM.McGill.EDU>
1445  In process_from() in mon.c, I've added an UGLY hack so that mailing
1446  lists could be recognized as such, rather than causing zillions of
1447  different unknown's to appear. It expects an ugly ugly magic trick
1448  in people.tab. The mailing list must appear as
1449  listplace/list@listplace  eg.
1450
1451  ics.UCI.EDU/fa.think-c-outbound-request@ics.UCI.EDU
1452
1453----
1454
1455v1.4 - patchlevel 9 - 11th October 1990.
1456
1457* From Robert Adams <adams@littlei.intel.com>
1458  Speedups in directory searching in main.c:
1459         1) all of the lists are now terminated by a NULL (saves
1460                 a 'strlen' call);
1461         2) the removal of the leading "." is done earlier and a
1462                 check is made for removing a last trailing dot (this
1463                 saves an extra bunch of stat's for the dir "misc.");
1464         3) if the 'stat' for the old style file name fails, that
1465                 means that the directory containing the files also
1466                 can't be there.  The loop is terminated if the 'stat'
1467                 fails.  This reduces the number of 'stat's done
1468                 when searching for a face by an order of magnitude.
1469
1470* From Robert Adams <adams@littlei.intel.com>
1471  The time delay for the SysV kludge 'select' replacement was reduced
1472  from 5 to 3.
1473
1474* From Johan Vromans <jv@mh.nl>
1475  With GNU gcc, you cannot say "#ifdef XXX || YYY". It must be either
1476  "#if XXX || YYY" or "#if defined(XXX) || defined(YYY)".
1477
1478* From Johan Vromans <jv@mh.nl>
1479  Defined CC and $(CC) in the compface/Makefile, which can easily be
1480  altered for other C compilers.
1481
1482* From Bruno Pillard <bp@chorus.fr>
1483  The installation of the machine.tab and the people.tab has been
1484  removed from the standard "make install" rules in the Makefile.
1485  Typically sites will have customised these files in their faces
1486  directory, and do want them overwritten when you do a new
1487  installation of the faces program.
1488
1489  Instead, an extra definition has been added to the Makefile. If you
1490  now do a "make tables", then the default machine and people tables
1491  will be installed. The README has been updated to reflect this
1492  change.
1493
1494* From John Mackin <john@cs.su.oz.au>
1495  Some systems (that don't use Berkeley Mail) have a ~/.mailrc format
1496  that is not compatible with the format of the commands that faces
1497  wants to find there. So, look for .facesrc first, and if that is
1498  found use it; otherwise examine .mailrc. This has been implemented,
1499  and the manual pages have been updated to reflect these changes.
1500
1501* From John Mackin <john@cs.su.oz.au>
1502  The manual page did not actually document the format of the commands
1503  faces looks for in .mailrc/.facesrc (that is, "set bell = <number>"
1504  and "set flash = <number>"). These have been documented, and two
1505  new options have also been added: "set raise" causes the window to
1506  be raised when new mail arrives, and "set button1clear" causes
1507  button 1 to clear the window, like it did in the previous version
1508  of faces, and like hitting Delete does now, and moves button 1's
1509  "toggling" function to button 2. This functionality is present in
1510  the X11, XView and SunView drivers. The TODO file has been updated
1511  to show that the NeWS driver still needs to be modified.
1512
1513* From John Mackin <john@cs.su.oz.au>
1514  Several functions (getenv, malloc, index and rindex) are all
1515  standard V7 and are all always char *. There is no reason they
1516  should be declared inside the SYSV32 conditional.
1517
1518* From John Mackin <john@cs.su.oz.au>
1519  The code has been made more robust for the case where uncompface
1520  never gets called. It will core-dump otherwise if an X-Face: line
1521  is the last thing in the mail file. In any case, the return value
1522  of index should always be checked.
1523
1524* From John Mackin <john@cs.su.oz.au>
1525  Various #include file adjustments for a MIPS machine:
1526
1527  netdb.h      ==>  bsd/netdb.h
1528  sys/types.h  ==>  bsd/sys/types.h
1529  sys/time.h   ==>  bsd/sys/time.h
1530
1531  In general, you should not assume that sys/time.h will automatically
1532  include sys/types.h for you.
1533
1534* From John Mackin <john@cs.su.oz.au>
1535  X-Face: lines are ignored if we've already seen one in this mail
1536  item. (This is similar to the way From: lines are already treated.)
1537  This will work correctly in all cases except when someone who puts
1538  their X-Face: in their signature includes (and doesn't indent) mail
1539  with an X-Face: in it. The TODO file entry has been modified to
1540  reflect this change.
1541
1542* From John Mackin <john@cs.su.oz.au>
1543  An extra definition has been added to the Makefile. This is
1544  NO_SELECT, and should be uncommented if your machine doesn't have
1545  the select() system call. Before this patch, this option was
1546  determined by the SYSV32 #ifdef. In these days of hybrid Unix
1547  systems this is no longer appropriate.
1548
1549* From John Mackin <john@cs.su.oz.au>
1550  The X11 driver now sets the WM_CLIENT_MACHINE property.
1551
1552* From John Mackin <john@cs.su.oz.au>
1553  Fixed a bad, core-dump-causing bug in the compface/compress routine.
1554  BigRead calls BigMul which assumes B is initialised. That's fine for
1555  the compface and uncompface _programs_ -- in that case it is
1556  initialised to zero, being statically allocated -- but a disaster
1557  for programs that call the library routines repeatedly, as faces does.
1558
1559* From John Mackin <john@cs.su.oz.au>
1560  Fixed a naming conflict between BACKGROUND in faces.h, and the
1561  Makefile definition BACKGROUND (if uncommented).
1562
1563* From John Mackin <john@cs.su.oz.au>
1564  The following points have been added to the TODO file:
1565
1566  - If the mailbox is empty, or contains just one mail item, faces -a
1567    starts out 10 icon-widths long (with the right-hand part being
1568    white instead of background grey), then shrinks to one icon-width
1569    as soon as a mail item arrives or you delete the mail.
1570    I don't care about this since I don't use -a, but what I _would_
1571    like to see (here comes the wishlist item) is an option that you
1572    can use with monitor-new that keeps the window always 10 (or -c
1573    if specified) icon-widths wide, but adds extra rows of icons as
1574    needed if more than 10/-c new mail items arrive between clearings
1575    of the window, and shrinks the window back to one row/-c widths
1576    when it is cleared.
1577
1578  - The usage message claims you can use "-bg background_color".
1579    This isn't in the manual page, and it also doesn't work at all
1580    (under X11). The argument appears to be completely ignored
1581
1582  - The "-b icon_file" option doesn't work. It still comes up with
1583    the default background.
1584
1585  - The manual entry makes no mention of X-Face: lines.
1586
1587  - It should be made more explicit in the manual page that in the
1588    previous version of faces, a -f option _added_ the directory to
1589    the face search path, so that if you did -f you got those faces
1590    in addition to the system default faces, whereas now -f
1591    _supersedes_ the system faces and you must include a trailing
1592    colon to have them searched.
1593
1594  - A comment on the domain lookup algorithm. According to the manual
1595    page:
1596
1597    $DIR/machine.dom.ain/uid/iconname
1598    $DIR/dom.ain/uid/iconname
1599    $DIR/ain/uid/iconname
1600    $DIR/misc./uid/iconname
1601    $DIR/machine.dom.ain/unknown/iconname
1602    $DIR/dom.ain/unknown/iconname
1603    $DIR/ain/unknown/iconname
1604    $DIR/misc./unknown/iconname
1605
1606    This leads to a top-level directory with a _lot_ of subdirectories.
1607    I think this is responsible for much of faces' CPU time; it's well
1608    known that large directories are a UNIX performance no-no. What I
1609    would like to see instead (or in addition, or as an option, perhaps
1610    compile-time) is the following.
1611
1612    $DIR/ain/dom/uid/iconname
1613    $DIR/ain/uid/iconname
1614    $DIR/misc./uid/iconname
1615    $DIR/ain/dom/machine/unknown/iconname
1616    $DIR/ain/dom/unknown/iconname
1617    $DIR/ain/unknown/iconname
1618    $DIR/misc./unknown/iconname
1619
1620    The idea is that at each level, if the next component exists and is
1621    a directory, you descend into it and look there.
1622
1623  - The code in mon.c recognises From: lines in the body of the mail.
1624    This is an error. From: lines should only be recognised before
1625    the first blank line.
1626
1627  - You test if the beginning of the line is identically equal to
1628    "X-Face:" or "From:". This is contrary to RFC822, which specifies
1629
1630     (1) that headers should be recognised in either case (so "X-Face:"
1631         and "X-FACE:" and "x-FaCe:" are all equivalent).
1632     (2) that there may be linear white space (spaces or tabs) between
1633         the field-name and the colon (so "FRoM  : Foo Bar <foo@bar>"
1634         should work).
1635
1636  - The RFC822 address parsing in parsefrom.c appears, on quick
1637    inspection, to be grossly inadequate.  (It certainly doesn't
1638    handle comments in addresses, for one thing.)
1639
1640----
1641
1642v1.4 - patchlevel 8 - 13th September 1990.
1643
1644* From Mike Khaw <khaw@parcplace.com>
1645  From Rod Whitby <rwhitby@austek.oz.au>
1646  From John Pritchard <john@latcs1.lat.oz.au>
1647  faces v1.4.7 dumps core in make_iconname(). It's doing an strlen
1648  on facepath[i] when it could be NULL. This is probably caused
1649  when your FACEDIR directory doesn't have a misc./unknown subtree.
1650
1651* From Ian Darwin <ian@sq.com>
1652  The x11 driver does not set XA_WM_CLASS, so things that depend
1653  on CLASS to operate won't operate properly.
1654
1655* From Greg Rose <greg@softway.sw.oz.au>
1656  From Ken Wood <adl.austek.oz.au>
1657  faces with both the -MH and -a options together didn't work
1658  correctly.
1659
1660* The -v command line option now displays the usage message and exit.
1661  The new -? command line option is similar. The usage message is now
1662  upto date and also lists the keyboard accelerators.
1663
1664* From John Pritchard <john@latcs1.lat.oz.au>
1665  The file netdb.h was included twice if DNSLOOKUP is defined.
1666
1667* From Chris Maltby <chris@softway.sw.oz.au>
1668  The window attributes structure with the X11 driver is now zeroised
1669  before being used.
1670
1671* From Chris Maltby <chris@softway.sw.oz.au>
1672  With the X11 driver, if the icon position hasn't been specified
1673  with the -WP option, then the position defaults to the where the
1674  right end of the open window would appear.
1675
1676* From Steven M. Miller <miller@SCTC.COM>
1677  Under X, when faces is started up in iconic mode nothing is displayed
1678  in the icon until the icon is clicked on and opened and then closed
1679  again.
1680
1681* From Michael Schmidt <michael@uni-paderborn.de>
1682  Perhaps my configuration (SparcStation, SunOS4.0.3, X11R4, twm with
1683  ForceIcons, IconManager and IconRegion) is wierd, but... The icon is
1684  not placed in the IconRegion, but just at 0x0 (or 1x1, or so). Then I
1685  cannot deiconify the icon by a mouse click (all other icons deiconify
1686  on a left button click).
1687
1688* From Steven M. Miller <miller@SCTC.COM>
1689  faces now recognises -iconic (as well as -Wi) to specify iconic mode.
1690  Inverse mode is still -i. The manual page has been updated.
1691
1692* From Ian Darwin <ian@sq.com>
1693  faces uses -s <spoolfile> to indicate a different spool file to
1694  monitor. How about a -S <spooldir> to indicate a different spool
1695  directory? The manual page has been updated.
1696
1697* From Lindsay F. Marshall <Lindsay.Marshall%newcastle.ac.uk@munnari.oz>
1698  faces works incorrectly when either the -h <height> or the -w <width>
1699  options are given. The image area is not being cleared first.
1700
1701----
1702
1703v1.4 - patchlevel 7 - 6th August 1990.
1704
1705* From Chris Steinbroner <hesh@lll-crg.llnl.gov>
1706  From Bob Posert <psitech.psitech!bob@uunet.UU.NET>
1707  Incoming mail is not always stored in /usr/spool/mail/username.
1708  HP-UX and Dell Unix (Interactive 386/ix) store it in
1709  /usr/mail/username. Another definition (SPOOLDIR), has been added
1710  to the Makefile. The README file has also been updated.
1711
1712* From Hugues Leroy <Hugues.Leroy@irisa.fr>
1713  From Graham Dumpleton <grahamd@otc.otca.oz.au>
1714  From Peter Chubb <peterc@softway.oz.au>
1715  From Robert Adams <adams@trim.intel.com>
1716  The parsefrom() function was not replacing a '\n' at the end of
1717  a line with '\0' before preceding.
1718
1719* From Michael Schmidt <michael@uni-paderborn.de>
1720  The faces window now accepts two more keyboard characters:
1721     q - to terminate the faces program.
1722    ^L - to refresh the faces window.
1723
1724* From Michael Schmidt <michael@uni-paderborn.de>
1725  Added support for printer monitoring with the PLP printer
1726  spooling system. Another definition (PLP) has been added to
1727  the Makefile. The README file has been updated.
1728
1729* From Chris Steinbroner <hesh@lll-crg.llnl.gov>
1730  Diffs included to allow faces to run under HP-UX.
1731
1732* From Robert Adams <adams@trim.intel.com>
1733  Changed the SYSV definition to SYSV32 because I work with both
1734  System V.3.2.2 and System V.4.0 from AT&T and they need different
1735  defines.
1736
1737* From Robert Adams <adams@trim.intel.com>
1738  Added -bg and -fg to the parameter string and modified x11.c
1739  to set the background and foreground colors. Currently this is
1740  only available with the X11 graphics driver.
1741
1742* From Robert Adams <adams@trim.intel.com>
1743  people.tab now accepts the syntax "aliascomm/alias=comm/name"
1744  to map a whole name (this is one of the TODO points).
1745  It still accepts the old syntax. As a side effect, the
1746  people.tab and machine.tab routines were re-written to be
1747  better parsers and are now forgiving of white space.
1748
1749* From Robert Adams <adams@trim.intel.com>
1750  make_iconname was rewritten to get rid of the cut and paste
1751  code and now is a gaggle of 'for' loops.
1752
1753* From Robert Adams <adams@trim.intel.com>
1754  From Michael Schmidt <michael@uni-paderborn.de>
1755  The domain name parsing code in make_iconname was not working.
1756  The problem was that the 'old_style' code 'goto'ed out of the
1757  middle of the domain breakdown loop thus defeating same.
1758
1759* From Robert Adams <adams@trim.intel.com>
1760  The code for building the name for people.tab and machine.tab was
1761  broken if an alternate directory ("-f") was specified (changes
1762  in rec.c in read_alias and read_machines).
1763
1764* From Robert Adams <adams@trim.intel.com>
1765  If 'host' does not appear in an RFC822 address, the code would
1766  assume "LOCAL".  The code has been fixed to assume 'hostname'
1767  instead (fix to parsefrom.c).
1768
1769* From Robert Adams <adams@trim.intel.com>
1770  There was a strange bug that would cause icons on the end of the
1771  list (after entries were deleted) to get mangled.  This usually
1772  showed up as the NOMAIL icon not being shown but garbage being
1773  shown instead.  The problem was that in 'garbage_collect', there
1774  was a local variable 'last' that was hidding the global variable
1775  of the same name and thus the global was not getting updated
1776
1777* From Pat Lashley <patl@Sun.COM>
1778  Added code to use the Domain Name Service to attempt to convert
1779  unqualified hostnames, or hostnames with partial domains to fully
1780  qualified domain names. Another definition (DNSLOOKUP) has been
1781  added to the Makefile. The README file has been updated.
1782
1783* From Pat Lashley <patl@Sun.COM>
1784  When no icon is found for a given user, the unknown icon may be
1785  displayed either with the user name, or labeled as `unknown'.
1786  The former case provides the most information, the latter allows
1787  all unknown users within a given community to be lumped into a
1788  single image. Another definition (NAMEUNKNOWN) has been added to
1789  the Makefile. The README file has been updated.
1790
1791* From Pat Lashley <patl@Sun.COM>
1792  Support is now included for multiple face directories. Faces
1793  will search for the environment variable FACEPATH, and use this
1794  as a list of colon separated face directories. See the manual
1795  page for more details.
1796
1797* Official support for X-Face lines was not included with patch #2
1798  to mush v7.1. Dan and Bart suggested that instead, a new file
1799  (mush.xface.patch) should be included with the faces distribution
1800  which in an unofficial patch to mush v7.1.2, to allow that X-Face
1801  support. The README, MANIFEST and FILES files have been updated.
1802
1803* From Rod Whitby <rwhitby@austek.oz.au>
1804  faces v.1.4.6 dumps core when the following message (cut down to the
1805  smallest case) is in my mail box. This was a case of a valid X-Face:
1806  being followed by a line starting with the word "X-Face ". Faces now
1807  searches for "X-Face:" rather than "X-Face". This really needs to be
1808  tightened up some more.
1809
1810----
1811
1812v1.4 - patchlevel 6 - 5th July 1990.
1813
1814* From Tony Landells <ahl@technix.oz.au>
1815  Change all the .LP macros in the manual pages to .PP, since .PP is
1816  an alternative to .LP is newer versions of the manual pages, while
1817  it is the alternative to .P in older versions; but older versions
1818  don't have .LP and newer ones don't have .P.  Thus .PP seems to be
1819  the only universally accepted one.
1820
1821* From Pat Lashley <patl@Sun.COM>
1822  make_iconname() is broken with respect to multi-level domains. One
1823  symptom is that `unknown' will always come from misc.. The problem
1824  is that the for loops are nested backwards.
1825
1826* From Pat Lashley <patl@Sun.COM>
1827  Code to impliment simple NIS lookup for hosts not explicitly
1828  mentioned in the machines table. Note there is another definition
1829  at the front of the Makefile (NISLOOKUP), then should be uncommented
1830  to use this feature. The README file has been updated.
1831
1832* From Dave Glowacki <dglo@ads.com>
1833  From Steven M. Miller <miller@SCTC.COM>
1834  If the geometry has been set with -geometry you don't want to try
1835  and get the default. Additionally if no default is set XGetDefault
1836  returns NULL which crashes the faces program.
1837
1838* From Chris Steinbroner <hesh@lll-crg.llnl.gov>
1839  For system V and varients, there is no <strings.h>; it is <string.h>.
1840  I've added yet another definition (SYSV) to the Makefile, that
1841  should be uncommented, if this is the case for your machine. The
1842  README file has been updated.
1843
1844* From Chris Steinbroner <hesh@lll-crg.llnl.gov>
1845  Making rs2icon fails because my machine has no rasterfile.h
1846  include file. The #include <rasterfile.h> has been removed from
1847  this file, and the structure definition added to the source file.
1848
1849* From Chris Steinbroner <hesh@lll-crg.llnl.gov>
1850  ikon2icon in the filters directory uses index(), so you have to do
1851  the NOINDEX define stuff there too.
1852
1853----
1854
1855v1.4 - patchlevel 5 - 29th June 1990.
1856
1857* From John Togasaki <toga@Eng.Sun.COM>
1858  From John Fong <johnfong@Ebay.Sun.COM>
1859  The definition in the Makefile for CFACEDIR was incorrect.
1860  The use of CFACEDIR in main.c should be FACEDIR instead.
1861
1862* From John Togasaki <toga@Eng.Sun.COM>
1863  The definition for MANDIR in the main Makefile is incorrect.
1864
1865[Posted to comp.sources.misc]
1866
1867----
1868
1869v1.4 - patchlevel 4 - 26th June 1990.
1870
1871* From Pat Lashley <patl@Sun.COM>
1872  made several adjustments to the Makefile to get "make install" to
1873  work properly.
1874
1875* From Steve Piette <Steve.Piette@Central.Sun.COM>
1876  added a missing i from an int (nt) declaration in xview.c.
1877
1878* included a new version of the face_update script. This version
1879  logs an entry for each update in a logfile (var/log/facelog by
1880  default. The script also has support for the "old" style of the
1881  faces database, where the username was the ikon.
1882
1883* created a manual page for face_update (face_update.1). Updated
1884  MANIFEST, FILES and Makefile to reflect this change.
1885
1886* From Pat Lashley <patl@Sun.COM>
1887  the NeWS version has been fixed. The NeWS PostScript code has
1888  been converted to use cps, and a faces_cps.cps file has been generated.
1889  The news.c C frontend, has been rewritten to use the new cps
1890  routines. The NeWS code has been changed to be more object oriented.
1891
1892* From Cameron Humphries <cameron@cs.flinders.oz.au>
1893  From Chris Maltby <chris@softway.sw.oz.au>
1894  From Rich McAllister <rfm@Eng>
1895  From Hakon Lie <howcome@Eng>
1896  From Darryl K. Ramm <darryl@pyrmania.oz.au>
1897  From Tony Landells <ahl@technix.oz.au>
1898  Need to include <ctype.h> in get.c
1899
1900* From Rick Gunderson <rickg@toshiba.tic.oz.au>
1901  On the Sun386i version under SunView, the default icons were
1902  scrambled because of byte ordering problems in the load_icon routine.
1903  The icons loaded with get_blit_ikon were okay because I defined the
1904  REVORDER flag in the Makefile so the image gets massaged when it is
1905  loaded. I fixed this by redefining the interface to load_icon (but
1906  only when REVORDER is defined) by adding a flag to tell load_icon if
1907  the image had not already been ``massaged''.
1908
1909* From Rick Gunderson <rickg@toshiba.tic.oz.au>
1910  From Tony Landells <ahl@technix.oz.au>
1911  The FACEDIR make variable is undefined for make install
1912  FACEDIR (for make install) clashes with FACEDIR (-D option).
1913
1914* From John Fong <johnfong@Ebay.Sun.COM>
1915  With each mail message, stop looking for From: lines once you've
1916  found one.
1917
1918* From Chris Maltby <chris@softway.sw.oz.au>
1919  With the default mail option, the spy (unknown) ikon should
1920  display the correct username.
1921
1922* When no faces database is found, the noface ikon should display
1923  the correct username.
1924
1925* Added support for the "old" style of face database. This is where
1926  the username is not a directory, but the ikon in 48x48x1 format.
1927
1928* If the spool file was non existent then the icon was blank instead
1929  of NOMAIL.
1930
1931* The -a option used with the -U option was supplying the facemaker
1932  alias with the wrong filename to update.
1933
1934* From Darryl K. Ramm <darryl@pyrmania.oz.au>
1935  Make install, clean etc did not work because Pyramid make does not
1936  predifine $(MAKE).  The declaration 'MAKE=make' fixes this.
1937
1938* From Darryl K. Ramm <darryl@pyrmania.oz.au>
1939  The mv commands in install should be a cp because it makes
1940  restarting install easier should it fall over half way through.
1941
1942* From Darryl K. Ramm <darryl@pyrmania.oz.au>
1943  faces/compface/compface.h: Needs #include <strings.h> on Pyramid
1944  not <string.h>.
1945
1946* From Darryl K. Ramm <darryl@pyrmania.oz.au>
1947  x11.c: Pyramid's cc warns about illegal operation on geometry.
1948  if (!geometry)   should be   if (geometry[0] != '\0')
1949
1950* The icon dimensions should be imagewidth and imageheight in case
1951  the user has given the -w and -h command line options.
1952
1953* From Chris Maltby <chris@softway.sw.oz.au>
1954  There is no mention in the manual about having to press DEL to
1955  clear the open window display with the default mail option.
1956
1957* From Tony Landells <ahl@technix.oz.au>
1958  The programs in the filters directory never get built. Make
1959  install correctly does this now.
1960
1961* In the -a -U mode, when an "on-the-fly" face was found, faces
1962  would attempt to send mail to update the database each time the
1963  spoolfile was checked. The internal record chaining was incorrect,
1964  and a new garbage collection routine has been written.
1965
1966* From Chris Maltby <chris@softway.sw.oz.au>
1967  A rewrite of the faces manual page to provide the most important
1968  information on the first page.
1969
1970* the X11 version now correctly displays on the icon.
1971
1972* From Chris Maltby <chris@softway.sw.oz.au>
1973  Some machines don't automatically define popen() to return a
1974  FILE *.
1975
1976* the X11 version no longer puts out the ICCCM protocol error message
1977  when it's deleted.
1978
1979----
1980
1981v1.4 - patchlevel 3 - 21st June 1990.
1982
1983* version made available internally via anon ftp and the mail server.
1984  also made available via fetchfile in Australia for beta testing.
1985
1986----
1987
1988v1.4 - patchlevel 2 - 20th June 1990.
1989
1990* copy sent to various people for internal testing.
1991
1992----
1993
1994v1.4 - patchlevel 1 - 19th June 1990.
1995
1996* copy sent to James Ashton for uncompression enhancements.
1997
1998----
1999
2000v1.4 - patchlevel 0. - started 7th June 1990.
2001
2002* released to volunteers for various enhancements.
2003
2004====
2005