table of contents
GDC(6) | Games | GDC(6) |
NAME¶
gdc - grand digital clock (curses)
SYNOPSIS¶
gdc [options] [n]
DESCRIPTION¶
Gdc runs a digital clock made of reverse-video blanks on a terminal screen. If the terminal supports color, the clock is drawn in red. You can make the clock stop, pause or resume by pressing a ``q'', ``s'' or space, respectively.
OPTIONS¶
- -d
- use terminal's default colors for the background.
- -n
- redirects input to /dev/null, making it ignore the stop/pause commands. You can still stop it by pressing the interrupt key.
- -s
- makes digits scroll as they change. When running on a fast display, the program breaks up the scrolling into subsecond repaints, making the operation appear smooth.
- -t hh:mm:ss
- specify starting time (default is ``now'').
With an optional numeric argument num it stops after num seconds. Normally it runs "forever" (counting down from 2 billion seconds).
AUTHOR¶
Amos Shapir, modified for curses by John Lupien.
Improvements for ncurses by Thomas Dickey.
2020-02-02 | ncurses-examples |