xref: /openbsd-src/games/grdc/grdc.6 (revision 9121950209d9815fb43c46e2fc3ebe5cdbbaa255)
1*91219502Sflorian.\"	$OpenBSD: grdc.6,v 1.14 2022/09/24 16:07:26 florian Exp $
2bf56a031Spjanzen.\"
3bf56a031Spjanzen.\" Copyright 2002 Amos Shapir.  Public domain.
4bf56a031Spjanzen.\"
5*91219502Sflorian.Dd $Mdocdate: September 24 2022 $
601be090cSdownsj.Dt GRDC 6
7fc8533a3Saaron.Os
801be090cSdownsj.Sh NAME
901be090cSdownsj.Nm grdc
1001be090cSdownsj.Nd grand digital clock (curses)
1101be090cSdownsj.Sh SYNOPSIS
12a702fa09Spjanzen.Nm grdc
1301be090cSdownsj.Op Fl s
1401be090cSdownsj.Op Ar number
1501be090cSdownsj.Sh DESCRIPTION
1601be090cSdownsj.Nm
174acc410cSdownsjruns a digital clock made of reverse-video blanks on a curses
1835b20aedSschwarzecompatible screen.
193bfc9584SpjanzenWith an optional numeric argument
2001be090cSdownsj.Ar number
214acc410cSdownsjit stops after
2201be090cSdownsj.Ar number
2301be090cSdownsjseconds (defaulting to never).
244acc410cSdownsjThe optional
2501be090cSdownsj.Fl s
263bfc9584Spjanzenflag makes digits scroll as they change.
2735b20aedSschwarzeIf the terminal is too slow to keep up,
2835b20aedSschwarze.Nm
298ca82b00Steduskips seconds.
308ca82b00SteduPressing the
318ca82b00Stedu.Sq q
32b28c2905Sschwarzekey exits the program.
3394089c8aSflorian.Sh ENVIRONMENT
3494089c8aSflorian.Bl -tag -width Ds
3594089c8aSflorian.It Ev TZ
3694089c8aSflorianThe time zone to use for displaying the time.
37*91219502SflorianIt is normally specified as a pathname relative to
38*91219502Sflorian.Pa /usr/share/zoneinfo ,
39*91219502Sflorianthough see
40*91219502Sflorian.Xr tzset 3
41*91219502Sflorianfor more information.
4294089c8aSflorianIf this variable is not set, the time zone is determined based on
4394089c8aSflorian.Pa /etc/localtime .
4494089c8aSflorian.El
451f2e2e45Spjanzen.Sh AUTHORS
4627e95970Sschwarze.An -nosplit
4727e95970Sschwarze.An Amos Shapir ,
4827e95970Sschwarzemodified for curses by
4927e95970Sschwarze.An John Lupien .
50