From 58eaff23320564678272a29fca675462cd4a7b59 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 20 Dec 2000 13:26:01 +0000 Subject: [PATCH] Prepare for mdoc(7)NG. --- libexec/getty/gettytab.5 | 8 ++-- libexec/pppoed/pppoed.8 | 6 +-- libexec/rbootd/rbootd.8 | 10 ++--- libexec/rtld-elf/rtld.1 | 8 ++-- libexec/telnetd/telnetd.8 | 6 ++- libexec/xtend/xtend.8 | 78 +++++++++++++++++++-------------------- 6 files changed, 59 insertions(+), 57 deletions(-) diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5 index 27753be72deb..3ec4bc652cdf 100644 --- a/libexec/getty/gettytab.5 +++ b/libexec/getty/gettytab.5 @@ -74,8 +74,8 @@ column below lists defaults obtained if there is no entry in the table obtained, nor one in the special .Em default table. -.Bl -column Namexx /usr/bin/login Default -.It Sy Name Type Default Description +.Bl -column Name Type /usr/bin/login +.It Sy "Name Type Default Description .It "ac str unused expect-send chat script for modem answer" .It "al str unused user to auto-login instead of prompting" .It "ap bool false terminal uses any parity" @@ -179,7 +179,7 @@ use raw for input, use cbreak .It "ub bool false do unbuffered output (of prompts etc)" .It "we str" Ta So Li ^W Sc Ta .No "word erase character" -.It xc bool false do +.It "xc bool false do .Tn NOT echo control chars as .Ql ^X @@ -192,7 +192,7 @@ echo control chars as .Pp The following capabilities are no longer supported by .Xr getty 8 Ns : -.Bl -column Namexx /usr/bin/login Default +.Bl -column Name Type /usr/bin/login .It "bd num 0 backspace delay" .It "cb bool false use crt backspace mode" .It "cd num 0 carriage-return delay" diff --git a/libexec/pppoed/pppoed.8 b/libexec/pppoed/pppoed.8 index 1d3d4b5e6b7d..91ed395a4ef9 100644 --- a/libexec/pppoed/pppoed.8 +++ b/libexec/pppoed/pppoed.8 @@ -33,7 +33,7 @@ .Nd handle incoming PPP over Ethernet connections .Sh SYNOPSIS .Nm -.Op Fl Fd +.Op Fl Fd\& .Op Fl P Ar pidfile .Op Fl a Ar name .Op Fl e Ar exec @@ -158,12 +158,12 @@ It is sometimes useful to add the following to .Pa /etc/syslog.conf : .Pp .Dl !pppoed -.Dl *.* /var/log/pppoed.log +.Dl "*.* /var/log/pppoed.log .Pp and the following to .Pa /etc/newsyslog.conf : .Pp -.Dl /var/log/pppoed.log 640 3 100 * Z +.Dl "/var/log/pppoed.log 640 3 100 * Z .Pp .Sh SEE ALSO .Xr NgSetDebug 3 , diff --git a/libexec/rbootd/rbootd.8 b/libexec/rbootd/rbootd.8 index 656d03ee45bd..8ef5d1fda6b4 100644 --- a/libexec/rbootd/rbootd.8 +++ b/libexec/rbootd/rbootd.8 @@ -103,13 +103,13 @@ and/or comma characters. A pound sign causes the remainder of a line to be ignored. .Pp Here is a sample configuration file: -.Bl -column 08:00:09:0:66:ad SYSHPBSD,SYSHPUX "# vandy (anything)" +.Bl -column 08:00:09:0:66:ad SYSHPBSD,SYSHPUX .It # -.It # ethernet addr boot file(s) comments +.It "# ethernet addr boot file(s) comments .It # -.It 08:00:09:0:66:ad SYSHPBSD # snake (4.3BSD) -.It 08:00:09:0:59:5b # vandy (anything) -.It 8::9:1:C6:75 SYSHPBSD,SYSHPUX # jaguar (either) +.It "08:00:09:0:66:ad SYSHPBSD # snake (4.3BSD) +.It "08:00:09:0:59:5b # vandy (anything) +.It "8::9:1:C6:75 SYSHPBSD,SYSHPUX # jaguar (either) .El .Pp .Nm Rbootd diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 index 6a1440186c3b..d45712dafdc3 100644 --- a/libexec/rtld-elf/rtld.1 +++ b/libexec/rtld-elf/rtld.1 @@ -73,7 +73,7 @@ utility. recognizes a number of environment variables that can be used to modify its behaviour as follows: .Pp -.Bl -tag -width "LD_IGNORE_MISSING_OBJECTS" +.Bl -tag -width LD_LIBRARY_PATH .It Ev LD_LIBRARY_PATH A colon separated list of directories, overriding the default search path for shared libraries. @@ -110,7 +110,7 @@ option and allows .Xr ldd 1 to be operated as a filter more conveniently. The following conversions can be used: -.Bl -tag -indent "LD_TRACE_LOADED_OBJECTS_FMT1 " -width "xxxx" +.Bl -tag -width "xxxx" .It \&%a The main program's name .Po @@ -140,7 +140,9 @@ are recognized and have their usual meaning. .El .Pp .Sh FILES -/var/run/ld-elf.so.hints +.Bl -tag -width indent +.It Pa /var/run/ld-elf.so.hints +.El .Pp .Sh SEE ALSO .Xr elf 5 , diff --git a/libexec/telnetd/telnetd.8 b/libexec/telnetd/telnetd.8 index 2c0fe700e708..d5ce4dfe44a5 100644 --- a/libexec/telnetd/telnetd.8 +++ b/libexec/telnetd/telnetd.8 @@ -369,7 +369,9 @@ DO TIMING-MARK .Ed .Pp The pseudo-terminal allocated to the client is configured -to operate in \*(lqcooked\*(rq mode, and with +to operate in +.Dq cooked +mode, and with .Dv XTABS and .Dv CRMOD enabled (see @@ -513,6 +515,7 @@ Only sent if is compiled with support for data encryption, and indicates a willingness to decrypt the data stream. +.El .Sh NOTES By default .Nm @@ -599,6 +602,7 @@ Telnet Authentication: SPX Telnet Environment Option Interoperability Issues .It Cm RFC-1572 Telnet Environment Option +.El .Sh BUGS Some .Tn TELNET diff --git a/libexec/xtend/xtend.8 b/libexec/xtend/xtend.8 index 3b0668f0f6a2..4dd0c7848711 100644 --- a/libexec/xtend/xtend.8 +++ b/libexec/xtend/xtend.8 @@ -29,7 +29,6 @@ .\" .\" $FreeBSD$ .\" -.Th XTEND 8 "30 Oct 1993" .Dd October 30, 1993 .Dt XTEND 8 .Os FreeBSD @@ -61,13 +60,19 @@ script. .Pp Sending .Nm -a SIGHUP causes it to close and reopen its log file. This is useful +a +.Dv SIGHUP +causes it to close and reopen its log file. This is useful in shell scripts that rotate the log files to keep them from growing indefinitely. If .Nm -receives a SIGTERM, it shuts down gracefully and exits. -A SIGPIPE causes +receives a +.Dv SIGTERM , +it shuts down gracefully and exits. +A +.Dv SIGPIPE +causes .Nm to abort the current client connection. .Pp @@ -77,65 +82,56 @@ command is sent by the client, and is acknowledged by a one-line response from the daemon. .Pp .Nm Xtend -understands four types of commands. The command: -.Bl -tag -.It status H U -.El -.Pp -where H is a single letter house code, and U is a numeric unit code, +understands four types of commands: +.Bl -tag -width "monitor H U +.It Ic status Ar H U +where +.Ar H +is a single letter house code, and +.Ar U +is a numeric unit code, causes .Nm to respond with one line of status information about the specified device. -The command: -.Bl -tag -.It send H U N -.El -.Pp -where H is a single-letter house code, U is either a numeric unit code +.It Ic send Ar H U N +where +.Ar H +is a single-letter house code, +.Ar U +is either a numeric unit code or a function code (see source file -.Pa xtend/packet.c -) for a list, and N is a number indicating the number of times (usually 2) +.Pa xtend/packet.c ) +for a list, and +.Ar N +is a number indicating the number of times (usually 2) the packet is to be transmitted without gaps, causes .Nm to perform the specified X-10 transmission. If the transmission was apparently successful, a single-line response containing -.B -OK +.Sy OK is issued, otherwise a single-line response containing -.B -ERROR +.Sy ERROR is produced. -The command: -.Bl -tag -.It dump -.El -.Pp +.It Ic dump causes .Nm to dump the current status of all devices to an .Tn ASCII file in the spool directory. The response -.B -OK +.Sy OK is issued, regardless of whether the status dump was successful. -The command: -.Bl -tag -.It monitor H U -.El -.Pp +.It Ic monitor Ar H U causes .Nm to add the current client socket connection to a list of clients that are to be notified about activity concerning the specified X-10 device. The single-line acknowledgement -.B -OK +.Sy OK is returned if the maximum (currently 5) number of such clients was not exceeded, otherwise -.B -ERROR +.Sy ERROR is returned. .Nm Xtend then returns to its normal mode of accepting connections from clients. @@ -144,18 +140,18 @@ cause .Nm to write one line of status information for the device (in the same format as produced by the -.B -status +.Ic status command) to the saved socket. This feature is useful for writing programs that need to monitor the activity of devices, like motion detectors, that can perform X-10 transmissions. +.El .Sh OPTIONS None. .Sh SEE ALSO .Xr xten 1 , .Xr tw 4 .Sh FILES -.Bl -tag -width /var/spool/xten/Status -compact +.Bl -tag -width /var/spool/xten/status.out -compact .It Pa /dev/tw0 the TW523 special file .It Pa /var/run/tw523