Package: tty-clock
Version: 1.1-1
Severity: wishlist
Tags: patch

Dear Maintainer,

Please find attached tty-clock.1, a manual page for tty-clock, written
in roff format. You can include it into your package by copying it to
the debian/ directory, and writing "debian/tty-clock.1" into the
debian/tty-clock.manpages file.

If you have any comments or if you want me to improve or correct
something, let me know, I would be happy to implement your suggestions.

Best regards,

Cédric
.TH TTY-CLOCK 1 "2012-08-31"

.SH NAME
tty-clock \- simple terminal clock

.SH SYNOPSIS
.B tty-clock
.RB [ \-sbctrvih ]
.RB [ \-C  \<0\-7\>]
.RB [ \-f
.I format
]
.RB [ \-d
.I delay
]

.SH DESCRIPTION

.B tty-clock
is a tty-clock is a simple ncurses-based clock that shows the time and date
using a large display. It has a few commandline options to customize
the output.

.SH OPTIONS

.TP
.B \-s
Show seconds.
.TP
.B \-b
Show a box surrounding the clock.
.TP
.B \-c
Set the clock in the center of the terminal.
.TP
.BR \-C <0\-7\>
Set the clock color, represented by its ANSI code from 0 to 7.
.TP
.B \-t
Set the hour in 12h format.
.TP
.B \-r
Do rebound the clock.
.TP
.B \-f \fIformat\fR
Set the date format for the second line of display, with the same syntax as the
format string for \fBstrftime\fR(3), also documented in \fBdate\fR(1). The
\fIformat\fR string cannot be longer than 100 characters and its value is "%F"
by default.
.TP
.B \-v
Show tty-clock version.
.TP
.B \-i
Show some info about \fBtty-clock\fR.
.TP
.B \-h
Show a usage message similar to this manual page.
.TP
.B \-d \fIdelay\fR
Set the \fIdelay\fR between two redraws of the clock. The default value is
40000000, corresponding to 25 frames per seconds. The value of the \fIdelay\fR
cannot be larger than 100000000, corresponding to one frame per second.

.SH AUTHOR
.B tty-clock
has been written by Martin Duquesnoy \<xor...@gmail.com\>.

.SH SEE ALSO
.BR strftime (3), date (1).

Reply via email to