xref: /freebsd/usr.bin/grdc/grdc.6 (revision 2008043f386721d58158e37e0d7e50df8095942d)
1.Dd September 25, 2001
2.Dt GRDC 6
3.Os
4.Sh NAME
5.Nm grdc
6.Nd grand digital clock (curses)
7.Sh SYNOPSIS
8.Nm
9.Op Fl st
10.Op Ar n
11.Sh DESCRIPTION
12.Nm
13runs a digital clock made of reverse-video blanks on a curses
14compatible VDU screen.
15With an optional numeric argument
16.Ar n
17it stops after
18.Ar n
19seconds (default never).
20The optional
21.Fl s
22flag makes digits scroll as they change.
23The optional
24.Fl t
25flag tells grdc to output the time in a 12-hour format.
26In this curses mode implementation,
27the scrolling option has trouble keeping up.
28.Sh ENVIRONMENT
29.Bl -tag -width Ds
30.It Ev TZ
31The time zone to use for displaying the time.
32It is normally specified as a pathname relative to
33.Pa /usr/share/zoneinfo ,
34though see
35.Xr tzset 3
36for more information.
37If this variable is not set, the time zone is determined based on
38.Pa /etc/localtime .
39.El
40.Sh AUTHORS
41.An -nosplit
42.An Amos Shapir ,
43modified for curses by
44.An John Lupien .
45