xref: /dragonfly/games/grdc/grdc.6 (revision 0b2c5ee3)
1.\" $FreeBSD: src/games/grdc/grdc.6,v 1.2.12.1 2001/10/02 11:51:49 ru Exp $
2.\"
3.Dd February 21, 2021
4.Dt GRDC 6
5.Os
6.Sh NAME
7.Nm grdc
8.Nd grand digital clock (curses)
9.Sh SYNOPSIS
10.Nm
11.Op Fl st
12.Op Fl d Ar msecs
13.Op Ar n
14.Sh DESCRIPTION
15.Nm
16displays a digital clock made of reverse-video blanks
17centered on a curses-compatible terminal.
18.Pp
19By default, the clock runs indefinitely.
20When the optional numeric argument
21.Ar n
22is given, it stops after
23.Ar n
24seconds.
25Press the
26.Sq q
27key to quit immediately.
28.Pp
29The optional
30.Fl s
31flag makes digits scroll as they change.
32Over slow links, the scrolling option may have trouble keeping up.
33.Pp
34The default time taken to scroll the digits into view is 120
35milliseconds.
36The
37.Fl d
38option, which implies
39.Fl s ,
40may be given to explicitly set the scroll duration.
41The maximum scroll duration is effectively 5 seconds.
42.Pp
43The optional
44.Fl t
45flag shows the time in a 12-hour clock format.
46.Sh AUTHORS
47.An -nosplit
48.An Amos Shapir ,
49modified for curses by
50.An John Lupien .
51