Steve Kondik | ae271bc | 2015-11-15 02:50:53 +0100 | [diff] [blame] | 1 | .\"*************************************************************************** |
| 2 | .\" Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. * |
| 3 | .\" * |
| 4 | .\" Permission is hereby granted, free of charge, to any person obtaining a * |
| 5 | .\" copy of this software and associated documentation files (the * |
| 6 | .\" "Software"), to deal in the Software without restriction, including * |
| 7 | .\" without limitation the rights to use, copy, modify, merge, publish, * |
| 8 | .\" distribute, distribute with modifications, sublicense, and/or sell * |
| 9 | .\" copies of the Software, and to permit persons to whom the Software is * |
| 10 | .\" furnished to do so, subject to the following conditions: * |
| 11 | .\" * |
| 12 | .\" The above copyright notice and this permission notice shall be included * |
| 13 | .\" in all copies or substantial portions of the Software. * |
| 14 | .\" * |
| 15 | .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * |
| 16 | .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * |
| 17 | .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * |
| 18 | .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * |
| 19 | .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * |
| 20 | .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * |
| 21 | .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * |
| 22 | .\" * |
| 23 | .\" Except as contained in this notice, the name(s) of the above copyright * |
| 24 | .\" holders shall not be used in advertising or otherwise to promote the * |
| 25 | .\" sale, use or other dealings in this Software without prior written * |
| 26 | .\" authorization. * |
| 27 | .\"*************************************************************************** |
| 28 | .\" |
| 29 | .\" $Id: gdc.6,v 1.3 2006/04/22 23:02:15 tom Exp $ |
| 30 | .TH GDC 6 |
| 31 | .SH NAME |
| 32 | gdc \- grand digital clock (curses) |
| 33 | .SH SYNOPSIS |
| 34 | .B gdc |
| 35 | [-n] [ |
| 36 | [-s] [ |
| 37 | .I n |
| 38 | ] |
| 39 | .SH DESCRIPTION |
| 40 | .I Gdc |
| 41 | runs a digital clock made of reverse-video blanks on a terminal screen. |
| 42 | If the terminal supports color, the clock is drawn in red. |
| 43 | You can make the clock stop, pause or resume by pressing a ``q'', |
| 44 | ``s'' or space, respectively. |
| 45 | .SH OPTIONS |
| 46 | .TP |
| 47 | .B -n |
| 48 | redirects input to /dev/null, making it ignore the stop/pause commands. |
| 49 | You can still stop it by pressing the interrupt key. |
| 50 | .TP |
| 51 | .B -s |
| 52 | makes digits scroll as they change. |
| 53 | When running on a fast display, the program breaks up the scrolling into |
| 54 | subsecond repaints, making the operation appear smooth. |
| 55 | .PP |
| 56 | With an optional numeric argument |
| 57 | .I num |
| 58 | it stops after |
| 59 | .I num |
| 60 | seconds. |
| 61 | Normally it runs "forever" (counting down from 2 billion seconds). |
| 62 | .SH AUTHOR |
| 63 | Amos Shapir, modified for curses by John Lupien. |
| 64 | Improvements for ncurses by Thomas Dickey. |