summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-27 15:30:30 +0000
committerru <ru@FreeBSD.org>2000-12-27 15:30:30 +0000
commit4bb5f49662398b2c716ed1737fb2ad4ca436335d (patch)
treef1468f2d922f425fb0e1dc0ae9c5629ea3d7baf7 /usr.sbin/i4b
parent6c6a7d37868897a158286c6ca08baf40fb719d09 (diff)
downloadFreeBSD-src-4bb5f49662398b2c716ed1737fb2ad4ca436335d.zip
FreeBSD-src-4bb5f49662398b2c716ed1737fb2ad4ca436335d.tar.gz
Prepare for mdoc(7)NG.
Diffstat (limited to 'usr.sbin/i4b')
-rw-r--r--usr.sbin/i4b/g711conv/g711conv.14
-rw-r--r--usr.sbin/i4b/isdnd/isdnd.822
-rw-r--r--usr.sbin/i4b/isdnd/isdnd.acct.55
-rw-r--r--usr.sbin/i4b/isdnd/isdnd.rc.534
-rw-r--r--usr.sbin/i4b/isdndebug/isdndebug.82
-rw-r--r--usr.sbin/i4b/isdnphone/isdnphone.82
-rw-r--r--usr.sbin/i4b/isdntel/isdntel.84
-rw-r--r--usr.sbin/i4b/isdntest/isdntest.86
-rw-r--r--usr.sbin/i4b/man/i4btrc.42
-rw-r--r--usr.sbin/i4b/man/isic.43
-rw-r--r--usr.sbin/i4b/man/iwic.42
11 files changed, 27 insertions, 59 deletions
diff --git a/usr.sbin/i4b/g711conv/g711conv.1 b/usr.sbin/i4b/g711conv/g711conv.1
index ac1c3d2..b711587 100644
--- a/usr.sbin/i4b/g711conv/g711conv.1
+++ b/usr.sbin/i4b/g711conv/g711conv.1
@@ -62,13 +62,11 @@ Print the resulting conversion tables (as C-source) to stdout instead of
doing the actual conversion.
.El
.Pp
-
.Sh STANDARDS
A-Law and u-Law conversions are specified in ITU Recommendation G.711.
.Pp
The reference implementation done by Sun Microsystems, Inc. is available
from http://www.itu.int/itudoc/itu-t/rec/g/g700-799/refimpl.txt
-
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
@@ -85,7 +83,6 @@ cat max_headroom.ul | g711conv -u -R > /dev/i4btel0
converts the u-law coded voice of Max Headroom to A-law, reverses the
bits of the result and moves that to an active isdn4bsd telephone connection.
.Pp
-
.Sh AUTHORS
The
.Nm
@@ -93,4 +90,3 @@ utility and this manpage were written by
.An Hellmuth Michaelis Aq hm@kts.org
based on the G.711 conversion reference code written by Sun Microsystems,
Inc. and code contributed to isdn4bsd by Stefan Bethke.
-
diff --git a/usr.sbin/i4b/isdnd/isdnd.8 b/usr.sbin/i4b/isdnd/isdnd.8
index 8d82d47..dc243c3 100644
--- a/usr.sbin/i4b/isdnd/isdnd.8
+++ b/usr.sbin/i4b/isdnd/isdnd.8
@@ -330,23 +330,20 @@ by the kernel sending the
.Em I4B_DISCONNECT_IND
message and the CDID corresponding to the call is no longer valid.
.Pp
-
.Sh SIGNALS
-
Sending a HUP signal to
.Nm
causes all open connections to be terminated and the configuration file is
reread.
In case aliasfile handling was enabled, the aliasfile is also
reread.
-
+.Pp
Sending a USR1 signal to
.Nm
causes the accounting file and the logfile (if logging to a file is used
instead of logging via the
.Xr syslog 3
facility) to be closed and reopened to make logfile rotation possible.
-
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
@@ -357,39 +354,29 @@ See
.Xr environ 7
for more information.
.El
-
.Sh FILES
-.Bl -tag -width /etc/isdn/isdnd.rates -compact
+.Bl -tag -width /etc/isdn/isdnd.rates
.It Pa /dev/i4b
The device-file used to communicate with the kernel ISDN driver subsystem.
-
.It Pa /var/log/messages
A record of the actions in case of syslogd logging support.
-
.It Pa /var/log/isdnd.acct
The default accounting information filename (if accounting is configured).
-
.It Pa /var/log/isdnd.log
The default logging filename (if logging to a file is configured).
-
.It Pa /var/run/isdnd.pid
The process id of the isdn daemon (also known as "lockfile" to isdnd, preventing multiple invocations of it).
-
.It Pa /usr/local/lib/isdn
.It Pa /etc/isdn
The directory where isdnd expects some supplementary data files and programs
for telephone answering support.
-
.It Pa /etc/isdn/isdnd.rc
The default runtime configuration file.
-
.It Pa /etc/isdn/isdnd.rates
The default unit charging rates specification file.
-
.It Pa /etc/isdn/isdntel.alias
The default table (if aliasing is enabled) to convert phone number to caller's name.
.El
-
.Sh EXAMPLES
For a first try, the following command should be used to start
.Nm
@@ -413,11 +400,8 @@ will start
with reasonable debugging messages enabled, full-screen mode of operation,
full-screen display redirected to /dev/ttyv03 and using a termcap entry
for vt100 on this display.
-
.Sh DIAGNOSTICS
Exit status is 0 on success, 1 on error.
-.Pp
-
.Sh SEE ALSO
.Xr syslogd 8 ,
.Xr isdntrace 8 ,
@@ -427,10 +411,8 @@ Exit status is 0 on success, 1 on error.
.Xr i4bisppp 4 ,
.Xr i4bipr 4
.Xr i4bing 4
-
.Sh BUGS
Still one or more left.
-
.Sh AUTHORS
The
.Nm
diff --git a/usr.sbin/i4b/isdnd/isdnd.acct.5 b/usr.sbin/i4b/isdnd/isdnd.acct.5
index 437b133..f48cb88 100644
--- a/usr.sbin/i4b/isdnd/isdnd.acct.5
+++ b/usr.sbin/i4b/isdnd/isdnd.acct.5
@@ -86,7 +86,6 @@ is the number of seconds the connection lasted.
and
.Em OUTBYTES
is the (optional) number of bytes that were transferred.
-
.Sh FILES
.Bl -tag -width /var/log/isdnd.acct -compact
.It Pa /var/log/isdnd.acct
@@ -94,19 +93,15 @@ The default accounting information file for the
.Nm isdnd
ISDN daemon.
.El
-
.Sh EXAMPLES
This is a typical accounting line:
.Pp
.Dl 12.06.97 10:41:37 - 12.06.97 10:45:18 GROGGY 2 (65) (4711/1147)
-
.Sh SEE ALSO
.Xr isdnd 8 ,
.Xr isdnd.rc 5
-
.Sh AUTHORS
The
.Xr isdnd 8
daemon and this manual page were written by
.An Hellmuth Michaelis Aq hm@kts.org .
-
diff --git a/usr.sbin/i4b/isdnd/isdnd.rc.5 b/usr.sbin/i4b/isdnd/isdnd.rc.5
index c938e5c..85f392b 100644
--- a/usr.sbin/i4b/isdnd/isdnd.rc.5
+++ b/usr.sbin/i4b/isdnd/isdnd.rc.5
@@ -180,7 +180,7 @@ The
.Em monitor
specification may either be:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar the name of a local (UNIX-domain) socket
this MUST start with a "/", example: /var/run/isdn-monitor
.It Ar a dotted-quad host specification
@@ -198,7 +198,7 @@ This keyword specifies the access rights for a previously used
keyword.
The supported access rights are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar fullcmd
.It Ar restrictedcmd
.It Ar channelstate
@@ -288,7 +288,7 @@ controller is connected to.
The following parameters are currently
supported:
.Pp
-.Bl -tag -width calledback -compact -offset
+.Bl -tag -width calledback -compact
.It Ar dss1
The DSS1 or so-called "Euro-ISDN" D-channel protocol according to
ITU Recommendations Q.921 and Q.931.
@@ -328,7 +328,7 @@ The B channel layer 1 protocol used for this connection.
The keyword is mandatory.
The currently configurable values are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar hdlc
HDLC framing.
.It Ar raw
@@ -402,7 +402,7 @@ Used to specify what to do when an incoming connection request is received.
The keyword is mandatory.
The currently supported parameters are:
.Pp
-.Bl -tag -width calledback -compact -offset
+.Bl -tag -width calledback -compact
.It Ar accept
Accept an incoming call.
.It Ar reject
@@ -419,7 +419,7 @@ This keyword is used to configure what type of dialout mode is used.
The keyword is mandatory.
The currently supported parameters are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar normal
Normal behavior, call the remote site which is supposed to accept the call.
.It Ar calledback
@@ -446,7 +446,7 @@ The keyword is optional, the default is
.Pp
The currently supported parameters are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar inout
Normal behavior, connection establishment is possible from remote and local.
.It Ar in
@@ -487,7 +487,7 @@ The algorithm used to determine when to hang up an outgoing call when the
line becomes idle.
The current algorithms are:
.Pp
-.Bl -tag -width calledback -compact -offset
+.Bl -tag -width calledback -compact
.It Ar fix-unit-size
idle algorithm which assumes fixed sized changing units during the whole call.
.It Ar var-unit-size
@@ -607,7 +607,7 @@ The local site expects the authentity of the remote site to be proved by
the specified method.
The supported methods are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar none
Do not require the other side to authenticate.
Typical uses are dial-out to an ISP
@@ -655,7 +655,7 @@ PPP interface.
The authentication method required by the remote site.
The currently supported parameters are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar none
The remote site does not expect or support authentication.
.It Ar chap
@@ -703,7 +703,7 @@ is used to specify the dialout behavior in case more than one outgoing
number is specified.
The currently supported parameters are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar first
For every new (non-retry) call setup, start with the first number.
.It Ar last
@@ -748,7 +748,7 @@ This keyword is used to specify from which source
takes the unitlength for short-hold mode.
The currently configurable values are:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar none
Then unitlength is not specified anywhere.
.It Ar cmdl
@@ -773,7 +773,7 @@ data to the user-land.
The keyword is mandatory.
This keyword accepts the following parameters:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar ipr
This parameter configures a raw HDLC IP over ISDN interface.
.It Ar isp
@@ -814,7 +814,7 @@ daytime range specification in the form hh:mm-hh:mm.
The weekdays are specified as numbers from 0 to 6 and the number 7 for
holidays:
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar 0
Sunday
.It Ar 1
@@ -834,7 +834,7 @@ a Holiday
.El
.Pp
The following examples describe the "T-ISDN xxl" tariff of the german Telekom:
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar 1,2,3,4,5,6,09:00-18:00
Monday through Saturday, daytime 9:00 to 18:00
.It Ar 1,2,3,4,5,6,18:00-9:00
@@ -847,7 +847,7 @@ The use of this keyword is optional.
.El
.El
.Sh IDLETIME CALCULATION AND SHORT-HOLD MODE
-.Bl -tag -width incoming calls
+.Bl -tag -width "incoming calls
.It Li incoming calls
It is assumed that the calling side knows most about charging structures and
such and as a consequence only the keyword
@@ -865,7 +865,7 @@ is used as a last resort and is therefore set much higher than a charging
unit time: typical values are one to five minutes.
.It Li outgoing calls
Outgoing call disconnect time can be setup in one of three ways:
-.Bl -tag -width shorthold mode
+.Bl -tag -width "shorthold mode
.It Li simple mode
For simple mode, the
.Em idle-algorithm-outgoing
diff --git a/usr.sbin/i4b/isdndebug/isdndebug.8 b/usr.sbin/i4b/isdndebug/isdndebug.8
index 3012e98..09711b3 100644
--- a/usr.sbin/i4b/isdndebug/isdndebug.8
+++ b/usr.sbin/i4b/isdndebug/isdndebug.8
@@ -95,7 +95,6 @@ Reset the Q.921 (D-channel layer 2) frame receive/transmit statistics to zero.
.Pp
.Sh FILES
/dev/i4bctl
-
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
@@ -103,7 +102,6 @@ isdndebug -g
.Ed
.Pp
displays the current debugging level for all ISDN layers
-
.Sh AUTHORS
The
.Nm
diff --git a/usr.sbin/i4b/isdnphone/isdnphone.8 b/usr.sbin/i4b/isdnphone/isdnphone.8
index 4587947..518a9d6 100644
--- a/usr.sbin/i4b/isdnphone/isdnphone.8
+++ b/usr.sbin/i4b/isdnphone/isdnphone.8
@@ -57,7 +57,7 @@ hang up a possibly open telefone connection on the selected interface.
dial the specified number on the selected interface.
.It Fl u
Set the unit number to specify the interface used.
-.Pp
+.El
.Sh FILES
/dev/i4bteld<n>
.Sh EXAMPLES
diff --git a/usr.sbin/i4b/isdntel/isdntel.8 b/usr.sbin/i4b/isdntel/isdntel.8
index 068c45c..caad7fc 100644
--- a/usr.sbin/i4b/isdntel/isdntel.8
+++ b/usr.sbin/i4b/isdntel/isdntel.8
@@ -74,7 +74,7 @@ as the command string to execute for playing a voice message to some audio
output facility. The characters
.Em %s
are replaced by the currently selected filename. The default string is
-.Em cat %s | alaw2ulaw >/dev/audio
+.Dq Li cat %s \&| alaw2ulaw >/dev/audio .
.It Fl t
The value for
.Ar timeout
@@ -87,10 +87,8 @@ The screen output should be obvious. If in doubt, consult the source.
.Xr isdnd 8
.Xr isdnd.rc 5
.Xr i4btel 4
-
.Sh BUGS
Still two or more left.
-
.Sh AUTHORS
The
.Nm
diff --git a/usr.sbin/i4b/isdntest/isdntest.8 b/usr.sbin/i4b/isdntest/isdntest.8
index e4f8180..778bf43 100644
--- a/usr.sbin/i4b/isdntest/isdntest.8
+++ b/usr.sbin/i4b/isdntest/isdntest.8
@@ -83,7 +83,6 @@ enhances it as a real self test and setup-verification tool!
.Nm Isdntest
does almost no error checking and error recovery, so unexpected
hangs or crashes may occur.
-
.Sh EXAMPLES
For the following example, it is assumed that a machine with isdn4bsd
installed is connected to an S0 bus and that one of the valid MSN's (MSN = Multiple Subscriber Number
@@ -103,8 +102,9 @@ and disconnect after 5 seconds.
has to be finished by the user by entering Control-C.
.Pp
.Sh FILES
-/dev/i4b
-
+.Bl -tag -width indent
+.It Pa /dev/i4b
+.El
.Sh AUTHORS
The
.Nm
diff --git a/usr.sbin/i4b/man/i4btrc.4 b/usr.sbin/i4b/man/i4btrc.4
index 15ab4a8..1de2cfbb 100644
--- a/usr.sbin/i4b/man/i4btrc.4
+++ b/usr.sbin/i4b/man/i4btrc.4
@@ -33,7 +33,7 @@
.Os
.Sh NAME
.Nm i4btrc
-.Nd isdn4bsd ISDN interface driver for D and B channel tracing
+.Nd "isdn4bsd ISDN interface driver for D and B channel tracing
.Sh FreeBSD SYNOPSIS
.Cd pseudo-device \&"i4btrc\&" Op count
.Sh NetBSD SYNOPSIS
diff --git a/usr.sbin/i4b/man/isic.4 b/usr.sbin/i4b/man/isic.4
index b2baef5..15bd32c 100644
--- a/usr.sbin/i4b/man/isic.4
+++ b/usr.sbin/i4b/man/isic.4
@@ -35,7 +35,6 @@
.Nm isic
.Nd isdn4bsd Siemens ISDN Chipset device driver
.Sh FreeBSD SYNOPSIS (FreeBSD >= 4.0)
-.Br
.Pp
Asuscom ISDNLink 128K (ISA PnP):
.Cd options \&"ASUSCOM_IPAC\&"
@@ -185,7 +184,7 @@ of larger FIFO buffers) is also supported.
.Pp
.Sh SUPPORTED CARDS
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar Teles S0/8, Dr. Neuhaus Niccy 1008, Creatix ISDN-S0/8
.Pp
The required (optional for NetBSD)
diff --git a/usr.sbin/i4b/man/iwic.4 b/usr.sbin/i4b/man/iwic.4
index eda5f87..a4d7269 100644
--- a/usr.sbin/i4b/man/iwic.4
+++ b/usr.sbin/i4b/man/iwic.4
@@ -49,7 +49,7 @@ based on the Winbond W6692 chip.
.Pp
.Sh SUPPORTED CARDS
.Pp
-.Bl -tag -width Ds -compact -offset
+.Bl -tag -width Ds -compact
.It Ar ASUSCOM P-IN100-ST-D
.Pp
.It Ar Dynalink IS64PPH
OpenPOWER on IntegriCloud