freebsd-dev/usr.bin/grdc/grdc.6
Gordon Bergling 991360ba49 grdc.6: Add an ENVIRONMENT section
- Add an ENVIRONMENT section

Obtained from:	OpenBSD
MFC after:	5 days
2023-04-16 11:17:06 +02:00

46 lines
934 B
Groff

.\" $FreeBSD$
.Dd September 25, 2001
.Dt GRDC 6
.Os
.Sh NAME
.Nm grdc
.Nd grand digital clock (curses)
.Sh SYNOPSIS
.Nm
.Op Fl st
.Op Ar n
.Sh DESCRIPTION
.Nm
runs a digital clock made of reverse-video blanks on a curses
compatible VDU screen.
With an optional numeric argument
.Ar n
it stops after
.Ar n
seconds (default never).
The optional
.Fl s
flag makes digits scroll as they change.
The optional
.Fl t
flag tells grdc to output the time in a 12-hour format.
In this curses mode implementation,
the scrolling option has trouble keeping up.
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev TZ
The time zone to use for displaying the time.
It is normally specified as a pathname relative to
.Pa /usr/share/zoneinfo ,
though see
.Xr tzset 3
for more information.
If this variable is not set, the time zone is determined based on
.Pa /etc/localtime .
.El
.Sh AUTHORS
.An -nosplit
.An Amos Shapir ,
modified for curses by
.An John Lupien .