]> git.deb.at Git - pkg/beep.git/blob - debian/beep.1.diff
Imported Debian patch 1.2.2-16
[pkg/beep.git] / debian / beep.1.diff
1 --- beep.1.orig 2005-10-18 19:44:09.000000000 +0200
2 +++ beep.1      2005-10-18 19:55:39.000000000 +0200
3 @@ -1,9 +1,9 @@
4 -.TH BEEP 1 "March 2002"
5 +.TH BEEP 1 "October 2005"
6  .SH NAME
7  beep \- beep the pc speaker any number of ways
8  .SH SYNOPSIS
9  .B beep
10 -[\-f N] [\-l N] [\-r N] [\-d N] [\-D N] [\-s] [\-c]
11 +[\-\-verbose | \-\-debug] [\-f N] [\-l N] [\-r N] [\-d N] [\-D N] [\-s] [\-c]
12  .HP
13  .B beep
14  [ OPTIONS ] [-n] [--new] [ OPTIONS ]
15 @@ -20,6 +20,12 @@
16  All options have default values, meaning that just typing '\fBbeep\fR' will work.  If an option is specified more than once on the command line, subsequent options override their predecessors.  So '\fBbeep\fR \-f 200 \-f 300' will beep at 300Hz.
17  .SH OPTIONS
18  .TP
19 +\fB\-\-verbose\fR, \fB\-\-debug\fR
20 +enable debug output. This option prints a line like the following before each
21 +beep:
22 +
23 +[DEBUG] 5 times 200 ms beeps (100 delay between, 0 delay after) @ 1000.00 Hz
24 +.TP
25  \fB\-f\fR N
26  beep at N Hz, where 0 < N < 20000.  As a general ballpark, the regular terminal beep is around 750Hz.  N is not, incidentally, restricted to whole numbers.
27  .TP
28 @@ -59,7 +65,8 @@
29  .TP
30  As part of a log-watching pipeline
31  
32 -tail -f /var/log/xferlog | grep 'passwd' | \fBbeep\fR -f 1000 -r 5 -s
33 +tail -f /var/log/xferlog | grep --line-buffered 'passwd' | \\
34 +\fBbeep\fR -f 1000 -r 5 -s
35  .TP
36  When using -c mode, I recommend using a short -D, and a shorter -l, so that the beeps don't blur together.  Something like this will get you a cheesy 1970's style beep-as-you-type-each-letter effect
37