home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XBIFF(1) XBIFF(1)
-
-
- NNAAMMEE
- xbiff - mailbox flag for X
-
- SSYYNNOOPPSSIISS
- xxbbiiffff [ -_t_o_o_l_k_i_t_o_p_t_i_o_n ... ] [ _-_o_p_t_i_o_n ... ]
-
- DDEESSCCRRIIPPTTIIOONN
- The _x_b_i_f_f 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
- _x_b_i_f_f to remember the current size of the mail file as
- being the ``empty'' size and to lower the flag.
-
- OOPPTTIIOONNSS
- _X_b_i_f_f accepts all of the standard X Toolkit command line
- options along with the additional options listed below:
-
- --hheellpp This option indicates that a brief summary of the
- allowed options should be printed on the standard
- error.
-
- --uuppddaattee _s_e_c_o_n_d_s
- This option specifies the frequency in seconds at
- which _x_b_i_f_f should update its display. If the
- mailbox is obscured and then exposed, it will be
- updated immediately. The default is 30 seconds.
-
- --ffiillee _f_i_l_e_n_a_m_e
- This option specifies the name of the file which
- should be monitored. By default, it watches
- /usr/spool/mail/_u_s_e_r_n_a_m_e, where _u_s_e_r_n_a_m_e is your
- login name.
-
- --vvoolluummee _p_e_r_c_e_n_t_a_g_e
- This option specifies how loud the bell should be
- rung when new mail comes in.
-
- --sshhaappee This option indicates that the mailbox window
- should be shaped if masks for the empty or full
- images are given.
-
- The following standard X Toolkit command line arguments
- are commonly used with _x_b_i_f_f_:
-
- --ddiissppllaayy _d_i_s_p_l_a_y
- This option specifies the X server to contact.
-
- --ggeeoommeettrryy _g_e_o_m_e_t_r_y
- This option specifies the preferred size and posi-
- tion of the mailbox window. The mailbox is 48
- pixels wide and 48 pixels high and will be cen-
- tered in the window.
-
-
-
-
- X Version 11 Release 6 1
-
-
-
-
-
- XBIFF(1) XBIFF(1)
-
-
- --bbgg _c_o_l_o_r
- This option specifies the color to use for the
- background of the window.
-
- --bbdd _c_o_l_o_r
- This option specifies the color to use for the
- border of the window.
-
- --bbww _n_u_m_b_e_r
- This option specifies the width in pixels of the
- border surrounding the window.
-
- --ffgg _c_o_l_o_r
- This option specifies the color to use for the
- foreground of the window.
-
- --rrvv This option indicates that reverse video should be
- simulated by swapping the foreground and back-
- ground colors.
-
- --xxrrmm _r_e_s_o_u_r_c_e_s_t_r_i_n_g
- This option specifies a resource string to be
- used. This is especially useful for setting
- resources that do not have separate command line
- options.
-
- XX DDEEFFAAUULLTTSS
- The application class name is XBiff. This program uses
- the _M_a_i_l_b_o_x widget. It understands all of the core
- resource names and classes as well as:
-
-
- cchheecckkCCoommmmaanndd ((class CChheecckkCCoommmmaanndd))
- Specifies a shell command to be executed to check
- for new mail rather than examining the size of
- ffiillee. The specified string value is used as the
- argument to a _s_y_s_t_e_m(3) call and may therefore
- contain 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 indi-
- cates that the mail has been cleared. By default,
- no shell command is provided.
-
- ffiillee ((class FFiillee))
- Specifies the name of the file to monitor. The
- default is to watch /usr/spool/mail/_u_s_e_r_n_a_m_e,
- where _u_s_e_r_n_a_m_e is your login name.
-
- oonncceeOOnnllyy ((class BBoooolleeaann))
- 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.
-
-
-
- X Version 11 Release 6 2
-
-
-
-
-
- XBIFF(1) XBIFF(1)
-
-
- The default is false.
-
- wwiiddtthh ((class WWiiddtthh))
- Specifies the width of the mailbox.
-
- hheeiigghhtt ((class HHeeiigghhtt))
- Specifies the height of the mailbox.
-
- uuppddaattee ((class IInntteerrvvaall))
- Specifies the frequency in seconds at which the
- mail should be checked. The default is 30.
-
- vvoolluummee ((class VVoolluummee))
- Specifies how loud the bell should be rung. The
- default is 33 percent.
-
- ffoorreeggrroouunndd ((class FFoorreeggrroouunndd))
- Specifies the color for the foreground.
-
- rreevveerrsseeVViiddeeoo ((class RReevveerrsseeVViiddeeoo))
- Specifies that the foreground and background
- should be reversed.
-
- fflliipp ((class FFlliipp))
- Specifies whether or not the image that is shown
- when mail has arrived should be inverted. The
- default is ``true.''
-
- ffuullllPPiixxmmaapp ((class PPiixxmmaapp))
- Specifies a bitmap to be shown when new mail has
- arrived. The default is flagup.
-
- eemmppttyyPPiixxmmaapp ((class PPiixxmmaapp))
- Specifies a bitmap to be shown when no new mail is
- present. The default is flagdown.
-
- sshhaappeeWWiinnddooww ((class SShhaappeeWWiinnddooww))
- Specifies whether or not the mailbox window should
- be shaped to the given fullPixmapMask and emptyP-
- ixmapMask. The default is false.
-
- ffuullllPPiixxmmaappMMaasskk ((class PPiixxmmaappMMaasskk))
- Specifies a mask for the bitmap to be shown when
- new mail has arrived. The default is none.
-
- eemmppttyyPPiixxmmaappMMaasskk ((class PPiixxmmaappMMaasskk))
- Specifies a mask for the bitmap to be shown when
- no new mail is present. The default is none.
-
- AACCTTIIOONNSS
- The _M_a_i_l_b_o_x widget provides the following actions for use
- in event translations:
-
- cchheecckk(()) This action causes the widget to check for new
-
-
-
- X Version 11 Release 6 3
-
-
-
-
-
- XBIFF(1) XBIFF(1)
-
-
- mail and display the flag appropriately.
-
- uunnsseett(()) This action causes the widget to lower the flag
- until new mail comes in.
-
- sseett(()) This action causes the widget to raise the flag
- until the user resets it.
-
- The default translation is
-
- <ButtonPress>: unset()
-
-
- EENNVVIIRROONNMMEENNTT
- DDIISSPPLLAAYY to get the default host and display number.
-
- XXEENNVVIIRROONNMMEENNTT
- to get the name of a resource file that overrides
- the global resources stored in the
- RESOURCE_MANAGER property.
-
- SSEEEE AALLSSOO
- X(1), xrdb(1), stat(2)
-
- BBUUGGSS
- The mailbox bitmaps are ugly.
-
- AAUUTTHHOORR
- Jim Fulton, MIT X Consortium
- Additional hacks by Ralph Swick, DEC/MIT Project Athena
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 Release 6 4
-
-
-