aboutsummaryrefslogtreecommitdiff
path: root/test/gdc.6
diff options
context:
space:
mode:
Diffstat (limited to 'test/gdc.6')
-rw-r--r--test/gdc.621
1 files changed, 12 insertions, 9 deletions
diff --git a/test/gdc.6 b/test/gdc.6
index ed3a4f103ff1..a8d57a9cd991 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.