SCLOCK(1)                  OpenBSD Reference Manual                  SCLOCK(1)

NAME
     sclock - simple digital clock

SYNOPSIS
     [-twelve] [-blink] [-seconds] [-outline] [-sep] [-db] [-dw] [-dh] [-fg]
     [-bg] [-cw]

DESCRIPTION
     The sclock program display the time in a digital led display.  Seconds
     can be displayed as well as either 12-hour format time or military time
     (24-hour format).

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

     -twelve
             This option indicates that time should be displayed in 12-hour
             format followed by the mention am or pm.  The default output for-
             mat is military time.

     -blink  Make the column displayed between hours and minutes and - if ap-
             plicable - between minutes and seconds blink every second.  The
             default is not to blink.

     -seconds
             Display seconds.  The default is to only display hours and min-
             utes.

     -outline
             Draw a one-pixel line inside the window using the standard fore-
             ground color.  No outline is drawn by default.

     -sep    This parameter is used to mimic a wrist watch, it indicates how
             many pixels to skip when drawing lines to represent digits.  By
             default 2 pixels are skipped.

     -db     Separate digits and columns from each other by This option indi-
             cates that a brief summary of the allowed options should be
             printed on the standard error.  By default 2 pixel separate each
             digit.

     -dw     Width of a digit.  The default value is 6 pixel.

     -dh     Height of a digit.  The default value is 10 pixel.

     -cw     Width of the dotted column drawn between elmements of the time.
             The default value is 1 pixel.

RESOURCES
     This program uses the class, widget.  It understands all of the core re-
     source names and classes as well as:

     twelve (class Twelve)
             same as the -twelve command line option.
     blink (class Blink)
             same as the -blink command line option.
     seconds (class Seconds)
             same as the -seconds command line option.
     outline (class Outline)
             same as the -outline command line option.
     digit.sep (class Digit.Sep)
             same as the -sep command line option.
     digit.border (class Digit.Border)
             same as the -db command line option.
     digit.width (class Digit.Width)
             same as the -dw command line option.
     digit.height (class Digit.Height)
             same as the -dh command line option.
     column.width (class Column.Width)
             same as the -cw command line option.

FILES
     /etc/X11/app-defaults/SClock    specifies required resources

SEE ALSO
     X(7), xrdb(1), xclock(1), time(3C)

AUTHORS
     Pierre-Yves Ritschard

OpenBSD 4.1                      May 22, 2007                                2