1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
|
XFaces 3.3
Christopher B. Liebman
liebman@zod.clark.net
March 12, 1994
What is XFaces?
XFaces is a program that will display an image for each
piece of mail in your mail box. This lets you know at a
glance who you have mail from. XFaces starts out (when you
have no mail) looking like a color xbiff. As you receive
mail XFaces becomes a column of mail images. Some of XFaces
features:
- Both mono and color images.
- Optional Shaped window support with both xpm and xbm.
- Sound support using the NetAudio protocol. The NetAudio server
currently supports Sun's SparcStation (SunOS 4.1.X and Solaris 2.2),
SGI's Indigo and NCD MCX X terminals running NCDware 3.1 or later.
- Face images can be "compressed" so that each image will only
show up once on your display. This way, if you receive 30 messages
from one user, list or whatever the image will only show up once.
- You can use regular expressions to search any headers to choose
images and sounds or ignore that mail message compleatly. This
lets you specify an image/sound for mail that comes from a
mailing list or ignore mail that you have already seen but
left in your system mailbox.
- Compatibility support for Rich Burridge's faces program. This
includes the ability to run user command to generate the image
list.
- Support for POP mailboxes.
- XFaces can kick off shell commands based upon mailbox
contents. You could have yourself paged when a high priorty
item needs your attention.
- XFaces can run external filters to convert images into Xpm
so that image formats that XFaces does not understand can
be used.
- The annotations for mail items include username, hostname,
count, user@host, the contents of any header.
XFaces is based on the Xt Intrinsics (-lXt) and the Athena
Widget set (-lXaw). To build in Xpm support you need the
xpm library (-lxpm) version 3.2 or later. To build in the
sound support you will need NetAudio 1.1 or later. Both the xpm
and the NetAudio distributions and publicly available with anon
ftp from ftp.x.org in the contrib directory. If you want X-Face
header support you will want James Ashton's compface library
available from from ftp.clark.net in pub/liebman/compface.tar.Z.
Changes in version 3.3: 3/12/1994
Fixed a large memory leak!
Fixed a problem that was caused by elm setting the mod time of the
mail spool file back.
Fixed a problem with MMDF style mailboxes.
Changes in version 3.2: 3/7/1994
A few bugs were fixed.
Added a seperate set of annotation specifications for "unknown"
faces. As the TODO file notes this feature could stand to be
generalized a little.
If the binding field name starts with a '|' then all binding checks
are case insensitive.
If the "lookupHostname" resource is True then the host name part of
the from address will be looked up and translated to the real
hostname.
Handle rfc822 routing address in a semi-sane manor.
Changes in version 3.1: 3/7/1994
A few bug fixes. (one had caused a SEG Fault on many machines)
User control of the mail annotatons.
The default values for the imageTypes and imageSearch resources
should reflect the options that the user compiled in.
Changes in version 3.0: 2/24/1994
The major changes were to add compatibility support for
Rich Burridge's "faces" program:
- Per-face shell commands.
- X-Face: header support.
- facedb image/sound search. (the way faces finds
images)
- User list commands.
- Labling of images. The user name and the number of messages
are displayed.
- The following faces options are supported:
-f <facedbPath>
-e <listCommand>
-p <update time>
-c <# of columns>
-h <image height>
-w <image width>
-s <mail spool file>
- POP mailbox support. (still primitive with respect to
user authentication but functional!)
- A new Tiled widget so that the image list can be N
columns and to allow for the "Rows=nnn Cols=nnn" line
from a user command.
- Full control of the order and imagetype/paths of searches.
The search types are:
- beforeImage,
afterImage,
beforeSound,
afterSound,
beforeCommand,
afterCommand: These are regular expression searches
on the mail headers.
- resource: Lookup image/sound in X resources.
- facedb: Lookup image/sound in "faces" style
database.
- x-face: X-Face: style header.
- Searchs are done for images, sounds and shell commands.
- Much improved shape support.
Changes in version 2.3: 1/20/1994
Compleatly rewrote the mail header parsing. Now all headers
are searched.
Changed slightly the before/after image/sound bining format.
Now you use three parts instead of to. The new format is:
<header name> <whitespace> <pattern> <:> <image/sound file>
Fixed a bug in the image code where a pixmap value was
uninitialized and caused X error on some machines (machines where
the unitialized value happened to be "None" worked! others did
not).
Changes in version 2.2: 1/14/1994
Added new resource ignoreMessageBindings. This allows you to
have some messages ignored.
Made the "Status:" header one of the headers that is searched
with the bindings resources. This allows people who like to keep
200 to 300 messages in their system mailbox to only see/hear from
messages that they have not seen yet.
Made a small change to faces.h to allow for SystemV machines.
I added macros for bcopy, bzero, index and rindex.
Improved mail parsing. Before if there was no subject header
xfaces could be fooled by a line in the body starting with Subject:.
|