xref: /freebsd/contrib/mandoc/man.1 (revision 6d38604f)
1*6d38604fSBaptiste Daroussin.\"	$Id: man.1,v 1.40 2020/07/20 16:57:30 schwarze Exp $
261d06d6bSBaptiste Daroussin.\"
361d06d6bSBaptiste Daroussin.\" Copyright (c) 1989, 1990, 1993
461d06d6bSBaptiste Daroussin.\"	The Regents of the University of California.  All rights reserved.
561d06d6bSBaptiste Daroussin.\" Copyright (c) 2003, 2007, 2008, 2014 Jason McIntyre <jmc@openbsd.org>
6*6d38604fSBaptiste Daroussin.\" Copyright (c) 2010, 2011, 2014-2020 Ingo Schwarze <schwarze@openbsd.org>
761d06d6bSBaptiste Daroussin.\"
861d06d6bSBaptiste Daroussin.\" Redistribution and use in source and binary forms, with or without
961d06d6bSBaptiste Daroussin.\" modification, are permitted provided that the following conditions
1061d06d6bSBaptiste Daroussin.\" are met:
1161d06d6bSBaptiste Daroussin.\" 1. Redistributions of source code must retain the above copyright
1261d06d6bSBaptiste Daroussin.\"    notice, this list of conditions and the following disclaimer.
1361d06d6bSBaptiste Daroussin.\" 2. Redistributions in binary form must reproduce the above copyright
1461d06d6bSBaptiste Daroussin.\"    notice, this list of conditions and the following disclaimer in the
1561d06d6bSBaptiste Daroussin.\"    documentation and/or other materials provided with the distribution.
1661d06d6bSBaptiste Daroussin.\" 3. Neither the name of the University nor the names of its contributors
1761d06d6bSBaptiste Daroussin.\"    may be used to endorse or promote products derived from this software
1861d06d6bSBaptiste Daroussin.\"    without specific prior written permission.
1961d06d6bSBaptiste Daroussin.\"
2061d06d6bSBaptiste Daroussin.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2161d06d6bSBaptiste Daroussin.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2261d06d6bSBaptiste Daroussin.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2361d06d6bSBaptiste Daroussin.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2461d06d6bSBaptiste Daroussin.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2561d06d6bSBaptiste Daroussin.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2661d06d6bSBaptiste Daroussin.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2761d06d6bSBaptiste Daroussin.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2861d06d6bSBaptiste Daroussin.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2961d06d6bSBaptiste Daroussin.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3061d06d6bSBaptiste Daroussin.\" SUCH DAMAGE.
3161d06d6bSBaptiste Daroussin.\"
3261d06d6bSBaptiste Daroussin.\"     @(#)man.1	8.2 (Berkeley) 1/2/94
3361d06d6bSBaptiste Daroussin.\"
34*6d38604fSBaptiste Daroussin.Dd $Mdocdate: July 20 2020 $
3561d06d6bSBaptiste Daroussin.Dt MAN 1
3661d06d6bSBaptiste Daroussin.Os
3761d06d6bSBaptiste Daroussin.Sh NAME
3861d06d6bSBaptiste Daroussin.Nm man
3961d06d6bSBaptiste Daroussin.Nd display manual pages
4061d06d6bSBaptiste Daroussin.Sh SYNOPSIS
4161d06d6bSBaptiste Daroussin.Nm man
4261d06d6bSBaptiste Daroussin.Op Fl acfhklw
4361d06d6bSBaptiste Daroussin.Op Fl C Ar file
4461d06d6bSBaptiste Daroussin.Op Fl M Ar path
4561d06d6bSBaptiste Daroussin.Op Fl m Ar path
4661d06d6bSBaptiste Daroussin.Op Fl S Ar subsection
4761d06d6bSBaptiste Daroussin.Op Oo Fl s Oc Ar section
4861d06d6bSBaptiste Daroussin.Ar name ...
4961d06d6bSBaptiste Daroussin.Sh DESCRIPTION
5061d06d6bSBaptiste DaroussinThe
5161d06d6bSBaptiste Daroussin.Nm
5261d06d6bSBaptiste Daroussinutility
5361d06d6bSBaptiste Daroussindisplays the
54*6d38604fSBaptiste Daroussinmanual page entitled
5561d06d6bSBaptiste Daroussin.Ar name .
5661d06d6bSBaptiste DaroussinPages may be selected according to
5761d06d6bSBaptiste Daroussina specific category
5861d06d6bSBaptiste Daroussin.Pq Ar section
5961d06d6bSBaptiste Daroussinor
6061d06d6bSBaptiste Daroussinmachine architecture
6161d06d6bSBaptiste Daroussin.Pq Ar subsection .
6261d06d6bSBaptiste Daroussin.Pp
6361d06d6bSBaptiste DaroussinThe options are as follows:
6461d06d6bSBaptiste Daroussin.Bl -tag -width Ds
6561d06d6bSBaptiste Daroussin.It Fl a
6661d06d6bSBaptiste DaroussinDisplay all matching manual pages.
6761d06d6bSBaptiste Daroussin.It Fl C Ar file
6861d06d6bSBaptiste DaroussinUse the specified
6961d06d6bSBaptiste Daroussin.Ar file
7061d06d6bSBaptiste Daroussininstead of the default configuration file.
7161d06d6bSBaptiste DaroussinThis permits users to configure their own manual environment.
7261d06d6bSBaptiste DaroussinSee
7361d06d6bSBaptiste Daroussin.Xr man.conf 5
7461d06d6bSBaptiste Daroussinfor a description of the contents of this file.
7561d06d6bSBaptiste Daroussin.It Fl c
7661d06d6bSBaptiste DaroussinCopy the manual page to the standard output instead of using
77*6d38604fSBaptiste Daroussin.Xr less 1
7861d06d6bSBaptiste Daroussinto paginate it.
7961d06d6bSBaptiste DaroussinThis is done by default if the standard output is not a terminal device.
8061d06d6bSBaptiste Daroussin.Pp
8161d06d6bSBaptiste DaroussinWhen using
8261d06d6bSBaptiste Daroussin.Fl c ,
8361d06d6bSBaptiste Daroussinmost terminal devices are unable to show the markup.
8461d06d6bSBaptiste DaroussinTo print the output of
8561d06d6bSBaptiste Daroussin.Nm
8661d06d6bSBaptiste Daroussinto the terminal with markup but without using a pager, pipe it to
8761d06d6bSBaptiste Daroussin.Xr ul 1 .
8861d06d6bSBaptiste DaroussinTo remove the markup, pipe the output to
8961d06d6bSBaptiste Daroussin.Xr col 1
9061d06d6bSBaptiste Daroussin.Fl b
9161d06d6bSBaptiste Daroussininstead.
9261d06d6bSBaptiste Daroussin.It Fl f
9361d06d6bSBaptiste DaroussinA synonym for
9461d06d6bSBaptiste Daroussin.Xr whatis 1 .
9561d06d6bSBaptiste DaroussinIt searches for
9661d06d6bSBaptiste Daroussin.Ar name
9761d06d6bSBaptiste Daroussinin manual page names and displays the header lines from all matching pages.
9861d06d6bSBaptiste DaroussinThe search is case insensitive and matches whole words only.
9961d06d6bSBaptiste Daroussin.It Fl h
10061d06d6bSBaptiste DaroussinDisplay only the SYNOPSIS lines of the requested manual pages.
10161d06d6bSBaptiste DaroussinImplies
10261d06d6bSBaptiste Daroussin.Fl a
10361d06d6bSBaptiste Daroussinand
10461d06d6bSBaptiste Daroussin.Fl c .
10561d06d6bSBaptiste Daroussin.It Fl k
10661d06d6bSBaptiste DaroussinA synonym for
10761d06d6bSBaptiste Daroussin.Xr apropos 1 .
10861d06d6bSBaptiste DaroussinInstead of
10961d06d6bSBaptiste Daroussin.Ar name ,
11061d06d6bSBaptiste Daroussinan expression can be provided using the syntax described in the
11161d06d6bSBaptiste Daroussin.Xr apropos 1
11261d06d6bSBaptiste Daroussinmanual.
11361d06d6bSBaptiste DaroussinBy default, it displays the header lines of all matching pages.
11461d06d6bSBaptiste Daroussin.It Fl l
11561d06d6bSBaptiste DaroussinA synonym for
11661d06d6bSBaptiste Daroussin.Xr mandoc 1 .
11761d06d6bSBaptiste DaroussinThe
11861d06d6bSBaptiste Daroussin.Ar name
11961d06d6bSBaptiste Daroussinarguments are interpreted as filenames.
12061d06d6bSBaptiste DaroussinNo search is done and
12161d06d6bSBaptiste Daroussin.Ar file ,
12261d06d6bSBaptiste Daroussin.Ar path ,
12361d06d6bSBaptiste Daroussin.Ar section ,
12461d06d6bSBaptiste Daroussin.Ar subsection ,
12561d06d6bSBaptiste Daroussinand
12661d06d6bSBaptiste Daroussin.Fl w
12761d06d6bSBaptiste Daroussinare ignored.
12861d06d6bSBaptiste DaroussinThis option implies
12961d06d6bSBaptiste Daroussin.Fl a .
13061d06d6bSBaptiste Daroussin.It Fl M Ar path
131*6d38604fSBaptiste DaroussinOverride the list of directories to search for manual pages.
13261d06d6bSBaptiste DaroussinThe supplied
13361d06d6bSBaptiste Daroussin.Ar path
13461d06d6bSBaptiste Daroussinmust be a colon
13561d06d6bSBaptiste Daroussin.Pq Ql \&:
13661d06d6bSBaptiste Daroussinseparated list of directories.
137*6d38604fSBaptiste DaroussinThis option also overrides the environment variable
13861d06d6bSBaptiste Daroussin.Ev MANPATH
139*6d38604fSBaptiste Daroussinand any directories specified in the
140*6d38604fSBaptiste Daroussin.Xr man.conf 5
141*6d38604fSBaptiste Daroussinfile.
142*6d38604fSBaptiste Daroussin.It Fl m Ar path
143*6d38604fSBaptiste DaroussinAugment the list of directories to search for manual pages.
144*6d38604fSBaptiste DaroussinThe supplied
145*6d38604fSBaptiste Daroussin.Ar path
146*6d38604fSBaptiste Daroussinmust be a colon
147*6d38604fSBaptiste Daroussin.Pq Ql \&:
148*6d38604fSBaptiste Daroussinseparated list of directories.
149*6d38604fSBaptiste DaroussinThese directories will be searched before those specified using the
150*6d38604fSBaptiste Daroussin.Fl M
151*6d38604fSBaptiste Daroussinoption, the
152*6d38604fSBaptiste Daroussin.Ev MANPATH
153*6d38604fSBaptiste Daroussinenvironment variable, the
154*6d38604fSBaptiste Daroussin.Xr man.conf 5
155*6d38604fSBaptiste Daroussinfile, or the default directories.
15661d06d6bSBaptiste Daroussin.It Fl S Ar subsection
15761d06d6bSBaptiste DaroussinOnly show pages for the specified
15861d06d6bSBaptiste Daroussin.Xr machine 1
15961d06d6bSBaptiste Daroussinarchitecture.
16061d06d6bSBaptiste Daroussin.Ar subsection
16161d06d6bSBaptiste Daroussinis case insensitive.
16261d06d6bSBaptiste Daroussin.Pp
16361d06d6bSBaptiste DaroussinBy default manual pages for all architectures are installed.
16461d06d6bSBaptiste DaroussinTherefore this option can be used to view pages for one
16561d06d6bSBaptiste Daroussinarchitecture whilst using another.
16661d06d6bSBaptiste Daroussin.Pp
16761d06d6bSBaptiste DaroussinThis option overrides the
16861d06d6bSBaptiste Daroussin.Ev MACHINE
16961d06d6bSBaptiste Daroussinenvironment variable.
170*6d38604fSBaptiste Daroussin.Tg s
17161d06d6bSBaptiste Daroussin.It Oo Fl s Oc Ar section
17261d06d6bSBaptiste DaroussinOnly select manuals from the specified
17361d06d6bSBaptiste Daroussin.Ar section .
17461d06d6bSBaptiste DaroussinThe currently available sections are:
17561d06d6bSBaptiste Daroussin.Pp
17661d06d6bSBaptiste Daroussin.Bl -tag -width "localXXX" -offset indent -compact
17761d06d6bSBaptiste Daroussin.It 1
17861d06d6bSBaptiste DaroussinGeneral commands
17961d06d6bSBaptiste Daroussin.Pq tools and utilities .
18061d06d6bSBaptiste Daroussin.It 2
18161d06d6bSBaptiste DaroussinSystem calls and error numbers.
18261d06d6bSBaptiste Daroussin.It 3
18361d06d6bSBaptiste DaroussinLibrary functions.
18461d06d6bSBaptiste Daroussin.It 3p
18561d06d6bSBaptiste Daroussin.Xr perl 1
18661d06d6bSBaptiste Daroussinprogrammer's reference guide.
18761d06d6bSBaptiste Daroussin.It 4
18861d06d6bSBaptiste DaroussinDevice drivers.
18961d06d6bSBaptiste Daroussin.It 5
19061d06d6bSBaptiste DaroussinFile formats.
19161d06d6bSBaptiste Daroussin.It 6
19261d06d6bSBaptiste DaroussinGames.
19361d06d6bSBaptiste Daroussin.It 7
19461d06d6bSBaptiste DaroussinMiscellaneous information.
19561d06d6bSBaptiste Daroussin.It 8
19661d06d6bSBaptiste DaroussinSystem maintenance and operation commands.
19761d06d6bSBaptiste Daroussin.It 9
19861d06d6bSBaptiste DaroussinKernel internals.
19961d06d6bSBaptiste Daroussin.El
20061d06d6bSBaptiste Daroussin.It Fl w
20161d06d6bSBaptiste DaroussinList the pathnames of all matching manual pages instead of displaying
20261d06d6bSBaptiste Daroussinany of them.
203*6d38604fSBaptiste DaroussinIf no
204*6d38604fSBaptiste Daroussin.Ar name
205*6d38604fSBaptiste Daroussinis given, list the directories that would be searched.
20661d06d6bSBaptiste Daroussin.El
20761d06d6bSBaptiste Daroussin.Pp
20861d06d6bSBaptiste DaroussinThe options
20961d06d6bSBaptiste Daroussin.Fl IKOTW
21061d06d6bSBaptiste Daroussinare also supported and are documented in
21161d06d6bSBaptiste Daroussin.Xr mandoc 1 .
21261d06d6bSBaptiste DaroussinThe options
21361d06d6bSBaptiste Daroussin.Fl fkl
21461d06d6bSBaptiste Daroussinare mutually exclusive and override each other.
21561d06d6bSBaptiste Daroussin.Pp
216*6d38604fSBaptiste DaroussinThe search starts with the
217*6d38604fSBaptiste Daroussin.Fl m
218*6d38604fSBaptiste Daroussinargument if provided, then continues with the
219*6d38604fSBaptiste Daroussin.Fl M
220*6d38604fSBaptiste Daroussinargument, the
221*6d38604fSBaptiste Daroussin.Ev MANPATH
222*6d38604fSBaptiste Daroussinvariable, the
223*6d38604fSBaptiste Daroussin.Ic manpath
224*6d38604fSBaptiste Daroussinentries in the
225*6d38604fSBaptiste Daroussin.Xr man.conf 5
226*6d38604fSBaptiste Daroussinfile, or with
227*6d38604fSBaptiste Daroussin.Pa /usr/share/man : Ns Pa /usr/X11R6/man : Ns Pa /usr/local/man
228*6d38604fSBaptiste Daroussinby default.
229*6d38604fSBaptiste DaroussinWithin each of these, directories are searched in the order provided.
230*6d38604fSBaptiste DaroussinWithin each directory, the search proceeds according to the following
231*6d38604fSBaptiste Daroussinlist of sections: 1, 8, 6, 2, 3, 5, 7, 4, 9, 3p.
232*6d38604fSBaptiste DaroussinThe first match found is shown.
23361d06d6bSBaptiste Daroussin.Pp
2347295610fSBaptiste DaroussinThe
2357295610fSBaptiste Daroussin.Xr mandoc.db 5
2367295610fSBaptiste Daroussindatabase is used for looking up manual page entries.
2377295610fSBaptiste DaroussinIn cases where the database is absent, outdated, or corrupt,
2387295610fSBaptiste Daroussin.Nm
2397295610fSBaptiste Daroussinfalls back to looking for files called
2407295610fSBaptiste Daroussin.Ar name . Ns Ar section .
24161d06d6bSBaptiste DaroussinIf both a formatted and an unformatted version of the same manual page,
24261d06d6bSBaptiste Daroussinfor example
24361d06d6bSBaptiste Daroussin.Pa cat1/foo.0
24461d06d6bSBaptiste Daroussinand
24561d06d6bSBaptiste Daroussin.Pa man1/foo.1 ,
24661d06d6bSBaptiste Daroussinexist in the same directory, only the unformatted version is used.
2477295610fSBaptiste DaroussinThe database is kept up to date with
2487295610fSBaptiste Daroussin.Xr makewhatis 8 ,
2497295610fSBaptiste Daroussinwhich is run by the
2507295610fSBaptiste Daroussin.Xr weekly 8
2517295610fSBaptiste Daroussinmaintenance script.
252*6d38604fSBaptiste Daroussin.Pp
253*6d38604fSBaptiste DaroussinGuidelines for writing
254*6d38604fSBaptiste Daroussinman pages can be found in
255*6d38604fSBaptiste Daroussin.Xr mdoc 7 .
25661d06d6bSBaptiste Daroussin.Sh ENVIRONMENT
25761d06d6bSBaptiste Daroussin.Bl -tag -width MANPATHX
25861d06d6bSBaptiste Daroussin.It Ev MACHINE
25961d06d6bSBaptiste DaroussinAs some manual pages are intended only for specific architectures,
26061d06d6bSBaptiste Daroussin.Nm
26161d06d6bSBaptiste Daroussinsearches any subdirectories,
26261d06d6bSBaptiste Daroussinwith the same name as the current architecture,
26361d06d6bSBaptiste Daroussinin every directory which it searches.
26461d06d6bSBaptiste DaroussinMachine specific areas are checked before general areas.
26561d06d6bSBaptiste DaroussinThe current machine type may be overridden by setting the environment
26661d06d6bSBaptiste Daroussinvariable
26761d06d6bSBaptiste Daroussin.Ev MACHINE
26861d06d6bSBaptiste Daroussinto the name of a specific architecture,
26961d06d6bSBaptiste Daroussinor with the
27061d06d6bSBaptiste Daroussin.Fl S
27161d06d6bSBaptiste Daroussinoption.
27261d06d6bSBaptiste Daroussin.Ev MACHINE
27361d06d6bSBaptiste Daroussinis case insensitive.
27461d06d6bSBaptiste Daroussin.It Ev MANPAGER
27561d06d6bSBaptiste DaroussinAny non-empty value of the environment variable
27661d06d6bSBaptiste Daroussin.Ev MANPAGER
27761d06d6bSBaptiste Daroussinis used instead of the standard pagination program,
278*6d38604fSBaptiste Daroussin.Xr less 1 .
27961d06d6bSBaptiste DaroussinIf
28061d06d6bSBaptiste Daroussin.Xr less 1
28161d06d6bSBaptiste Daroussinis used, the interactive
28261d06d6bSBaptiste Daroussin.Ic :t
28361d06d6bSBaptiste Daroussincommand can be used to go to the definitions of various terms, for
28461d06d6bSBaptiste Daroussinexample command line options, command modifiers, internal commands,
28561d06d6bSBaptiste Daroussinenvironment variables, function names, preprocessor macros,
28661d06d6bSBaptiste Daroussin.Xr errno 2
28761d06d6bSBaptiste Daroussinvalues, and some other emphasized words.
28861d06d6bSBaptiste DaroussinSome terms may have defining text at more than one place.
28961d06d6bSBaptiste DaroussinIn that case, the
29061d06d6bSBaptiste Daroussin.Xr less 1
29161d06d6bSBaptiste Daroussininteractive commands
29261d06d6bSBaptiste Daroussin.Ic t
29361d06d6bSBaptiste Daroussinand
29461d06d6bSBaptiste Daroussin.Ic T
29561d06d6bSBaptiste Daroussincan be used to move to the next and to the previous place providing
29661d06d6bSBaptiste Daroussininformation about the term last searched for with
29761d06d6bSBaptiste Daroussin.Ic :t .
2987295610fSBaptiste DaroussinThe
2997295610fSBaptiste Daroussin.Fl O Cm tag Ns Op = Ns Ar term
3007295610fSBaptiste Daroussinoption documented in the
3017295610fSBaptiste Daroussin.Xr mandoc 1
3027295610fSBaptiste Daroussinmanual opens a manual page at the definition of a specific
3037295610fSBaptiste Daroussin.Ar term
3047295610fSBaptiste Daroussinrather than at the beginning.
30561d06d6bSBaptiste Daroussin.It Ev MANPATH
306*6d38604fSBaptiste DaroussinOverride the standard search path which is either specified in
307*6d38604fSBaptiste Daroussin.Xr man.conf 5
308*6d38604fSBaptiste Daroussinor the default path.
309*6d38604fSBaptiste DaroussinThe format of
31061d06d6bSBaptiste Daroussin.Ev MANPATH
311*6d38604fSBaptiste Daroussinis a colon
31261d06d6bSBaptiste Daroussin.Pq Ql \&:
31361d06d6bSBaptiste Daroussinseparated list of directories.
314*6d38604fSBaptiste DaroussinInvalid directories are ignored.
31561d06d6bSBaptiste DaroussinOverridden by
31661d06d6bSBaptiste Daroussin.Fl M ,
31761d06d6bSBaptiste Daroussinignored if
31861d06d6bSBaptiste Daroussin.Fl l
31961d06d6bSBaptiste Daroussinis specified.
32061d06d6bSBaptiste Daroussin.Pp
32161d06d6bSBaptiste DaroussinIf
32261d06d6bSBaptiste Daroussin.Ev MANPATH
323*6d38604fSBaptiste Daroussinbegins with a colon, it is appended to the standard path;
324*6d38604fSBaptiste Daroussinif it ends with a colon, it is prepended to the standard path;
32561d06d6bSBaptiste Daroussinor if it contains two adjacent colons,
326*6d38604fSBaptiste Daroussinthe standard path is inserted between the colons.
32761d06d6bSBaptiste Daroussin.It Ev PAGER
32861d06d6bSBaptiste DaroussinSpecifies the pagination program to use when
32961d06d6bSBaptiste Daroussin.Ev MANPAGER
33061d06d6bSBaptiste Daroussinis not defined.
33161d06d6bSBaptiste DaroussinIf neither PAGER nor MANPAGER is defined,
332*6d38604fSBaptiste Daroussin.Xr less 1
33361d06d6bSBaptiste Daroussinis used.
33461d06d6bSBaptiste Daroussin.El
33561d06d6bSBaptiste Daroussin.Sh FILES
33661d06d6bSBaptiste Daroussin.Bl -tag -width /etc/man.conf -compact
33761d06d6bSBaptiste Daroussin.It Pa /etc/man.conf
338*6d38604fSBaptiste Daroussindefault
339*6d38604fSBaptiste Daroussin.Nm
340*6d38604fSBaptiste Daroussinconfiguration file
34161d06d6bSBaptiste Daroussin.El
34261d06d6bSBaptiste Daroussin.Sh EXIT STATUS
34361d06d6bSBaptiste Daroussin.Ex -std man
34461d06d6bSBaptiste DaroussinSee
34561d06d6bSBaptiste Daroussin.Xr mandoc 1
34661d06d6bSBaptiste Daroussinfor details.
34761d06d6bSBaptiste Daroussin.Sh EXAMPLES
34861d06d6bSBaptiste DaroussinFormat a page for pasting extracts into an email message \(em
34961d06d6bSBaptiste Daroussinavoid printing any UTF-8 characters, reduce the width to ease
35061d06d6bSBaptiste Daroussinquoting in replies, and remove markup:
35161d06d6bSBaptiste Daroussin.Pp
35261d06d6bSBaptiste Daroussin.Dl $ man -T ascii -O width=65 pledge | col -b
35361d06d6bSBaptiste Daroussin.Pp
35461d06d6bSBaptiste DaroussinRead a typeset page in a PDF viewer:
35561d06d6bSBaptiste Daroussin.Pp
35661d06d6bSBaptiste Daroussin.Dl $ MANPAGER=mupdf man -T pdf lpd
35761d06d6bSBaptiste Daroussin.Sh SEE ALSO
35861d06d6bSBaptiste Daroussin.Xr apropos 1 ,
35961d06d6bSBaptiste Daroussin.Xr col 1 ,
36061d06d6bSBaptiste Daroussin.Xr mandoc 1 ,
36161d06d6bSBaptiste Daroussin.Xr ul 1 ,
36261d06d6bSBaptiste Daroussin.Xr whereis 1 ,
36361d06d6bSBaptiste Daroussin.Xr man.conf 5 ,
36461d06d6bSBaptiste Daroussin.Xr mdoc 7
36561d06d6bSBaptiste Daroussin.Sh STANDARDS
36661d06d6bSBaptiste DaroussinThe
36761d06d6bSBaptiste Daroussin.Nm
36861d06d6bSBaptiste Daroussinutility is compliant with the
36961d06d6bSBaptiste Daroussin.St -p1003.1-2008
37061d06d6bSBaptiste Daroussinspecification.
37161d06d6bSBaptiste Daroussin.Pp
37261d06d6bSBaptiste DaroussinThe flags
37361d06d6bSBaptiste Daroussin.Op Fl aCcfhIKlMmOSsTWw ,
37461d06d6bSBaptiste Daroussinas well as the environment variables
37561d06d6bSBaptiste Daroussin.Ev MACHINE ,
37661d06d6bSBaptiste Daroussin.Ev MANPAGER ,
37761d06d6bSBaptiste Daroussinand
37861d06d6bSBaptiste Daroussin.Ev MANPATH ,
37961d06d6bSBaptiste Daroussinare extensions to that specification.
38061d06d6bSBaptiste Daroussin.Sh HISTORY
38161d06d6bSBaptiste DaroussinA
38261d06d6bSBaptiste Daroussin.Nm
38361d06d6bSBaptiste Daroussincommand first appeared in
384*6d38604fSBaptiste Daroussin.At v2 .
38561d06d6bSBaptiste Daroussin.Pp
38661d06d6bSBaptiste DaroussinThe
38761d06d6bSBaptiste Daroussin.Fl w
38861d06d6bSBaptiste Daroussinoption first appeared in
38961d06d6bSBaptiste Daroussin.At v7 ;
39061d06d6bSBaptiste Daroussin.Fl f
39161d06d6bSBaptiste Daroussinand
39261d06d6bSBaptiste Daroussin.Fl k
39361d06d6bSBaptiste Daroussinin
39461d06d6bSBaptiste Daroussin.Bx 4 ;
39561d06d6bSBaptiste Daroussin.Fl M
39661d06d6bSBaptiste Daroussinin
39761d06d6bSBaptiste Daroussin.Bx 4.3 ;
39861d06d6bSBaptiste Daroussin.Fl a
39961d06d6bSBaptiste Daroussinin
40061d06d6bSBaptiste Daroussin.Bx 4.3 Tahoe ;
40161d06d6bSBaptiste Daroussin.Fl c
40261d06d6bSBaptiste Daroussinand
40361d06d6bSBaptiste Daroussin.Fl m
40461d06d6bSBaptiste Daroussinin
40561d06d6bSBaptiste Daroussin.Bx 4.3 Reno ;
40661d06d6bSBaptiste Daroussin.Fl h
40761d06d6bSBaptiste Daroussinin
40861d06d6bSBaptiste Daroussin.Bx 4.3 Net/2 ;
40961d06d6bSBaptiste Daroussin.Fl C
41061d06d6bSBaptiste Daroussinin
41161d06d6bSBaptiste Daroussin.Nx 1.0 ;
41261d06d6bSBaptiste Daroussin.Fl s
41361d06d6bSBaptiste Daroussinand
41461d06d6bSBaptiste Daroussin.Fl S
41561d06d6bSBaptiste Daroussinin
41661d06d6bSBaptiste Daroussin.Ox 2.3 ;
41761d06d6bSBaptiste Daroussinand
41861d06d6bSBaptiste Daroussin.Fl I ,
41961d06d6bSBaptiste Daroussin.Fl K ,
42061d06d6bSBaptiste Daroussin.Fl l ,
42161d06d6bSBaptiste Daroussin.Fl O ,
42261d06d6bSBaptiste Daroussinand
42361d06d6bSBaptiste Daroussin.Fl W
42461d06d6bSBaptiste Daroussinin
42561d06d6bSBaptiste Daroussin.Ox 5.7 .
42661d06d6bSBaptiste DaroussinThe
42761d06d6bSBaptiste Daroussin.Fl T
42861d06d6bSBaptiste Daroussinoption first appeared in
42961d06d6bSBaptiste Daroussin.At III
43061d06d6bSBaptiste Daroussinand was also added in
43161d06d6bSBaptiste Daroussin.Ox 5.7 .
432