1 .\"***************************************************************************
2 .\" Copyright 2020,2024 Thomas E. Dickey *
3 .\" Copyright 1998-2006,2017 Free Software Foundation, Inc. *
5 .\" Permission is hereby granted, free of charge, to any person obtaining a *
6 .\" copy of this software and associated documentation files (the *
7 .\" "Software"), to deal in the Software without restriction, including *
8 .\" without limitation the rights to use, copy, modify, merge, publish, *
9 .\" distribute, distribute with modifications, sublicense, and/or sell *
10 .\" copies of the Software, and to permit persons to whom the Software is *
11 .\" furnished to do so, subject to the following conditions: *
13 .\" The above copyright notice and this permission notice shall be included *
14 .\" in all copies or substantial portions of the Software. *
16 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
24 .\" Except as contained in this notice, the name(s) of the above copyright *
25 .\" holders shall not be used in advertising or otherwise to promote the *
26 .\" sale, use or other dealings in this Software without prior written *
28 .\"***************************************************************************
30 .\" $Id: gdc.6,v 1.10 2024/06/22 21:31:03 tom Exp $
31 .TH GDC 6 2024-06-15 ncurses-examples Games
44 grand digital clock using
57 to display a clock on the terminal.
58 It constructs the digits from reverse-video blank characters.
59 If the terminal type supports color,
60 the digits are drawn in red.
63 or resume by typing \*(``q\*('',
68 Given a numeric operand,
75 runs \*(``forever\*(''
76 (at least 2 billion seconds).
80 uses the terminal's default background color.
87 ignore the stop and pause commands.
88 You can still stop it with a terminal interrupt.
91 scrolls the digits up as they change.
92 When running on a fast display,
93 the program breaks up the scrolling into sub-second redraws,
94 making the operation appear smooth.
98 uses the specified time instead of the current time.