xref: /openbsd-src/games/grdc/grdc.6 (revision 9121950209d9815fb43c46e2fc3ebe5cdbbaa255)
1.\"	$OpenBSD: grdc.6,v 1.14 2022/09/24 16:07:26 florian Exp $
2.\"
3.\" Copyright 2002 Amos Shapir.  Public domain.
4.\"
5.Dd $Mdocdate: September 24 2022 $
6.Dt GRDC 6
7.Os
8.Sh NAME
9.Nm grdc
10.Nd grand digital clock (curses)
11.Sh SYNOPSIS
12.Nm grdc
13.Op Fl s
14.Op Ar number
15.Sh DESCRIPTION
16.Nm
17runs a digital clock made of reverse-video blanks on a curses
18compatible screen.
19With an optional numeric argument
20.Ar number
21it stops after
22.Ar number
23seconds (defaulting to never).
24The optional
25.Fl s
26flag makes digits scroll as they change.
27If the terminal is too slow to keep up,
28.Nm
29skips seconds.
30Pressing the
31.Sq q
32key exits the program.
33.Sh ENVIRONMENT
34.Bl -tag -width Ds
35.It Ev TZ
36The time zone to use for displaying the time.
37It is normally specified as a pathname relative to
38.Pa /usr/share/zoneinfo ,
39though see
40.Xr tzset 3
41for more information.
42If this variable is not set, the time zone is determined based on
43.Pa /etc/localtime .
44.El
45.Sh AUTHORS
46.An -nosplit
47.An Amos Shapir ,
48modified for curses by
49.An John Lupien .
50