version 1.106, 2014/08/08 01:50:59 |
version 1.108, 2014/08/22 04:52:55 |
|
|
.Nd format and display UNIX manuals |
.Nd format and display UNIX manuals |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm mandoc |
.Nm mandoc |
.Op Fl V |
.Op Fl acV |
.Sm off |
.Sm off |
.Op Fl I Cm os Li = Ar name |
.Op Fl I Cm os Li = Ar name |
.Sm on |
.Sm on |
|
|
.Pp |
.Pp |
The arguments are as follows: |
The arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl a |
|
If the standard output is a terminal device and |
|
.Fl c |
|
is not specified, use |
|
.Xr more 1 |
|
to paginate the output, just like |
|
.Xr man 1 |
|
would. |
|
.It Fl c |
|
Copy the formatted manual pages to the standard output without using |
|
.Xr more 1 |
|
to paginate them. |
|
This is the default. |
|
It can be specified to override |
|
.Fl a . |
.Sm off |
.Sm off |
.It Fl I Cm os Li = Ar name |
.It Fl I Cm os Li = Ar name |
.Sm on |
.Sm on |
|
|
.Sx HTML Output |
.Sx HTML Output |
for details; beyond generating XHTML tags instead of HTML tags, these |
for details; beyond generating XHTML tags instead of HTML tags, these |
output modes are identical. |
output modes are identical. |
|
.Sh ENVIRONMENT |
|
.Bl -tag -width MANPAGER |
|
.It Ev MANPAGER |
|
Any non-empty value of the environment variable |
|
.Ev MANPAGER |
|
will be used instead of the standard pagination program, |
|
.Xr more 1 . |
|
.It Ev PAGER |
|
Specifies the pagination program to use when |
|
.Ev MANPAGER |
|
is not defined. |
|
If neither PAGER nor MANPAGER is defined, |
|
.Pa /usr/bin/more Fl s |
|
will be used. |
|
.El |
.Sh EXIT STATUS |
.Sh EXIT STATUS |
The |
The |
.Nm |
.Nm |