home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat1 / xbiff.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  7.9 KB  |  265 lines

  1.  
  2.  
  3.  
  4. XBIFF(1)                         XBIFF(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        xbiff - mailbox flag for X
  9.  
  10. SSYYNNOOPPSSIISS
  11.        xxbbiiffff [ -_t_o_o_l_k_i_t_o_p_t_i_o_n ... ] [ _-_o_p_t_i_o_n ... ]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        The  _x_b_i_f_f  program  displays a little image of a mailbox.
  15.        When there is no mail, the flag on the  mailbox    is  down.
  16.        When mail arrives, the flag goes up and the mailbox beeps.
  17.        By default, pressing any mouse button in the image  forces
  18.        _x_b_i_f_f  to  remember  the     current size of the mail file as
  19.        being the ``empty'' size and to lower the flag.
  20.  
  21. OOPPTTIIOONNSS
  22.        _X_b_i_f_f accepts all of the standard X Toolkit  command  line
  23.        options along with the additional options listed below:
  24.  
  25.        --hheellpp   This  option indicates that a brief summary of the
  26.            allowed options should be printed on the     standard
  27.            error.
  28.  
  29.        --uuppddaattee _s_e_c_o_n_d_s
  30.            This  option specifies the frequency in seconds at
  31.            which _x_b_i_f_f should update  its  display.      If  the
  32.            mailbox    is  obscured and then exposed, it will be
  33.            updated immediately.  The default is 30 seconds.
  34.  
  35.        --ffiillee _f_i_l_e_n_a_m_e
  36.            This option specifies the name of the  file  which
  37.            should  be  monitored.    By  default,  it  watches
  38.            /usr/spool/mail/_u_s_e_r_n_a_m_e, where _u_s_e_r_n_a_m_e     is  your
  39.            login name.
  40.  
  41.        --vvoolluummee _p_e_r_c_e_n_t_a_g_e
  42.            This  option specifies how loud the bell should be
  43.            rung when new mail comes in.
  44.  
  45.        --sshhaappee  This option  indicates  that  the  mailbox  window
  46.            should  be  shaped  if masks for the empty or full
  47.            images are given.
  48.  
  49.        The following standard X Toolkit     command  line    arguments
  50.        are commonly used with _x_b_i_f_f_:
  51.  
  52.        --ddiissppllaayy _d_i_s_p_l_a_y
  53.            This option specifies the X server to contact.
  54.  
  55.        --ggeeoommeettrryy _g_e_o_m_e_t_r_y
  56.            This option specifies the preferred size and posi-
  57.            tion of the mailbox window.   The  mailbox  is  48
  58.            pixels  wide  and  48 pixels high and will be cen-
  59.            tered in the window.
  60.  
  61.  
  62.  
  63.  
  64. X Version 11            Release 6                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XBIFF(1)                         XBIFF(1)
  71.  
  72.  
  73.        --bbgg _c_o_l_o_r
  74.            This option specifies the color    to  use     for  the
  75.            background of the window.
  76.  
  77.        --bbdd _c_o_l_o_r
  78.            This  option  specifies    the  color to use for the
  79.            border of the window.
  80.  
  81.        --bbww _n_u_m_b_e_r
  82.            This option specifies the width in pixels  of  the
  83.            border surrounding the window.
  84.  
  85.        --ffgg _c_o_l_o_r
  86.            This  option  specifies    the  color to use for the
  87.            foreground of the window.
  88.  
  89.        --rrvv     This option indicates that reverse video should be
  90.            simulated  by  swapping    the  foreground and back-
  91.            ground colors.
  92.  
  93.        --xxrrmm _r_e_s_o_u_r_c_e_s_t_r_i_n_g
  94.            This option specifies  a     resource  string  to  be
  95.            used.   This  is     especially  useful  for  setting
  96.            resources that do not have separate  command  line
  97.            options.
  98.  
  99. XX DDEEFFAAUULLTTSS
  100.        The  application     class    name is XBiff.    This program uses
  101.        the _M_a_i_l_b_o_x  widget.   It  understands  all  of    the  core
  102.        resource names and classes as well as:
  103.  
  104.  
  105.        cchheecckkCCoommmmaanndd ((class CChheecckkCCoommmmaanndd))
  106.            Specifies  a shell command to be executed to check
  107.            for new mail rather than     examining  the     size  of
  108.            ffiillee.   The  specified string value is used as the
  109.            argument to a _s_y_s_t_e_m(3)    call  and  may    therefore
  110.            contain    i/o  redirection.   An    exit  status of 0
  111.            indicates that new mail is  waiting,  1    indicates
  112.            that there has been no change in size, and 2 indi-
  113.            cates that the mail has been cleared.  By default,
  114.            no shell command is provided.
  115.  
  116.        ffiillee ((class FFiillee))
  117.            Specifies  the  name  of the file to monitor.  The
  118.            default    is  to    watch    /usr/spool/mail/_u_s_e_r_n_a_m_e,
  119.            where _u_s_e_r_n_a_m_e is your login name.
  120.  
  121.        oonncceeOOnnllyy ((class BBoooolleeaann))
  122.            Specifies  that    the  bell  is only rung the first
  123.            time new mail is found and is not rung again until
  124.            at  least  one  interval     has  passed with no mail
  125.            waiting.     The window will continue to indicate the
  126.            presence     of new mail until it has been retrieved.
  127.  
  128.  
  129.  
  130. X Version 11            Release 6                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XBIFF(1)                         XBIFF(1)
  137.  
  138.  
  139.            The default is false.
  140.  
  141.        wwiiddtthh ((class WWiiddtthh))
  142.            Specifies the width of the mailbox.
  143.  
  144.        hheeiigghhtt ((class HHeeiigghhtt))
  145.            Specifies the height of the mailbox.
  146.  
  147.        uuppddaattee ((class IInntteerrvvaall))
  148.            Specifies the frequency in seconds  at  which  the
  149.            mail should be checked.    The default is 30.
  150.  
  151.        vvoolluummee ((class VVoolluummee))
  152.            Specifies  how  loud the bell should be rung.  The
  153.            default is 33 percent.
  154.  
  155.        ffoorreeggrroouunndd ((class FFoorreeggrroouunndd))
  156.            Specifies the color for the foreground.
  157.  
  158.        rreevveerrsseeVViiddeeoo ((class RReevveerrsseeVViiddeeoo))
  159.            Specifies  that    the  foreground     and   background
  160.            should be reversed.
  161.  
  162.        fflliipp ((class FFlliipp))
  163.            Specifies  whether  or not the image that is shown
  164.            when mail has arrived  should  be  inverted.   The
  165.            default is ``true.''
  166.  
  167.        ffuullllPPiixxmmaapp ((class PPiixxmmaapp))
  168.            Specifies  a  bitmap to be shown when new mail has
  169.            arrived.     The default is flagup.
  170.  
  171.        eemmppttyyPPiixxmmaapp ((class PPiixxmmaapp))
  172.            Specifies a bitmap to be shown when no new mail is
  173.            present.     The default is flagdown.
  174.  
  175.        sshhaappeeWWiinnddooww ((class SShhaappeeWWiinnddooww))
  176.            Specifies whether or not the mailbox window should
  177.            be shaped to the given fullPixmapMask and  emptyP-
  178.            ixmapMask.  The default is false.
  179.  
  180.        ffuullllPPiixxmmaappMMaasskk ((class PPiixxmmaappMMaasskk))
  181.            Specifies  a  mask for the bitmap to be shown when
  182.            new mail has arrived.  The default is none.
  183.  
  184.        eemmppttyyPPiixxmmaappMMaasskk ((class PPiixxmmaappMMaasskk))
  185.            Specifies a mask for the bitmap to be  shown  when
  186.            no new mail is present.    The default is none.
  187.  
  188. AACCTTIIOONNSS
  189.        The  _M_a_i_l_b_o_x widget provides the following actions for use
  190.        in event translations:
  191.  
  192.        cchheecckk(()) This action causes the widget  to  check     for  new
  193.  
  194.  
  195.  
  196. X Version 11            Release 6                3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. XBIFF(1)                         XBIFF(1)
  203.  
  204.  
  205.            mail and display the flag appropriately.
  206.  
  207.        uunnsseett(()) This  action  causes  the widget to lower the flag
  208.            until new mail comes in.
  209.  
  210.        sseett(())   This action causes the widget to     raise    the  flag
  211.            until the user resets it.
  212.  
  213.        The default translation is
  214.  
  215.            <ButtonPress>:  unset()
  216.  
  217.  
  218. EENNVVIIRROONNMMEENNTT
  219.        DDIISSPPLLAAYY to get the default host and display number.
  220.  
  221.        XXEENNVVIIRROONNMMEENNTT
  222.            to  get the name of a resource file that overrides
  223.            the    global    resources    stored    in     the
  224.            RESOURCE_MANAGER property.
  225.  
  226. SSEEEE AALLSSOO
  227.        X(1), xrdb(1), stat(2)
  228.  
  229. BBUUGGSS
  230.        The mailbox bitmaps are ugly.
  231.  
  232. AAUUTTHHOORR
  233.        Jim Fulton, MIT X Consortium
  234.        Additional hacks by Ralph Swick, DEC/MIT Project Athena
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262. X Version 11            Release 6                4
  263.  
  264.  
  265.