Get a boss on the other side of the planet like me. It really works. :-)
} Now about Rich's suggested implementation. It's much more ambitious
} that what I had in mind. I was just going to add a command which would
} be system()'ed instead of ringing the bell, if it was present. So, there
} would just be one "There is new mail" sound, not a sound per face.
It would be fairly simple to add this support in as well, but separate from
the individual host/user audio support. How about this? There would be an
X resource something like:
faces.newmailAudioFile: /usr/local/sounds/cowbell.au
If this resource is present, and audio is enabled, then the new mail sound
would be played first, followed by possibly other user specific audio files.
Also, the ability to specify the new mail audio file via the command line
option:
-B /usr/local/sounds/cuckoo.au
} I also have some general comments about X resources vs property sheets vs
} command line arguments vs .facesrc etc ad inf, but I will hold them for
} a later message in the interests of getting this one out.
I'll quickly add one comment here. I'd like the ~/.facerc file to be in
Xdefaults format. I'd have to add in the ability for the SunView and NeWS
versions to parse this file, but in the case of the X and XView versions,
this file would simply be merged with the other resources from various X
places in load_resources().
} Option arguments cannot be optional.
I've no problems with this. In fact, it makes my life simpler. I'll use
-A for enabling audio, and -C <command> for the alternative audio command
(-P is taken).
At a later date, I'd really like to convert the arguments to words like:
% faces -audio -printer minnow etc...
I realise Unix is used to terse commands and arguments, but it's easier to
understand longer words (especially if all you've got is a usage message).
This is probably a religious issue, so I better be careful here. :-)
For now I'll add three things to the TODO file:
* Convert ~/.facerc to Xdefaults format. Add in support for the SunView and
NeWS versions to be able to read this file.
* Possibly convert command line arguments to word equivalents.
* Need to add a Faces.ad application resources file to the faces distribution.
Thanks for the comments John.