Amiga Unix — 68040 · 68060

Manual pages › X Window System programs (1X)

oclock(1X)

display time of day

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

oclock - display time of day

oclock [-option ...]

Clock simply displays the current time on an analog display

choose a different color for the both hands and the jewel of the clock
choose a different color for the background.
choose a different color for the jewel on the clock.
choose a different color for the minute hand of the clock.
choose a different color for the hour hand of the clock.
selects an appropriate level of backing store.
define the initial window geometry; see X(1).
specify the display to use; see X(1).
choose a different color for the window border.
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.
causes the clock to not reshape itself and ancestors to exactly fit the outline of the clock.

Although the default colors for the Clock widget are black and white, the widget was designed in color; unfortunately, the toolkit makes specifying these colors in a device-independent manner difficult. If you want to see the correct colors, add the following lines to your resource file:

Clock*Background: grey
Clock*BorderColor: light blue
Clock*hour: yellow
Clock*jewel: yellow
Clock*minute: yellow

X(1), X Toolkit documentation

Copyright 1989, Massachusetts Institute of Technology.
See X(1) for a full statement of rights and permissions.

Keith Packard, MIT X Consortium

Release 4 X Version 11