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

  1.  
  2.  
  3.  
  4. XCLOCK(1)                        XCLOCK(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        xclock - analog / digital clock for X
  9.  
  10. SSYYNNOOPPSSIISS
  11.        xxcclloocckk [ --hheellpp ] [ --aannaalloogg ] [ --ddiiggiittaall ] [ --cchhiimmee ] [ --hhdd
  12.        _c_o_l_o_r ] [ --hhll _c_o_l_o_r ] [ --uuppddaattee _s_e_c_o_n_d_s ] [ --ppaaddddiinngg  _n_u_m_-
  13.        _b_e_r ]
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.        The  _x_c_l_o_c_k program displays the time in analog or digital
  17.        form.  The time is continuously    updated     at  a    frequency
  18.        which may be specified by the user.
  19.  
  20. OOPPTTIIOONNSS
  21.        _X_c_l_o_c_k  accepts all of the standard X Toolkit command line
  22.        options along with the additional options listed below:
  23.  
  24.        --hheellpp   This option indicates that a brief summary of  the
  25.            allowed    options should be printed on the standard
  26.            error.
  27.  
  28.        --aannaalloogg This option indicates that a conventional 12  hour
  29.            clock  face  with  tick    marks and hands should be
  30.            used.  This is the default.
  31.  
  32.        --ddiiggiittaall or --dd
  33.            This option indicates that a 24 hour digital clock
  34.            should be used.
  35.  
  36.        --cchhiimmee  This  option indicates that the clock should chime
  37.            once on the half hour and twice on the hour.
  38.  
  39.        --hhaannddss _c_o_l_o_r (or --hhdd _c_o_l_o_r)
  40.            This option specifies the color of the hands on an
  41.            analog clock.  The default is _b_l_a_c_k.
  42.  
  43.        --hhiigghhlliigghhtt _c_o_l_o_r (or --hhll _c_o_l_o_r)
  44.            This  option  specifies    the color of the edges of
  45.            the hands on an analog clock, and is  only  useful
  46.            on color displays.  The default is _b_l_a_c_k.
  47.  
  48.        --uuppddaattee _s_e_c_o_n_d_s
  49.            This  option specifies the frequency in seconds at
  50.            which _x_c_l_o_c_k should update its  display.      If  the
  51.            clock  is  obscured  and     then exposed, it will be
  52.            updated immediately.  A value  of  30  seconds  or
  53.            less will enable a second hand on an analog clock.
  54.            The default is 60 seconds.
  55.  
  56.        --ppaaddddiinngg _n_u_m_b_e_r
  57.            This option specifies the width in pixels  of  the
  58.            padding    between     the window border and clock text
  59.            or picture.  The default is 10 on a digital  clock
  60.            and 8 on an analog clock.
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XCLOCK(1)                        XCLOCK(1)
  71.  
  72.  
  73. XX DDEEFFAAUULLTTSS
  74.        This program uses the _C_l_o_c_k widget.  It understands all of
  75.        the core resource names and classes as well as:
  76.  
  77.  
  78.        wwiiddtthh ((class WWiiddtthh))
  79.            Specifies the width of the clock.  The default for
  80.            analog clocks is 164 pixels; the default for digi-
  81.            tal clocks is whatever is needed to hold the clock
  82.            when displayed in the chosen font.
  83.  
  84.        hheeiigghhtt ((class HHeeiigghhtt))
  85.            Specifies  the  height  of the clock.  The default
  86.            for analog clocks is 164 pixels; the  default  for
  87.            digital    clocks    is whatever is needed to hold the
  88.            clock when displayed in the chosen font.
  89.  
  90.        uuppddaattee ((class IInntteerrvvaall))
  91.            Specifies the frequency in seconds  at  which  the
  92.            time should be redisplayed.
  93.  
  94.        ffoorreeggrroouunndd ((class FFoorreeggrroouunndd))
  95.            Specifies the color for the tic marks. The default
  96.            is depends on whether _r_e_v_e_r_s_e_V_i_d_e_o  is  specified.
  97.            If   _r_e_v_e_r_s_e_V_i_d_e_o  is  specified     the  default  is
  98.            _l_w_h_i_t_e, otherwise the default is _b_l_a_c_k.
  99.  
  100.  
  101.        hhaannddss ((class FFoorreeggrroouunndd))
  102.            Specifies the color of the insides of the  clock's
  103.            hands. The default is depends on whether _r_e_v_e_r_s_e_V_-
  104.            _i_d_e_o is specified.  If _r_e_v_e_r_s_e_V_i_d_e_o  is    specified
  105.            the  default  is     _l_w_h_i_t_e, otherwise the default is
  106.            _b_l_a_c_k.
  107.  
  108.        hhiigghhlliigghhtt ((class FFoorreeggrroouunndd))
  109.            Specifies the color used to highlight the  clock's
  110.            hands. The default is
  111.         depends on whether _r_e_v_e_r_s_e_V_i_d_e_o is specified.  If
  112.            _r_e_v_e_r_s_e_V_i_d_e_o is specified the default  is  _l_w_h_i_t_e,
  113.            otherwise the default is _b_l_a_c_k.
  114.  
  115.        aannaalloogg ((class BBoooolleeaann))
  116.            Specifies whether or not an analog clock should be
  117.            used instead of a digital  one.     The  default  is
  118.            True.
  119.  
  120.        cchhiimmee ((class BBoooolleeaann))
  121.            Specifies  whether or not a bell should be rung on
  122.            the hour and half hour.
  123.  
  124.        ppaaddddiinngg ((class MMaarrggiinn))
  125.            Specifies the amount of internal padding in pixels
  126.            to be used.  The default is 8.
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XCLOCK(1)                        XCLOCK(1)
  137.  
  138.  
  139.        ffoonntt ((class FFoonntt))
  140.            Specifies  the  font  to     be  used for the digital
  141.            clock.  Note that variable width     fonts    currently
  142.            will not always display correctly.
  143.  
  144. WWIIDDGGEETTSS
  145.        In  order  to  specify resources, it is useful to know the
  146.        hierarchy of the widgets which  compose    _x_c_l_o_c_k.      In  the
  147.        notation     below, indentation indicates hierarchical struc-
  148.        ture.  The widget class name is given first,  followed  by
  149.        the widget instance name.
  150.  
  151.        XClock  xclock
  152.         Clock  clock
  153.  
  154.  
  155. EENNVVIIRROONNMMEENNTT
  156.        DDIISSPPLLAAYY to get the default host and display number.
  157.  
  158.        XXEENNVVIIRROONNMMEENNTT
  159.            to  get the name of a resource file that overrides
  160.            the    global    resources    stored    in     the
  161.            RESOURCE_MANAGER property.
  162.  
  163. FFIILLEESS
  164.        <XRoot>/lib/X11/app-defaults/XClock  -  specifies required
  165.        resources
  166.  
  167. SSEEEE AALLSSOO
  168.        X(1), xrdb(1), time(3C)
  169.  
  170. BBUUGGSS
  171.        _X_c_l_o_c_k believes the system clock.
  172.  
  173.        When in digital mode, the string should be centered  auto-
  174.        matically.
  175.  
  176. AAUUTTHHOORRSS
  177.        Tony Della Fera (MIT-Athena, DEC)
  178.        Dave Mankins (MIT-Athena, BBN)
  179.        Ed Moy (UC Berkeley)
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196. X Version 11           Release 6.1                3
  197.  
  198.  
  199.