The xbiff(1) program displays a little image of a
mailbox. When there is no mail, the flag on the mailbox is down.
When mail arrives, the flag goes up and the mailbox beeps. By
default, pressing any mouse button in the image forces
xbiff(1) to remember the current size of the mail file as
being the "empty" size and to lower the flag.
This program is nothing more than a wrapper around the Athena
The application class name is XBiff. This program uses the
Mailbox widget in the Athena widget set. It understands all
of the core resource names and classes as well as the
checkCommand (class CheckCommand)
Specifies a shell command to be executed to check for new mail
rather than examining the size of file. The specified string
value is used as the argument to a system(3) call and can
therefore contain input/output (I/O) redirection. An exit status of
0 indicates that new mail is waiting, 1 indicates that there has
been no change in size, and 2 indicates that the mail has been
cleared. By default, no shell command is provided.
file (class File)
Specifies the name of the file to monitor. The default is to
watch /usr/spool/mail/username, where username
is your login name.
onceOnly (class Boolean)
Specifies that the bell is only rung the first time new mail is
found and is not rung again until at least one interval has passed
with no mail waiting. The window will continue to indicate the
presence of new mail until it has been retrieved. The default is
width (class Width)
Specifies the width of the mailbox.
height (class Height)
Specifies the height of the mailbox.
update (class Interval)
Specifies the frequency in seconds at which the mail should be
checked. The default is 30.
volume (class Volume)
Specifies how loud the bell should ring. The default is 33
foreground (class Foreground)
Specifies the color for the foreground.
reverseVideo (class ReverseVideo)
Specifies that the foreground and background should be
flip (class Flip)
Specifies whether the image that shows when mail has arrived
should be inverted. The default is "true."
fullPixmap (class Pixmap)
Specifies a bitmap to be shown when new mail has arrived. The
default is flagup.
emptyPixmap (class Pixmap)
Specifies a bitmap to be shown when no new mail is present. The
default is flagdown.
shapeWindow (class ShapeWindow)
Specifies whether the mailbox window should be shaped to the
given fullPixmapMask and emptyPixmapMask. The default is
fullPixmapMask (class PixmapMask)
Specifies a mask for the bitmap to be shown when new mail has
arrived. The default is none.
emptyPixmapMask (class PixmapMask)
Specifies a mask for the bitmap to be shown when no new mail is
present. The default is none.