Date: Mon, 26 Mar 2012 21:22:54 +0000 (UTC) From: Joel Dahl <joel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r233522 - in head: lib/libc/iconv lib/libc/net sbin/setkey usr.sbin/ac usr.sbin/apmd usr.sbin/faithd usr.sbin/mfiutil usr.sbin/pmcstat usr.sbin/rtadvd usr.sbin/wlconfig Message-ID: <201203262122.q2QLMs27050742@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: joel (doc committer) Date: Mon Mar 26 21:22:53 2012 New Revision: 233522 URL: http://svn.freebsd.org/changeset/base/233522 Log: mdoc: correct .Bd/.Bl arguments. Reviewed by: brueffer Modified: head/lib/libc/iconv/iconvctl.3 head/lib/libc/net/getipnodebyname.3 head/sbin/setkey/setkey.8 head/usr.sbin/ac/ac.8 head/usr.sbin/apmd/apmd.8 head/usr.sbin/faithd/faithd.8 head/usr.sbin/mfiutil/mfiutil.8 head/usr.sbin/pmcstat/pmcstat.8 head/usr.sbin/rtadvd/rtadvd.conf.5 head/usr.sbin/wlconfig/wlconfig.8 Modified: head/lib/libc/iconv/iconvctl.3 ============================================================================== --- head/lib/libc/iconv/iconvctl.3 Mon Mar 26 21:22:51 2012 (r233521) +++ head/lib/libc/iconv/iconvctl.3 Mon Mar 26 21:22:53 2012 (r233522) @@ -61,7 +61,7 @@ parameter specifies the operation to acc is an operation-specific argument. .Pp The possible operations are the following: -.Bl -tag -width -indent +.Bl -tag -width indent .It ICONV_TRIVIALP In this case .Fa argument Modified: head/lib/libc/net/getipnodebyname.3 ============================================================================== --- head/lib/libc/net/getipnodebyname.3 Mon Mar 26 21:22:51 2012 (r233521) +++ head/lib/libc/net/getipnodebyname.3 Mon Mar 26 21:22:53 2012 (r233522) @@ -108,13 +108,13 @@ We note that a special flags value of (defined below) should handle most applications. That is, porting simple applications to use IPv6 replaces the call -.Bd -literal -offset - hptr = gethostbyname(name); +.Bd -literal -offset indent +hptr = gethostbyname(name); .Ed .Pp with -.Bd -literal -offset - hptr = getipnodebyname(name, AF_INET6, AI_DEFAULT, &error_num); +.Bd -literal -offset indent +hptr = getipnodebyname(name, AF_INET6, AI_DEFAULT, &error_num); .Ed .Pp Applications desiring finer control over the types of addresses @@ -270,8 +270,8 @@ records are returned as IPv4-mapped IPv6 The special flags value of .Dv AI_DEFAULT is defined as -.Bd -literal -offset - #define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG) +.Bd -literal -offset indent +#define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG) .Ed .Pp We noted that the Modified: head/sbin/setkey/setkey.8 ============================================================================== --- head/sbin/setkey/setkey.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/sbin/setkey/setkey.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -651,48 +651,48 @@ deflate rfc2394 .Sh EXAMPLES Add an ESP SA between two IPv6 addresses using the des-cbc encryption algorithm. -.Bd -literal -offset +.Bd -literal -offset indent add 3ffe:501:4819::1 3ffe:501:481d::1 esp 123457 -E des-cbc 0x3ffe05014819ffff ; .Ed .\" Add an authentication SA between two FQDN specified hosts: -.Bd -literal -offset +.Bd -literal -offset indent add -6 myhost.example.com yourhost.example.com ah 123456 -A hmac-sha1 "AH SA configuration!" ; .Ed Use both ESP and AH between two numerically specified hosts: -.Bd -literal -offset +.Bd -literal -offset indent add 10.0.11.41 10.0.11.33 esp 0x10001 -E des-cbc 0x3ffe05014819ffff -A hmac-md5 "authentication!!" ; .Ed Get the SA information associated with first example above: -.Bd -literal -offset +.Bd -literal -offset indent get 3ffe:501:4819::1 3ffe:501:481d::1 ah 123456 ; .Ed Flush all entries from the database: -.Bd -literal -offset +.Bd -literal -offset indent flush ; .Ed Dump the ESP entries from the database: -.Bd -literal -offset +.Bd -literal -offset indent dump esp ; .Ed Add a security policy between two networks that uses ESP in tunnel mode: -.Bd -literal -offset +.Bd -literal -offset indent spdadd 10.0.11.41/32[21] 10.0.11.33/32[any] any -P out ipsec esp/tunnel/192.168.0.1-192.168.1.2/require ; .Ed Use TCP MD5 between two numerically specified hosts: -.Bd -literal -offset +.Bd -literal -offset indent add 10.1.10.34 10.1.10.36 tcp 0x1000 -A tcp-md5 "TCP-MD5 BGP secret" ; .Ed Modified: head/usr.sbin/ac/ac.8 ============================================================================== --- head/usr.sbin/ac/ac.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/ac/ac.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -112,7 +112,7 @@ No login or connect time accounting is p does not exist. .Pp For example, -.Bd -literal -offset +.Bd -literal -offset indent ac -p -t "ttyd*" > modems ac -p -t "!ttyd*" > other .Ed Modified: head/usr.sbin/apmd/apmd.8 ============================================================================== --- head/usr.sbin/apmd/apmd.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/apmd/apmd.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -66,7 +66,7 @@ built-in functions in the configuration The .Nm utility recognizes the following runtime options: -.Bl -tag -width -f_file +.Bl -tag -width f_file .It Fl d Starts in debug mode. This causes Modified: head/usr.sbin/faithd/faithd.8 ============================================================================== --- head/usr.sbin/faithd/faithd.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/faithd/faithd.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -281,7 +281,7 @@ Before invoking the .Xr faith 4 interface has to be configured properly. -.Bd -literal -offset +.Bd -literal -offset indent # sysctl net.inet6.ip6.accept_rtadv=0 # sysctl net.inet6.ip6.forwarding=1 # sysctl net.inet6.ip6.keepfaith=1 @@ -295,7 +295,7 @@ To translate service, and provide no local telnet service, invoke .Nm as follows: -.Bd -literal -offset +.Bd -literal -offset indent # faithd telnet .Ed .Pp @@ -304,12 +304,12 @@ If you would like to provide local telne on .Pa /usr/libexec/telnetd , use the following command line: -.Bd -literal -offset +.Bd -literal -offset indent # faithd telnet /usr/libexec/telnetd telnetd .Ed .Pp If you would like to pass extra arguments to the local daemon: -.Bd -literal -offset +.Bd -literal -offset indent # faithd ftp /usr/libexec/ftpd ftpd -l .Ed .Pp @@ -317,7 +317,7 @@ Here are some other examples. You may need .Fl p if the service checks the source port range. -.Bd -literal -offset +.Bd -literal -offset indent # faithd ssh # faithd telnet /usr/libexec/telnetd telnetd .Ed @@ -325,7 +325,7 @@ if the service checks the source port ra Add the following lines into .Xr inetd.conf 5 . Syntax may vary depending upon your operating system. -.Bd -literal -offset +.Bd -literal -offset indent telnet stream tcp6/faith nowait root faithd telnetd ftp stream tcp6/faith nowait root faithd ftpd -l ssh stream tcp6/faith nowait root faithd /usr/sbin/sshd -i @@ -349,7 +349,7 @@ will invoke service-specific daemon like The following illustrates a simple .Pa faithd.conf setting. -.Bd -literal -offset +.Bd -literal -offset indent # permit anyone from 3ffe:501:ffff::/48 to use the translator, # to connect to the following IPv4 destinations: # - any location except 10.0.0.0/8 and 127.0.0.0/8. Modified: head/usr.sbin/mfiutil/mfiutil.8 ============================================================================== --- head/usr.sbin/mfiutil/mfiutil.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/mfiutil/mfiutil.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -250,7 +250,7 @@ parameter limits the output to entries a The default class is .Dq warn . The available classes from lowest priority to highest are: -.Bl -tag -width -indent +.Bl -tag -width indent .It Cm debug Debug messages. .It Cm progress @@ -300,7 +300,7 @@ and parameters. Each of these parameters can either be specified as a log entry number or as one of the following aliases: -.Bl -tag -width -indent +.Bl -tag -width indent .It Cm newest The newest entry in the event log. .It Cm oldest Modified: head/usr.sbin/pmcstat/pmcstat.8 ============================================================================== --- head/usr.sbin/pmcstat/pmcstat.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/pmcstat/pmcstat.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -388,7 +388,7 @@ If option is specified, .Nm may issue the following diagnostic messages: -.Bl -diag -width indent +.Bl -diag .It "#callchain/dubious-frames" The number of callchain records that had an .Dq impossible Modified: head/usr.sbin/rtadvd/rtadvd.conf.5 ============================================================================== --- head/usr.sbin/rtadvd/rtadvd.conf.5 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/rtadvd/rtadvd.conf.5 Mon Mar 26 21:22:53 2012 (r233522) @@ -449,7 +449,7 @@ With the following configuration, overrides the router lifetime parameter for the .Li ne0 interface. -.Bd -literal -offset +.Bd -literal -offset indent ne0:\\ :rltime#0: .Ed @@ -461,7 +461,7 @@ The configuration must be used with the .Fl s option to .Xr rtadvd 8 . -.Bd -literal -offset +.Bd -literal -offset indent ef0:\\ :addr="2001:db8:ffff:1000::":prefixlen#64: .Ed @@ -470,7 +470,7 @@ The following example configures the .Li wlan0 interface and adds two DNS servers and a DNS domain search options using the default option lifetime values. -.Bd -literal -offset +.Bd -literal -offset indent wlan0:\\ :addr="2001:db8:ffff:1000::":prefixlen#64:\\ :rdnss="2001:db8:ffff::10,2001:db8:ffff::2:43":\\ @@ -480,7 +480,7 @@ wlan0:\\ The following example presents the default values in an explicit manner. The configuration is provided just for reference purposes; YOU DO NOT NEED TO HAVE IT AT ALL. -.Bd -literal -offset +.Bd -literal -offset indent default:\\ :chlim#64:raflags#0:rltime#1800:rtime#0:retrans#0:\\ :pinfoflags="la":vltime#2592000:pltime#604800:mtu#0: Modified: head/usr.sbin/wlconfig/wlconfig.8 ============================================================================== --- head/usr.sbin/wlconfig/wlconfig.8 Mon Mar 26 21:22:51 2012 (r233521) +++ head/usr.sbin/wlconfig/wlconfig.8 Mon Mar 26 21:22:53 2012 (r233522) @@ -97,12 +97,12 @@ utility should then be used to reconfigu value. .Sh EXAMPLES Set the NWID to 0x1234: -.Bd -literal -offset +.Bd -literal -offset indent # wlconfig wl0 nwid 0x1234 .Ed .Pp Show the current settings: -.Bd -literal -offset +.Bd -literal -offset indent # wlconfig wl0 Board type : ISA Base address options : 0x300, 0x390, 0x3c0, 0x3e0 @@ -128,7 +128,7 @@ CRC status : OK .Ed .Pp Print a scaled version of the signal strength cache: -.Bd -literal -offset +.Bd -literal -offset indent # wlconfig wl0 cache scale .Ed .Sh SEE ALSO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203262122.q2QLMs27050742>