This page describes the ViewStation's HDS Oclock manual page.
HDSoclock Manual Page
This is the HDS oclock manual page.
NAME
hdsoclock - display time of day
SYNOPSIS
hdsoclock [-option ...]
DESCRIPTION
Hdsoclock simply displays the current time on an analog
display
OPTIONS
-fg foreground color
choose a different color for the both hands and the jewel of
the clock
-bg background color
choose a different color for the background.
-jewel jewel color
choose a different color for the jewel on the clock.
-minute minute color
choose a different color for the minute hand of the clock.
-hour hour color
choose a different color for the hour hand of the clock.
-geometry geometry
define the initial window geometry; see X(1).
-display display
specify the display to use; see X(1).
-bd border color
choose a different color for the window border.
-bw border width
choose a different width for the window border. As the Clock
widget changes its border around quite a bit, this is most usefully
set to zero.
-noshape
causes the clock to not reshape itself and ancestors to exactly fit
the outline of the clock.
-transparent
causes the clock to consist only of the jewel, the hands, and the
border.
COLORS
The application class name is Clock.
Below are the default colors:
Clock*Background: grey
Clock*BorderColor: light blue
Clock*hour: yellow
Clock*jewel: yellow
Clock*minute: yellow
SEE ALSO
X(1), X Toolkit documentation
BUGS
Hdsoclock determines the current time (GMT) by broadcasting
to the internet time service provided by local UNIX hosts. The first
valid reply is used. The conversion to local time is done by one of the
following methods: If the environment variable TZ is a POSIX style
time zone specification, it will be parsed to obtain the normal
and daylight-savings offsets from GMT. If the environment variable TZ
is a path to a time zone information file (typically /etc/localtime or
/usr/ share/lib/zoneinfo/localtime on a UNIX host), this file will be
used to perform local time conversion. If the previous two methods
fail, an approximation to local time conversion will be obtained
by querying the internet daytime service on the same host which replied
to the original time service broadcast. This calibration of system
time to GMT and local time is local to each instance of hdsoclock,
so multiple clocks may show different times if the system clocks
of UNIX hosts on the local network are not exactly synchronized.
COPYRIGHT
Copyright 1989, Massachusetts Institute of Technology. See X(1)
for a full statement of rights and permissions.
AUTHOR
Keith Packard, MIT X Consortium
Return to Section Heading Page
Return to the Home Page
If you need more information than is available here, you can reach
HDS via email at info@hds.com, or
call us at 1.800.HDS.1551 in the USA, or at +610.277.8300 from outside
the US. For questions or problems regarding the HDS WWW page, contact
webmaster@hds.com.
© 1996 by HDS Network Systems
Inc.