GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GRDC(6) FreeBSD Games Manual GRDC(6)

grdcgrand digital clock (curses)

grdc [-st] [n]

grdc -c n

grdc runs a digital clock made of reverse-video blanks on a curses compatible VDU screen. With an optional numeric argument n it stops after n seconds (default never). The clock can act as a countdown timer with the -c flag, n specifies the number of seconds to time for. The optional -s flag makes digits scroll as they change. The optional -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.

The time zone to use for displaying the time. It is normally specified as a pathname relative to /usr/share/zoneinfo, though see tzset(3) for more information. If this variable is not set, the time zone is determined based on /etc/localtime.

In countdown timer mode, the specifying of -n > 360000 seconds (100 hours) will lead to the counter displaying incorrect remaining time, however it will time correctly, and display correctly when the remaining time becomes less than 100 hours.

Amos Shapir, modified for curses by John Lupien. Countdown timer mode by Gavin Atkinson.

January 15, 2023 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 6 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.