]> git.deb.at Git - pkg/beep.git/blob - debian/beep.1.diff
Imported Debian patch 1.2.2-19
[pkg/beep.git] / debian / beep.1.diff
1 --- beep.1.orig 2006-02-14 00:21:35.000000000 +0100
2 +++ beep.1      2006-02-14 00:25:37.000000000 +0100
3 @@ -1,9 +1,9 @@
4 -.TH BEEP 1 "March 2002"
5 +.TH BEEP 1 "November 2006"
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] [\-e device | \-\-device device] [\-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,15 @@
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\-e\fR device, \fB\-\-device\fR device
26 +use device as event device. If the switch isn't used, /dev/tty0 and /dev/vc/0 are tried in turn.
27 +.TP
28  \fB\-f\fR N
29  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.
30  .TP
31 @@ -59,7 +68,9 @@
32  .TP
33  As part of a log-watching pipeline
34  
35 -tail -f /var/log/xferlog | grep 'passwd' | \fBbeep\fR -f 1000 -r 5 -s
36 +tail -f /var/log/xferlog | grep --line-buffered 'passwd' | \\
37 +.br
38 +\fBbeep\fR -f 1000 -r 5 -s
39  .TP
40  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
41