mdoc: correct .Bd/.Bl arguments.

Reviewed by:	brueffer
This commit is contained in:
joel 2012-03-26 21:22:53 +00:00
parent 49e07e9559
commit 906214101c
10 changed files with 34 additions and 34 deletions

View File

@ -61,7 +61,7 @@ parameter specifies the operation to accomplish and
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

View File

@ -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 addresses;
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

View File

@ -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

View File

@ -112,7 +112,7 @@ No login or connect time accounting is performed if
does not exist.
.Pp
For example,
.Bd -literal -offset
.Bd -literal -offset indent
ac -p -t "ttyd*" > modems
ac -p -t "!ttyd*" > other
.Ed

View File

@ -66,7 +66,7 @@ built-in functions in the configuration file.
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

View File

@ -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 telnet service via
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 range.
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.

View File

@ -250,7 +250,7 @@ parameter limits the output to entries at the specified class or higher.
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

View File

@ -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

View File

@ -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:

View File

@ -97,12 +97,12 @@ utility should then be used to reconfigure the card to a sensible
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