CLOCKTOOL(1) — USER COMMANDS
NAME
clocktool − display the time in a window
SYNOPSIS
clocktool [ −s ] [ −t ] [ −r ] [ −d mdyaw ] [ −f ]
DESCRIPTION
Clocktool displays the current time in a window. While it is open it prints the date and time in its window; when it is closed, its icon is a clock face which keeps time.
OPTIONS
−rcauses clocktool to use a square face with roman numerals in the iconic state. This replaces the default round clock face.
−ddisplay date information in a small area just below the clock face. The date information to be displayed may include: mthe month,
dthe day of the month (1-31),
ythe year,
athe string AM or PM, as appropriate,
wthe day of the week (Sun−Sat). There is only room for 3 of these, but any 3 may be displayed in any sequence.
−sstart clocktool with the seconds turned on. By default, the clock starts with seconds turned off, and updates every minute. With seconds turned on, it updates every second, and, if iconic, displays a second hand.
−tIgnore the real time, and instead run in a loop continuously incrementing the time by one minute and displaying it.
−fDisplay the date and day of week on the clock face.
Clocktool also accepts all of the generic tool arguments discussed in suntools(1).
Clocktool’s window is not a terminal subwindow; it provides the Tool Manager menu if you depress the menu button in it. However, it listens for keyboard input, toggling its state on two letters (case does not matter):
stoggles the display of seconds.
ttoggles the ‘test’ mode.
You can only modify these states while the clock is open; when it is iconic, it responds with the standard Tool Manager functions to mouse and keyboard input.
SEE ALSO
FILES
/usr/lib/fonts/fixedwidthfonts/sail.r.6
BUGS
There should be a way to change the date information on the fly.
The date display doesn’t go well with the round clock face.
Sun Release 2.0 — Last change: 22 November 1984