xref: /dflybsd-src/games/grdc/grdc.6 (revision 0b2c5ee32dc2061c749cfb0cdf758123746b820a)
1984263bcSMatthew Dillon.\" $FreeBSD: src/games/grdc/grdc.6,v 1.2.12.1 2001/10/02 11:51:49 ru Exp $
28f2695f2SAaron LI.\"
312639f3dSSascha Wildner.Dd February 21, 2021
4984263bcSMatthew Dillon.Dt GRDC 6
51fbe6674SSascha Wildner.Os
6984263bcSMatthew Dillon.Sh NAME
7984263bcSMatthew Dillon.Nm grdc
8984263bcSMatthew Dillon.Nd grand digital clock (curses)
9984263bcSMatthew Dillon.Sh SYNOPSIS
10984263bcSMatthew Dillon.Nm
11ffe1d30bSAaron LI.Op Fl st
12180ac9b3SChris Pressey.Op Fl d Ar msecs
13984263bcSMatthew Dillon.Op Ar n
14984263bcSMatthew Dillon.Sh DESCRIPTION
15984263bcSMatthew Dillon.Nm
16180ac9b3SChris Presseydisplays a digital clock made of reverse-video blanks
17180ac9b3SChris Presseycentered on a curses-compatible terminal.
18180ac9b3SChris Pressey.Pp
19b3804287SSascha WildnerBy default, the clock runs indefinitely.
20180ac9b3SChris PresseyWhen the optional numeric argument
21984263bcSMatthew Dillon.Ar n
22180ac9b3SChris Presseyis given, it stops after
23984263bcSMatthew Dillon.Ar n
24180ac9b3SChris Presseyseconds.
258f2695f2SAaron LIPress the
268f2695f2SAaron LI.Sq q
278f2695f2SAaron LIkey to quit immediately.
28180ac9b3SChris Pressey.Pp
29984263bcSMatthew DillonThe optional
30984263bcSMatthew Dillon.Fl s
31984263bcSMatthew Dillonflag makes digits scroll as they change.
32180ac9b3SChris PresseyOver slow links, the scrolling option may have trouble keeping up.
33180ac9b3SChris Pressey.Pp
34180ac9b3SChris PresseyThe default time taken to scroll the digits into view is 120
35b3804287SSascha Wildnermilliseconds.
36b3804287SSascha WildnerThe
37180ac9b3SChris Pressey.Fl d
38180ac9b3SChris Presseyoption, which implies
39180ac9b3SChris Pressey.Fl s ,
40180ac9b3SChris Presseymay be given to explicitly set the scroll duration.
41180ac9b3SChris PresseyThe maximum scroll duration is effectively 5 seconds.
42ffe1d30bSAaron LI.Pp
43ffe1d30bSAaron LIThe optional
44ffe1d30bSAaron LI.Fl t
45*0b2c5ee3SSascha Wildnerflag shows the time in a 12-hour clock format.
46984263bcSMatthew Dillon.Sh AUTHORS
47984263bcSMatthew Dillon.An -nosplit
48984263bcSMatthew Dillon.An Amos Shapir ,
49984263bcSMatthew Dillonmodified for curses by
50984263bcSMatthew Dillon.An John Lupien .
51