Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xbiff(1) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1)

xrdb(1)

stat(2)

XBIFF(1)  —  Unix Programmer’s Manual

NAME

xbiff - mailbox flag for X

SYNOPSIS

xbiff [-toolkitoption ...] [-option ...]

DESCRIPTION

The xbiff program displays a little image of a mailbox.  When there is no mail, the flag on the mailbox is down.  When arrives, the flag goes up and the mailbox beeps.  This program is nothing more than a wrapper around the Athena Mailbox widget. 

OPTIONS

Xbiff accepts all of the standard X Toolkit command line options along with the additional options listed below:

−help This option indicates that a brief summary of the allowed options should be printed on the standard error. 

−update seconds
This option specifies the frequency in seconds at which xbiff should update its display.  If the mailbox is obscured and then exposed, it will be updated immediately. 

−file filename
This option specifies the name of the file which should be monitored.  By default, it watches /usr/spool/mail/username, where username is your login name. 

The following standard X Toolkit command line arguments are commonly used with xbiff:

−bg color
This option specifies the color to use for the background of the window. The default is “white.”

−bd color
This option specifies the color to use for the border of the window. The default is “black.”

−bw number
This option specifies the width in pixels of the border surrounding the window.

−fg color
This option specifies the color to use for the foreground of the window. The default is “black.”

−rv This option indicates that reverse video should be simulated by swapping the foreground and background colors. 

−geometry geometry
This option specifies the prefered size and position of the mailbox window; see X(1). 

−display display
This option specifies the X server to contact; see X(1). 

−xrm resourcestring
This option specifies a resource string to be used.  This is especially useful for setting resources that do not have separate command line options.

X DEFAULTS

This program uses the Mailbox widget in the X Toolkit.  It understands all of the core resource names and classes as well as:

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. 

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.

foreground (class Foreground)
Specifies the color for the foreground. The default is “black” since the core default for background is “white.”

reverseVideo (class ReverseVideo)
Specifies that the foreground and background should be reversed.

ENVIRONMENT

DISPLAY
to get the default host and display number.

XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.

SEE ALSO

X(1), xrdb(1), stat(2)

BUGS

The mailbox bitmaps are ugly. 

COPYRIGHT

Copyright 1988, Massachusetts Institute of Technology. 
See X(1) for a full statement of rights and permissions. 

AUTHOR

Jim Fulton, MIT X Consortium

X Version 11  —  1 March 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026