XBIFF(1X11) COMMAND REFERENCE XBIFF(1X11) NAME xbiff - mailbox flag for X SYNOPSIS xbiff [-toolkitoption ...] [-option ...] This is a user-contributed client. DESCRIPTION The xbiff program displays a small 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 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 Mailbox widget. OPTIONS The program accepts all standard X Toolkit command line options along with the additional options listed. -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. The default is 60 seconds. -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. -volume percentage This option specifies how loud the bell should be rung when new mail comes in. The following standard X Toolkit command line arguments are commonly used with xbiff: -display display This option specifies the X server to contact. Printed 3/22/89 1
XBIFF(1X11) COMMAND REFERENCE XBIFF(1X11) -geometry geometry This option specifies the preferred size and position of the mailbox window. The mailbox is 48 pixels wide and 48 pixels high and will be centered in the window. -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. -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 the commands listed here. 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 may therefore contain i/o redirection. A successful (zero) exit status should indicate that new mail is waiting. file (class File) Specifies the name of the file to monitor. The default is to watch Printed 3/22/89 2
XBIFF(1X11) COMMAND REFERENCE XBIFF(1X11) /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. 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. volume (class Volume) Specifies how load the bell should be rung. The default is 33 percent. 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. ACTIONS The Mailbox widget provides the following actions for use in event translations: check() This action causes the widget to check for new mail and display the flag appropriately. unset() This action causes the widget to lower the flag until new mail comes in. set() This action causes the widget to raise the flag until the user resets it. Printed 3/22/89 3
XBIFF(1X11) COMMAND REFERENCE XBIFF(1X11) The default translation is <ButtonPress>: unset() 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(1x11), xrdb(1x11), and stat(2). AUTHOR Jim Fulton, MIT X Consortium Additional programming by Ralph Swick, DEC/MIT Project Athena Printed 3/22/89 4
%%index%% na:336,78; sy:414,253; de:667,690; op:1357,2019;3784,3405;7597,3687;11692,721; se:12413,356; %%index%%000000000126