X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fgdc.6;h=a8d57a9cd99182bf810b46217f1fa5987756d30f;hp=ed3a4f103ff15c0bb898ca7a9403cce4690cb898;hb=5d8dbcdd9423bf9821db414fd9ec792ccf1f1027;hpb=a4dac84af1b18fb24d56d6251deeb3c61c437158 diff --git a/test/gdc.6 b/test/gdc.6 index ed3a4f10..a8d57a9c 100644 --- a/test/gdc.6 +++ b/test/gdc.6 @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2006,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,16 +26,12 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: gdc.6,v 1.3 2006/04/22 23:02:15 tom Exp $ +.\" $Id: gdc.6,v 1.4 2017/09/09 20:04:09 tom Exp $ .TH GDC 6 .SH NAME gdc \- grand digital clock (curses) .SH SYNOPSIS -.B gdc -[-n] [ -[-s] [ -.I n -] +.B gdc \fP[\fIoptions\fP] [\fIn\fP] .SH DESCRIPTION .I Gdc runs a digital clock made of reverse-video blanks on a terminal screen. @@ -44,14 +40,20 @@ You can make the clock stop, pause or resume by pressing a ``q'', ``s'' or space, respectively. .SH OPTIONS .TP -.B -n +.B \-d +use terminal's default colors for the background. +.TP +.B \-n redirects input to /dev/null, making it ignore the stop/pause commands. You can still stop it by pressing the interrupt key. .TP -.B -s +.B \-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. +.TP +.B \-t \fIhh:mm:ss\fP +specify starting time (default is ``now''). .PP With an optional numeric argument .I num @@ -61,4 +63,5 @@ seconds. Normally it runs "forever" (counting down from 2 billion seconds). .SH AUTHOR Amos Shapir, modified for curses by John Lupien. +.br Improvements for ncurses by Thomas Dickey.