Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Some more markup.



details:   https://anonhg.NetBSD.org/src/rev/59c32da0ed0f
branches:  trunk
changeset: 535992:59c32da0ed0f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Sep 04 00:41:40 2002 +0000

description:
Some more markup.

diffstat:

 share/man/man4/speaker.4 |  25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)

diffs (53 lines):

diff -r cb11bd2fbcd6 -r 59c32da0ed0f share/man/man4/speaker.4
--- a/share/man/man4/speaker.4  Wed Sep 04 00:26:08 2002 +0000
+++ b/share/man/man4/speaker.4  Wed Sep 04 00:41:40 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: speaker.4,v 1.9 2002/02/13 08:17:46 ross Exp $
+.\" $NetBSD: speaker.4,v 1.10 2002/09/04 00:41:40 wiz Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -48,10 +48,12 @@
 .Pp
 Only one process may have this device open at any given time; open() and
 close() are used to lock and relinquish it. An attempt to open() when
-another process has the device locked will return -1 with an EBUSY error
-indication. Writes to the device are interpreted as 'play strings' in a
-simple ASCII melody notation. An ioctl() for tone generation at arbitrary
-frequencies is also supported.
+another process has the device locked will return -1 with an
+.Er EBUSY
+error indication. Writes to the device are interpreted as 'play strings' in a
+simple ASCII melody notation. An
+.Fn ioctl
+for tone generation at arbitrary frequencies is also supported.
 .Pp
 Sound-generation does
 .Em not
@@ -59,9 +61,14 @@
 spends most of its time sleeping while the PC hardware is emitting
 tones. Other processes may emit beeps while the driver is running.
 .Pp
-Applications may call ioctl() on a speaker file descriptor to control the
-speaker driver directly; definitions for the ioctl() interface are in
-\*[Lt]machine/spkr.h\*[Gt]. The tone_t structure used in these calls has two fields,
+Applications may call
+.Fn ioctl
+on a speaker file descriptor to control the speaker driver directly;
+definitions for the
+.Fn ioctl
+interface are in
+.Aq Pa machine/spkr.h .
+The tone_t structure used in these calls has two fields,
 specifying a frequency (in hz) and a duration (in 1/100ths of a second).
 A frequency of zero is interpreted as a rest.
 .Pp
@@ -152,7 +159,7 @@
 .Sh SEE ALSO
 .Xr pcppi 4
 .Sh AUTHORS
-Eric S. Raymond (esr%snark.thyrsus.com@localhost) Feb 1990
+.An Eric S. Raymond Aq esr%snark.thyrsus.com@localhost
 .Sh BUGS
 Due to roundoff in the pitch tables and slop in the tone-generation and timer
 hardware (neither of which was designed for precision), neither pitch accuracy



Home | Main Index | Thread Index | Old Index