1 .\" $Id: mdoc.7,v 1.181 2011/03/07 01:35:51 schwarze Exp $
3 .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
4 .\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 .Dd $Mdocdate: March 7 2011 $
23 .Nd mdoc language reference
27 language is used to format
31 This reference document describes its syntax, structure, and
33 The reference implementation is
37 section describes compatibility with other troff \-mdoc implementations.
41 document follows simple rules: lines beginning with the control
44 are parsed for macros.
45 Other lines are interpreted within the scope of
47 .Bd -literal -offset indent
48 \&.Sh Macro lines change control state.
49 Other lines are interpreted within the current state.
53 documents may contain only graphable 7-bit ASCII characters, the space
54 character, and, in certain circumstances, the tab character.
56 If the first character of a line is a space, that line is printed
57 with a leading newline.
61 whether in a macro or free-form text line, is ignored to the end of
63 A macro line with only a control character and comment escape,
66 Macro lines with only a control character and optional whitespace are
68 .Ss Reserved Characters
69 Within a macro line, the following characters are reserved:
71 .Bl -tag -width Ds -offset indent -compact
96 Use of reserved characters is described in
98 For general use in macro lines, these characters can either be escaped
99 with a non-breaking space
101 or, if applicable, an appropriate escape sequence can be used.
102 .Ss Special Characters
103 Special characters may occur in both macro and free-form lines.
104 Sequences begin with the escape character
106 followed by either an open-parenthesis
108 for two-character sequences; an open-bracket
110 for n-character sequences (terminated at a close-bracket
112 or a single one character sequence.
123 Terms may be text-decorated using the
125 escape followed by an indicator: B (bold), I (italic), R (Roman), or P
126 (revert to previous mode):
128 .Dl \efBbold\efR \efIitalic\efP
130 A numerical representation 3, 2, or 1 (bold, italic, and Roman,
131 respectively) may be used instead.
132 A text decoration is valid within
133 the current font scope only: if a macro opens a font scope alongside
134 its own scope, such as
137 in-scope invocations of
139 are only valid within the font scope of the macro.
142 is specified outside of any font scope, such as in unenclosed, free-form
143 text, it will affect the remainder of the document.
149 which encourages semantic annotation.
150 .Ss Predefined Strings
153 also defined a set of package-specific
154 .Dq predefined strings ,
156 .Sx Special Characters ,
157 mark special output characters and strings by way of input codes.
158 Predefined strings are escaped with the slash-asterisk,
176 Whitespace consists of the space character.
177 In free-form lines, whitespace is preserved within a line; unescaped
178 trailing spaces are stripped from input (unless in a literal context).
179 Blank free-form lines, which may include whitespace, are only permitted
180 within literal contexts.
182 In macro lines, whitespace delimits arguments and is discarded.
183 If arguments are quoted, whitespace within the quotes is retained.
185 Macro arguments may be quoted with double-quotes to group
186 space-delimited terms or to retain blocks of whitespace.
187 A quoted argument begins with a double-quote preceded by whitespace.
188 The next double-quote not pairwise adjacent to another double-quote
189 terminates the literal, regardless of surrounding whitespace.
191 Note that any quoted text, even if it would cause a macro invocation
192 when unquoted, is considered literal text.
193 Thus, the following produces
195 .Bd -literal -offset indent
199 In free-form mode, quotes are regarded as opaque text.
201 Many macros support scaled widths for their arguments, such as
202 stipulating a two-inch list indentation with the following:
203 .Bd -literal -offset indent
207 The syntax for scaled widths is
208 .Sq Li [+-]?[0-9]*.[0-9]*[:unit:] ,
209 where a decimal must be preceded or proceeded by at least one digit.
210 Negative numbers, while accepted, are truncated to zero.
211 The following scaling units are accepted:
213 .Bl -tag -width Ds -offset indent -compact
226 default vertical span
238 default horizontal span
243 Using anything other than
249 is necessarily non-portable across output media.
253 When composing a manual, make sure that sentences end at the end of
255 By doing so, front-ends will be able to apply the proper amount of
256 spacing after the end of sentence (unescaped) period, exclamation mark,
257 or question mark followed by zero or more non-sentence closing
266 The proper spacing is also intelligently preserved if a sentence ends at
267 the boundary of a macro line.
271 .Dl \&Fl T \&Ns \&Cm ascii \.
275 document consists of a document prologue followed by one or more
278 The prologue, which consists of the
283 macros in that order, is required for every document.
285 The first section (sections are denoted by
287 must be the NAME section, consisting of at least one
292 Following that, convention dictates specifying at least the
296 sections, although this varies between manual sections.
298 The following is a well-formed skeleton
301 .Bd -literal -offset indent
307 \&.Nd a description goes here
309 \&.\e\*q For sections 2, 3, & 9 only.
310 \&.\e\*q Not used in OpenBSD.
318 utility processes files ...
319 \&.\e\*q .Sh IMPLEMENTATION NOTES
320 \&.\e\*q Not used in OpenBSD.
321 \&.\e\*q .Sh RETURN VALUES
322 \&.\e\*q For sections 2, 3, & 9 only.
323 \&.\e\*q .Sh ENVIRONMENT
324 \&.\e\*q For sections 1, 6, 7, & 8 only.
326 \&.\e\*q .Sh EXIT STATUS
327 \&.\e\*q For sections 1, 6, & 8 only.
328 \&.\e\*q .Sh EXAMPLES
329 \&.\e\*q .Sh DIAGNOSTICS
330 \&.\e\*q For sections 1, 4, 6, 7, & 8 only.
332 \&.\e\*q For sections 2, 3, & 9 only.
333 \&.\e\*q .Sh SEE ALSO
334 \&.\e\*q .Xr foobar 1
335 \&.\e\*q .Sh STANDARDS
340 \&.\e\*q .Sh SECURITY CONSIDERATIONS
341 \&.\e\*q Not used in OpenBSD.
346 document are conventionally ordered as they appear above.
347 Sections should be composed as follows:
348 .Bl -ohang -offset Ds
350 The name(s) and a one line description of the documented material.
351 The syntax for this as follows:
352 .Bd -literal -offset indent
356 \&.Nd a one line description
361 macro(s) must precede the
370 The name of the library containing the documented material, which is
371 assumed to be a function in a section 2, 3, or 9 manual.
372 The syntax for this is as follows:
373 .Bd -literal -offset indent
380 Documents the utility invocation syntax, function call syntax, or device
383 For the first, utilities (sections 1, 6, and 8), this is
384 generally structured as follows:
385 .Bd -literal -offset indent
396 For the second, function calls (sections 2, 3, 9):
397 .Bd -literal -offset indent
399 \&.Vt extern const char *global;
401 \&.Fn foo "const char *src"
403 \&.Fn bar "const char *src"
406 And for the third, configurations (section 4):
407 .Bd -literal -offset indent
408 \&.Cd \*qit* at isa? port 0x2e\*q
409 \&.Cd \*qit* at isa? port 0x4e\*q
412 Manuals not in these sections generally don't need a
415 Some macros are displayed differently in the
417 section, particularly
427 All of these macros are output on their own line.
428 If two such dissimilar macros are pairwise invoked (except for
434 they are separated by a vertical space, unless in the case of
439 which are always separated by vertical space.
441 When text and macros following an
443 macro starting an input line span multiple output lines,
444 all output lines but the first will be indented to align
445 with the text immediately following the
447 macro, up to the next
452 macro or the end of an enclosing block, whichever comes first.
454 This expands upon the brief, one line description in
456 It usually contains a breakdown of the options (if documenting a
458 .Bd -literal -offset indent
459 The arguments are as follows:
460 \&.Bl \-tag \-width Ds
462 Print verbose information.
466 Manuals not documenting a command won't include the above fragment.
467 .It Em IMPLEMENTATION NOTES
468 Implementation-specific notes should be kept here.
469 This is useful when implementing standard functions that may have side
470 effects or notable algorithmic implications.
472 This section documents the
473 return values of functions in sections 2, 3, and 9.
478 Lists the environment variables used by the utility,
479 and explains the syntax and semantics of their values.
482 manual provides examples of typical content and formatting.
487 Documents files used.
488 It's helpful to document both the file name and a short description of how
489 the file is used (created, modified, etc.).
494 This section documents the
495 command exit status for section 1, 6, and 8 utilities.
496 Historically, this information was described in
498 a practise that is now discouraged.
504 This often contains snippets of well-formed, well-tested invocations.
505 Make sure that examples work properly!
507 Documents error conditions.
508 This is most useful in section 4 manuals.
509 Historically, this section was used in place of
511 for manuals in sections 1, 6, and 8; however, this practise is
518 Documents error handling in sections 2, 3, and 9.
523 References other manuals with related topics.
524 This section should exist for most manuals.
525 Cross-references should conventionally be ordered first by section, then
531 References any standards implemented or used.
532 If not adhering to any standards, the
534 section should be used instead.
539 A brief history of the subject, including where support first appeared.
541 Credits to the person or persons who wrote the code and/or documentation.
542 Authors should generally be noted by both name and email address.
547 Common misuses and misunderstandings should be explained
550 Known bugs, limitations, and work-arounds should be described
552 .It Em SECURITY CONSIDERATIONS
553 Documents any security precautions that operators should consider.
556 Macros are one to three three characters in length and begin with a
559 at the beginning of the line.
560 An arbitrary amount of whitespace may sit between the control character
562 Thus, the following are equivalent:
563 .Bd -literal -offset indent
568 The syntax of a macro depends on its classification.
571 refers to macro arguments, which may be followed by zero or more
575 opens the scope of a macro; and if specified,
581 column indicates that the macro may also be called by passing its name
582 as an argument to another macro.
583 If a macro is not callable but its name appears as an argument
584 to another macro, it is interpreted as opaque text.
592 column indicates whether the macro may call other macros by receiving
593 their names as arguments.
594 If a macro is not parsed but the name of another macro appears
595 as an argument, it is interpreted as opaque text.
599 column, if applicable, describes closure rules.
600 .Ss Block full-explicit
601 Multi-line scope closed by an explicit closing macro.
602 All macros contains bodies; only
605 .Bd -literal -offset indent
606 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
611 .Bl -column -compact -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXX"
612 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
613 .It Sx \&Bd Ta \&No Ta \&No Ta closed by Sx \&Ed
614 .It Sx \&Bf Ta \&No Ta \&No Ta closed by Sx \&Ef
615 .It Sx \&Bk Ta \&No Ta \&No Ta closed by Sx \&Ek
616 .It Sx \&Bl Ta \&No Ta \&No Ta closed by Sx \&El
617 .It Sx \&Ed Ta \&No Ta \&No Ta opened by Sx \&Bd
618 .It Sx \&Ef Ta \&No Ta \&No Ta opened by Sx \&Bf
619 .It Sx \&Ek Ta \&No Ta \&No Ta opened by Sx \&Bk
620 .It Sx \&El Ta \&No Ta \&No Ta opened by Sx \&Bl
622 .Ss Block full-implicit
623 Multi-line scope closed by end-of-file or implicitly by another macro.
624 All macros have bodies; some
632 don't have heads; only one
639 .Bd -literal -offset indent
640 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead... \(lBTa head...\(rB\(rB
644 .Bl -column -compact -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX"
645 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
646 .It Sx \&It Ta \&No Ta Yes Ta closed by Sx \&It , Sx \&El
647 .It Sx \&Nd Ta \&No Ta \&No Ta closed by Sx \&Sh
648 .It Sx \&Nm Ta \&No Ta Yes Ta closed by Sx \&Nm , Sx \&Sh , Sx \&Ss
649 .It Sx \&Sh Ta \&No Ta \&No Ta closed by Sx \&Sh
650 .It Sx \&Ss Ta \&No Ta \&No Ta closed by Sx \&Sh , Sx \&Ss
656 .Sx Block full-implicit
657 macro only when invoked as the first macro
660 section line, else it is
662 .Ss Block partial-explicit
663 Like block full-explicit, but also with single-line scope.
664 Each has at least a body and, in limited circumstances, a head
671 .Bd -literal -offset indent
672 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
674 \&.Yc \(lBtail...\(rB
676 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB \
677 \(lBbody...\(rB \&Yc \(lBtail...\(rB
680 .Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -compact -offset indent
681 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
682 .It Sx \&Ac Ta Yes Ta Yes Ta opened by Sx \&Ao
683 .It Sx \&Ao Ta Yes Ta Yes Ta closed by Sx \&Ac
684 .It Sx \&Bc Ta Yes Ta Yes Ta closed by Sx \&Bo
685 .It Sx \&Bo Ta Yes Ta Yes Ta opened by Sx \&Bc
686 .It Sx \&Brc Ta Yes Ta Yes Ta opened by Sx \&Bro
687 .It Sx \&Bro Ta Yes Ta Yes Ta closed by Sx \&Brc
688 .It Sx \&Dc Ta Yes Ta Yes Ta opened by Sx \&Do
689 .It Sx \&Do Ta Yes Ta Yes Ta closed by Sx \&Dc
690 .It Sx \&Ec Ta Yes Ta Yes Ta opened by Sx \&Eo
691 .It Sx \&Eo Ta Yes Ta Yes Ta closed by Sx \&Ec
692 .It Sx \&Fc Ta Yes Ta Yes Ta opened by Sx \&Fo
693 .It Sx \&Fo Ta \&No Ta \&No Ta closed by Sx \&Fc
694 .It Sx \&Oc Ta Yes Ta Yes Ta closed by Sx \&Oo
695 .It Sx \&Oo Ta Yes Ta Yes Ta opened by Sx \&Oc
696 .It Sx \&Pc Ta Yes Ta Yes Ta closed by Sx \&Po
697 .It Sx \&Po Ta Yes Ta Yes Ta opened by Sx \&Pc
698 .It Sx \&Qc Ta Yes Ta Yes Ta opened by Sx \&Oo
699 .It Sx \&Qo Ta Yes Ta Yes Ta closed by Sx \&Oc
700 .It Sx \&Re Ta \&No Ta \&No Ta opened by Sx \&Rs
701 .It Sx \&Rs Ta \&No Ta \&No Ta closed by Sx \&Re
702 .It Sx \&Sc Ta Yes Ta Yes Ta opened by Sx \&So
703 .It Sx \&So Ta Yes Ta Yes Ta closed by Sx \&Sc
704 .It Sx \&Xc Ta Yes Ta Yes Ta opened by Sx \&Xo
705 .It Sx \&Xo Ta Yes Ta Yes Ta closed by Sx \&Xc
707 .Ss Block partial-implicit
708 Like block full-implicit, but with single-line scope closed by
709 .Sx Reserved Characters
711 .Bd -literal -offset indent
712 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBbody...\(rB \(lBres...\(rB
715 .Bl -column "MacroX" "CallableX" "ParsedX" -compact -offset indent
716 .It Em Macro Ta Em Callable Ta Em Parsed
717 .It Sx \&Aq Ta Yes Ta Yes
718 .It Sx \&Bq Ta Yes Ta Yes
719 .It Sx \&Brq Ta Yes Ta Yes
720 .It Sx \&D1 Ta \&No Ta \&Yes
721 .It Sx \&Dl Ta \&No Ta Yes
722 .It Sx \&Dq Ta Yes Ta Yes
723 .It Sx \&Op Ta Yes Ta Yes
724 .It Sx \&Pq Ta Yes Ta Yes
725 .It Sx \&Ql Ta Yes Ta Yes
726 .It Sx \&Qq Ta Yes Ta Yes
727 .It Sx \&Sq Ta Yes Ta Yes
728 .It Sx \&Vt Ta Yes Ta Yes
734 .Sx Block partial-implicit
735 only when invoked as the first macro
738 section line, else it is
742 .Sx Reserved Characters ,
743 end of line, fixed argument lengths, and/or subsequent macros.
744 In-line macros have only text children.
745 If a number (or inequality) of arguments is
747 then the macro accepts an arbitrary number of arguments.
748 .Bd -literal -offset indent
749 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB \(lBres...\(rB
751 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB Yc...
753 \&.Yo \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN
756 .Bl -column "MacroX" "CallableX" "ParsedX" "Arguments" -compact -offset indent
757 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Arguments
758 .It Sx \&%A Ta \&No Ta \&No Ta >0
759 .It Sx \&%B Ta \&No Ta \&No Ta >0
760 .It Sx \&%C Ta \&No Ta \&No Ta >0
761 .It Sx \&%D Ta \&No Ta \&No Ta >0
762 .It Sx \&%I Ta \&No Ta \&No Ta >0
763 .It Sx \&%J Ta \&No Ta \&No Ta >0
764 .It Sx \&%N Ta \&No Ta \&No Ta >0
765 .It Sx \&%O Ta \&No Ta \&No Ta >0
766 .It Sx \&%P Ta \&No Ta \&No Ta >0
767 .It Sx \&%Q Ta \&No Ta \&No Ta >0
768 .It Sx \&%R Ta \&No Ta \&No Ta >0
769 .It Sx \&%T Ta \&No Ta \&No Ta >0
770 .It Sx \&%U Ta \&No Ta \&No Ta >0
771 .It Sx \&%V Ta \&No Ta \&No Ta >0
772 .It Sx \&Ad Ta Yes Ta Yes Ta >0
773 .It Sx \&An Ta Yes Ta Yes Ta >0
774 .It Sx \&Ap Ta Yes Ta Yes Ta 0
775 .It Sx \&Ar Ta Yes Ta Yes Ta n
776 .It Sx \&At Ta Yes Ta Yes Ta 1
777 .It Sx \&Bsx Ta Yes Ta Yes Ta n
778 .It Sx \&Bt Ta \&No Ta \&No Ta 0
779 .It Sx \&Bx Ta Yes Ta Yes Ta n
780 .It Sx \&Cd Ta Yes Ta Yes Ta >0
781 .It Sx \&Cm Ta Yes Ta Yes Ta >0
782 .It Sx \&Db Ta \&No Ta \&No Ta 1
783 .It Sx \&Dd Ta \&No Ta \&No Ta n
784 .It Sx \&Dt Ta \&No Ta \&No Ta n
785 .It Sx \&Dv Ta Yes Ta Yes Ta >0
786 .It Sx \&Dx Ta Yes Ta Yes Ta n
787 .It Sx \&Em Ta Yes Ta Yes Ta >0
788 .It Sx \&En Ta \&No Ta \&No Ta 0
789 .It Sx \&Er Ta Yes Ta Yes Ta >0
790 .It Sx \&Es Ta \&No Ta \&No Ta 0
791 .It Sx \&Ev Ta Yes Ta Yes Ta >0
792 .It Sx \&Ex Ta \&No Ta \&No Ta n
793 .It Sx \&Fa Ta Yes Ta Yes Ta >0
794 .It Sx \&Fd Ta \&No Ta \&No Ta >0
795 .It Sx \&Fl Ta Yes Ta Yes Ta n
796 .It Sx \&Fn Ta Yes Ta Yes Ta >0
797 .It Sx \&Fr Ta \&No Ta \&No Ta n
798 .It Sx \&Ft Ta Yes Ta Yes Ta >0
799 .It Sx \&Fx Ta Yes Ta Yes Ta n
800 .It Sx \&Hf Ta \&No Ta \&No Ta n
801 .It Sx \&Ic Ta Yes Ta Yes Ta >0
802 .It Sx \&In Ta \&No Ta \&No Ta n
803 .It Sx \&Lb Ta \&No Ta \&No Ta 1
804 .It Sx \&Li Ta Yes Ta Yes Ta >0
805 .It Sx \&Lk Ta Yes Ta Yes Ta >0
806 .It Sx \&Lp Ta \&No Ta \&No Ta 0
807 .It Sx \&Ms Ta Yes Ta Yes Ta >0
808 .It Sx \&Mt Ta Yes Ta Yes Ta >0
809 .It Sx \&Nm Ta Yes Ta Yes Ta n
810 .It Sx \&No Ta Yes Ta Yes Ta 0
811 .It Sx \&Ns Ta Yes Ta Yes Ta 0
812 .It Sx \&Nx Ta Yes Ta Yes Ta n
813 .It Sx \&Os Ta \&No Ta \&No Ta n
814 .It Sx \&Ot Ta \&No Ta \&No Ta n
815 .It Sx \&Ox Ta Yes Ta Yes Ta n
816 .It Sx \&Pa Ta Yes Ta Yes Ta n
817 .It Sx \&Pf Ta Yes Ta Yes Ta 1
818 .It Sx \&Pp Ta \&No Ta \&No Ta 0
819 .It Sx \&Rv Ta \&No Ta \&No Ta n
820 .It Sx \&Sm Ta \&No Ta \&No Ta 1
821 .It Sx \&St Ta \&No Ta Yes Ta 1
822 .It Sx \&Sx Ta Yes Ta Yes Ta >0
823 .It Sx \&Sy Ta Yes Ta Yes Ta >0
824 .It Sx \&Tn Ta Yes Ta Yes Ta >0
825 .It Sx \&Ud Ta \&No Ta \&No Ta 0
826 .It Sx \&Ux Ta Yes Ta Yes Ta n
827 .It Sx \&Va Ta Yes Ta Yes Ta n
828 .It Sx \&Vt Ta Yes Ta Yes Ta >0
829 .It Sx \&Xr Ta Yes Ta Yes Ta >0
830 .It Sx \&br Ta \&No Ta \&No Ta 0
831 .It Sx \&sp Ta \&No Ta \&No Ta 1
834 This section is a canonical reference of all macros, arranged
836 For the scoping of individual macros, see
842 Multiple authors should each be accorded their own
845 Author names should be ordered with full or abbreviated forename(s)
846 first, then full surname.
851 This macro may also be used in a non-bibliographic context when
852 referring to book titles.
854 Publication city or location of an
858 Publication date of an
861 Recommended formats of arguments are
866 Publisher or issuer name of an
874 Issue number (usually for journals) of an
878 Optional information of an
882 Book or journal page number of an
886 Institutional author (school, government, etc.) of an
889 Multiple institutional authors should each be accorded their own
893 Technical report name of an
900 This macro may also be used in a non-bibliographical context when
901 referring to article titles.
903 URI of reference document.
912 Does not have any tail arguments.
915 Do not use this for postal addresses.
922 Requires either the name of an author or one of the following arguments:
924 .Bl -tag -width "-nosplitX" -offset indent -compact
926 Start a new output line before each subsequent invocation of
935 The effect of selecting either of the
937 modes ends at the beginning of the
942 section, the default is
944 for the first author listing and
946 for all other author listings.
950 .Dl \&.An Kristaps Dzonsons \&Aq kristaps@bsd.lv
952 Begin a block enclosed by angle brackets.
953 Does not have any head arguments.
956 .Dl \&.Fl -key= \&Ns \&Ao \&Ar val \&Ac
961 Inserts an apostrophe without any surrounding whitespace.
962 This is generally used as a grammatical device when referring to the verb
966 .Dl \&.Fn execve \&Ap d
968 Encloses its arguments in angle brackets.
971 .Dl \&.Fl -key= \&Ns \&Aq \&Ar val
974 this macro is often abused for rendering URIs, which should instead use
978 or to note pre-processor
980 statements, which should use
987 If an argument is not provided, the string
989 is used as a default.
992 .Dl \&.Fl o \&Ns \&Ar file1
994 .Dl \&.Ar arg1 , arg2 .
996 Formats an AT&T version.
997 Accepts one optional argument:
999 .Bl -tag -width "v[1-7] | 32vX" -offset indent -compact
1008 Note that these arguments do not begin with a hyphen.
1027 Does not have any tail arguments.
1029 Begin a display block.
1030 Its syntax is as follows:
1031 .Bd -ragged -offset indent
1034 .Op Fl offset Ar width
1038 Display blocks are used to select a different indentation and
1039 justification than the one used by the surrounding text.
1040 They may contain both macro lines and free-form text lines.
1041 By default, a display block is preceded by a vertical space.
1045 must be one of the following:
1046 .Bl -tag -width 13n -offset indent
1048 Centre-justify each line.
1049 Using this display type is not recommended; many
1051 implementations render it poorly.
1053 Left- and right-justify the block.
1055 Do not justify the block at all.
1056 Preserve white space as it appears in the input.
1058 Only left-justify the block.
1066 must be provided first.
1067 Additional arguments may follow:
1068 .Bl -tag -width 13n -offset indent
1069 .It Fl offset Ar width
1070 Indent the display by the
1072 which may be one of the following:
1075 One of the pre-defined strings
1077 the width of standard indentation;
1082 which has no effect;
1084 which justifies to the right margin; or
1086 which aligns around an imagined centre axis.
1088 A macro invocation, which selects a predefined width
1089 associated with that macro.
1090 The most popular is the imaginary macro
1095 A width using the syntax described in
1096 .Sx Scaling Widths .
1098 An arbitrary string, which indents by the length of this string.
1101 When the argument is missing,
1105 Do not assert vertical space before the display.
1109 .Bd -literal -offset indent
1110 \&.Bd \-literal \-offset indent \-compact
1120 Change the font mode for a scoped block of text.
1121 Its syntax is as follows:
1122 .Bd -ragged -offset indent
1125 .Fl emphasis | literal | symbolic |
1126 .Cm \&Em | \&Li | \&Sy
1134 argument are equivalent, as are
1142 Without an argument, this macro does nothing.
1143 The font mode continues until broken by a new font mode in a nested
1155 Keep the output generated from each macro input line together
1156 on one single output line.
1157 Line breaks in free-form text lines are unaffected.
1158 The syntax is as follows:
1160 .D1 Pf \. Sx \&Bk Fl words
1164 argument is required; additional arguments are ignored.
1166 The following example will not break within each
1169 .Bd -literal -offset indent
1172 \&.Op Fl o Ar output
1176 Be careful in using over-long lines within a keep block!
1177 Doing so will clobber the right margin.
1180 Lists consist of items specified using the
1182 macro, containing a head or a body or both.
1183 The list syntax is as follows:
1184 .Bd -ragged -offset indent
1188 .Op Fl offset Ar val
1195 is mandatory and must be specified first.
1202 or use the length of the given string.
1205 is a global indentation for the whole list, affecting both item heads
1207 For those list types supporting it, the
1209 argument requests an additional indentation of item bodies,
1214 argument is specified, list entries are separated by vertical space.
1216 A list must specify one of the following list types:
1217 .Bl -tag -width 12n -offset indent
1219 No item heads can be specified, but a bullet will be printed at the head
1221 Item bodies start on the same output line as the bullet
1222 and are indented according to the
1229 argument has no effect; instead, each argument specifies the width
1230 of one column, using either the
1232 syntax or the string length of the argument.
1233 If the first line of the body of a
1239 contexts spanning one input line each are implied until an
1241 macro line is encountered, at which point items start being interpreted as
1248 except that dashes are used in place of bullets.
1252 except that item heads are not parsed for macro invocations.
1253 .\" but with additional formatting to the head.
1258 except that cardinal numbers are used in place of bullets,
1263 except that the first lines of item bodies are not indented, but follow
1264 the item heads like in
1271 Item bodies follow items heads on the same line, using normal inter-word
1273 Bodies are not indented, and the
1275 argument is ignored.
1277 No item heads can be specified, and none are printed.
1278 Bodies are not indented, and the
1280 argument is ignored.
1282 Item bodies start on the line following item heads and are not indented.
1285 argument is ignored.
1287 Item bodies are indented according to the
1290 When an item head fits inside the indentation, the item body follows
1291 this head on the same output line.
1292 Otherwise, the body starts on the output line following the head.
1300 Begin a block enclosed by square brackets.
1301 Does not have any head arguments.
1304 .Bd -literal -offset indent -compact
1312 Encloses its arguments in square brackets.
1315 .Dl \&.Bq 1 , \&Dv BUFSIZ
1318 this macro is sometimes abused to emulate optional arguments for
1319 commands; the correct macros to use for this purpose are
1331 Does not have any tail arguments.
1333 Begin a block enclosed by curly braces.
1334 Does not have any head arguments.
1337 .Bd -literal -offset indent -compact
1345 Encloses its arguments in curly braces.
1348 .Dl \&.Brq 1 , ... , \&Va n
1353 Format the BSD/OS version provided as an argument, or a default value if
1354 no argument is provided.
1371 .Dq is currently in beta test .
1373 Format the BSD version provided as an argument, or a default value if no
1374 argument is provided.
1390 Kernel configuration declaration.
1391 This denotes strings accepted by
1395 .Dl \&.Cd device le0 at scode?
1398 this macro is commonly abused by using quoted literals to retain
1399 whitespace and align consecutive
1402 This practise is discouraged.
1405 Useful when specifying configuration options or keys.
1408 .Dl \&.Cm ControlPath
1409 .Dl \&.Cm ControlMaster
1414 One-line indented display.
1415 This is formatted by the default rules and is useful for simple indented
1417 It is followed by a newline.
1420 .Dl \&.D1 \&Fl abcdefgh
1427 Switch debugging mode.
1428 Its syntax is as follows:
1430 .D1 Pf \. Sx \&Db Cm on | off
1432 This macro is ignored by
1438 Does not have any tail arguments.
1441 This is the mandatory first macro of any
1444 Its syntax is as follows:
1446 .D1 Pf \. Sx \&Dd Ar month day , year
1450 is the full English month name, the
1452 is an optionally zero-padded numeral, and the
1454 is the full four-digit year.
1456 Other arguments are not portable; the
1458 utility handles them as follows:
1459 .Bl -dash -offset 3n -compact
1461 To have the date automatically filled in by the
1467 can be given as an argument.
1469 A few alternative date formats are accepted as well
1470 and converted to the standard form.
1472 If a date string cannot be parsed, it is used verbatim.
1474 If no date string is given, the current date is used.
1478 .Dl \&.Dd $\&Mdocdate$
1479 .Dl \&.Dd $\&Mdocdate: July 21 2007$
1480 .Dl \&.Dd July 21, 2007
1487 One-line intended display.
1488 This is formatted as literal text and is useful for commands and
1490 It is followed by a newline.
1493 .Dl \&.Dl % mandoc mdoc.7 \e(ba less
1500 Begin a block enclosed by double quotes.
1501 Does not have any head arguments.
1504 .Bd -literal -offset indent -compact
1506 April is the cruellest month
1514 Encloses its arguments in
1519 .Bd -literal -offset indent -compact
1520 \&.Dq April is the cruellest month
1531 This is the mandatory second macro of any
1534 Its syntax is as follows:
1535 .Bd -ragged -offset indent
1541 .Op Ar volume | arch
1546 Its arguments are as follows:
1547 .Bl -tag -width Ds -offset Ds
1549 The document's title (name), defaulting to
1552 It should be capitalised.
1563 .Pq Perl libraries ,
1573 .Pq system utilities ,
1575 .Pq kernel functions ,
1577 .Pq X Window System ,
1579 .Pq X Window System ,
1589 It should correspond to the manual's filename suffix and defaults to
1593 This overrides the volume inferred from
1595 This field is optional, and if specified, must be one of
1597 .Pq users' supplementary documents ,
1599 .Pq programmers' supplementary documents ,
1601 .Pq administrators' supplementary documents ,
1603 .Pq system managers' manuals ,
1605 .Pq users' reference manuals ,
1607 .Pq programmers' reference manuals ,
1609 .Pq kernel manuals ,
1620 .Pq contributed manuals .
1622 This specifies a specific relevant architecture.
1625 is not provided, it may be used in its place, else it may be used
1627 It, too, is optional.
1663 .Dl \&.Dt FOO 9 i386
1670 Defined variables such as preprocessor constants.
1674 .Dl \&.Dv STDOUT_FILENO
1679 Format the DragonFly BSD version provided as an argument, or a default
1680 value if no argument is provided.
1696 Close a scope started by
1698 Its syntax is as follows:
1700 .D1 Pf \. Sx \&Ec Op Ar TERM
1704 argument is used as the enclosure tail, for example, specifying \e(rq
1708 End a display context started by
1711 End a font mode context started by
1714 End a keep context started by
1717 End a list context started by
1725 Denotes text that should be emphasised.
1726 Note that this is a presentation term and should not be used for
1727 stylistically decorating technical terms.
1739 This macro is obsolete and not implemented in
1742 An arbitrary enclosure.
1743 Its syntax is as follows:
1745 .D1 Pf \. Sx \&Eo Op Ar TERM
1749 argument is used as the enclosure head, for example, specifying \e(lq
1753 Display error constants.
1762 This macro is obsolete and not implemented.
1764 Environmental variables such as those specified in
1771 Insert a standard sentence regarding exit values.
1772 Its syntax is as follows:
1774 .D1 Pf \. Sx \&Ex Fl std Op Ar utility
1778 is not specified, the document's name set by
1786 Its syntax is as follows:
1787 .Bd -ragged -offset indent
1793 This may be invoked for names with or without the corresponding type.
1794 It is also used to specify the field name of a structure.
1797 macro is used in the
1801 section when documenting multi-line function prototypes.
1802 If invoked with multiple arguments, the arguments are separated by a
1804 Furthermore, if the following macro is another
1806 the last argument will also have a trailing comma.
1809 .Dl \&.Fa \(dqconst char *p\(dq
1810 .Dl \&.Fa \(dqint a\(dq \(dqint b\(dq \(dqint c\(dq
1816 End a function context started by
1819 Historically used to document include files.
1820 This usage has been deprecated in favour of
1822 Do not use this macro.
1825 .Sx MANUAL STRUCTURE
1830 Used when listing arguments to command-line utilities.
1831 Prints a fixed-width hyphen
1833 directly followed by each argument.
1834 If no arguments are provided, a hyphen is printed followed by a space.
1835 If the argument is a macro, a hyphen is prefixed to the subsequent macro
1842 .Dl \&.Op \&Fl o \&Ns \&Ar file
1848 Its syntax is as follows:
1849 .Bd -ragged -offset indent
1853 .Op Oo Cm argtype Oc Cm argname
1856 Function arguments are surrounded in parenthesis and
1857 are delimited by commas.
1858 If no arguments are specified, blank parenthesis are output.
1861 .Dl \&.Fn "int funcname" "int arg0" "int arg1"
1862 .Dl \&.Fn funcname "int arg0"
1863 .Dl \&.Fn funcname arg0
1864 .Bd -literal -offset indent -compact
1869 When referring to a function documented in another manual page, use
1873 .Sx MANUAL STRUCTURE
1877 Begin a function block.
1878 This is a multi-line version of
1880 Its syntax is as follows:
1882 .D1 Pf \. Sx \&Fo Cm funcname
1884 Invocations usually occur in the following context:
1885 .Bd -ragged -offset indent
1886 .Pf \. Sx \&Ft Cm functype
1888 .Pf \. Sx \&Fo Cm funcname
1890 .Pf \. Sx \&Fa Oo Cm argtype Oc Cm argname
1902 .Sx MANUAL STRUCTURE ,
1909 Its syntax is as follows:
1911 .D1 Pf \. Sx \&Ft Cm functype
1915 .Bd -literal -offset indent -compact
1921 .Sx MANUAL STRUCTURE ,
1928 version provided as an argument, or a default value
1929 if no argument is provided.
1945 This macro is obsolete and not implemented.
1947 Designate an internal or interactive command.
1950 but used for instructions rather than values.
1960 is preferred for displaying code; the
1962 macro is used when referring to specific instructions.
1969 section (only if invoked as the line macro), the first argument is
1972 the arguments is enclosed in angle brackets.
1978 .Sx MANUAL STRUCTURE .
1981 The syntax of this macro depends on the list type.
1990 have the following syntax:
1992 .D1 Pf \. Sx \&It Cm args
2001 have the following syntax:
2005 with subsequent lines interpreted within the scope of the
2007 until either a closing
2014 list has the following syntax:
2016 .D1 Pf \. Sx \&It Op Cm args
2018 Subsequent lines are interpreted as with
2021 The line arguments correspond to the list's left-hand side; body
2022 arguments correspond to the list's contents.
2026 list is the most complicated.
2027 Its syntax is as follows:
2029 .D1 Pf \. Sx \&It Op Cm args
2033 are phrases, a mix of macros and text corresponding to a line column,
2034 delimited by tabs or the special
2037 Lines subsequent the
2039 are interpreted within the scope of the last phrase.
2040 Calling the pseudo-macro
2042 will open a new phrase scope (this must occur on a macro line to be
2043 interpreted as a macro).
2044 Note that the tab phrase delimiter may only be used within the
2047 Subsequent this, only the
2049 pseudo-macro may be used to delimit phrases.
2050 Furthermore, note that quoted sections propagate over tab-delimited
2055 .Dl .It \(dqcol1 ; <TAB> col2 ;\(dq \&;
2057 will preserve the semicolon whitespace except for the last.
2063 The syntax is as follows:
2065 .D1 Pf \. Sx \&Lb Cm library
2069 parameter may be a system library, such as
2073 in which case a small library description is printed next to the linker
2074 invocation; or a custom library, in which case the library name is
2076 This is most commonly used in the
2078 section as described in
2079 .Sx MANUAL STRUCTURE .
2085 Denotes text that should be in a literal font mode.
2086 Note that this is a presentation term and should not be used for
2087 stylistically decorating technical terms.
2096 Its syntax is as follows:
2098 .D1 Pf \. Sx \&Lk Cm uri Op Cm name
2101 .Dl \&.Lk http://bsd.lv \*qThe BSD.lv Project\*q
2102 .Dl \&.Lk http://bsd.lv
2110 Display a mathematical symbol.
2111 Its syntax is as follows:
2113 .D1 Pf \. Sx \&Ms Cm symbol
2122 Its syntax is as follows:
2124 .D1 Pf \. Sx \&Mt Cm address
2127 .Dl \&.Mt discuss@manpages.bsd.lv
2129 A one line description of the manual's content.
2130 This may only be invoked in the
2132 section subsequent the
2137 .Dl \&.Sx \&Nd mdoc language reference
2138 .Dl \&.Sx \&Nd format and display UNIX manuals
2142 macro technically accepts child macros and terminates with a subsequent
2145 Do not assume this behaviour: some
2147 database generators are not smart enough to parse more than the line
2148 arguments and will display macros verbatim.
2153 The name of the manual page, or \(em in particular in section 1, 6,
2154 and 8 pages \(em of an additional command or feature documented in
2156 When first invoked, the
2158 macro expects a single argument, the name of the manual page.
2159 Usually, the first invocation happens in the
2161 section of the page.
2162 The specified name will be remembered and used whenever the macro is
2163 called again without arguments later in the page.
2167 .Sx Block full-implicit
2168 semantics when invoked as the first macro on an input line in the
2170 section; otherwise, it uses ordinary
2175 .Bd -literal -offset indent
2184 of section 2, 3 and 9 manual pages, use the
2188 to mark up the name of the manual page.
2192 macro used to terminate prior macro contexts.
2195 .Dl \&.Sx \&Fl ab \&No cd \&Fl ef
2198 Following invocation, text is interpreted as free-form text until a
2199 macro is encountered.
2201 This has no effect when invoked at the start of a macro line.
2204 .Dl \&.Fl o \&Ns \&Ar output
2213 version provided as an argument, or a default value if
2214 no argument is provided.
2234 Multi-line version of
2238 .Bd -literal -offset indent -compact
2240 \&.Op Fl flag Ns Ar value
2244 Command-line option.
2245 Used when listing options to command-line utilities.
2246 Prints the argument(s) in brackets.
2249 .Dl \&.Op \&Fl a \&Ar b
2250 .Dl \&.Op \&Ar a | b
2255 Document operating system version.
2256 This is the mandatory third macro of
2260 Its syntax is as follows:
2262 .D1 Pf \. Sx \&Os Op Cm system Op Cm version
2266 parameter specifies the relevant operating system or environment.
2267 Left unspecified, it defaults to the local operating system version.
2268 This is the suggested form.
2272 .Dl \&.Os KTH/CSC/TCS
2283 this macro has been deprecated.
2287 version provided as an argument, or a default value
2288 if no argument is provided.
2305 If an argument is not provided, the string
2307 is used as a default.
2310 .Dl \&.Pa /usr/bin/mandoc
2311 .Dl \&.Pa /usr/share/man/man7/mdoc.7
2316 Close parenthesised context opened by
2321 between its arguments.
2322 Its syntax is as follows:
2324 .D1 Pf \. \&Pf Cm prefix suffix
2328 argument may be a macro.
2331 .Dl \&.Pf \e. \&Sx \&Pf \&Cm prefix suffix
2333 Multi-line version of
2337 This will assert vertical space between prior and subsequent macros
2340 Parenthesised enclosure.
2345 Close quoted context opened by
2348 Format a single-quoted literal.
2354 Multi-line version of
2357 Encloses its arguments in
2372 Does not have any tail arguments.
2374 Begin a bibliographic
2377 Does not have any head arguments.
2378 The block macro may only contain
2394 child macros (at least one must be specified).
2397 .Bd -literal -offset indent -compact
2399 \&.%A J. E. Hopcroft
2401 \&.%B Introduction to Automata Theory, Languages, and Computation
2402 \&.%I Addison-Wesley
2403 \&.%C Reading, Massachusettes
2410 block is used within a SEE ALSO section, a vertical space is asserted
2411 before the rendered output, else the block continues on the current
2414 Inserts text regarding a function call's return value.
2415 This macro must consist of the
2417 argument followed by an optional
2421 is not provided, the document's name as stipulated by the first
2428 Close single-quoted context opened by
2431 Begin a new section.
2432 For a list of conventional manual sections, see
2433 .Sx MANUAL STRUCTURE .
2434 These sections should be used unless it's absolutely necessary that
2435 custom sections be used.
2437 Section names should be unique so that they may be keyed by
2446 Switches the spacing mode for output generated from macros.
2447 Its syntax is as follows:
2449 .D1 Pf \. Sx \&Sm Cm on | off
2451 By default, spacing is
2455 no white space is inserted between macro arguments and between the
2456 output generated from adjacent macros, but free-form text lines
2457 still get normal spacing between words and sentences.
2459 Multi-line version of
2462 Encloses its arguments in
2472 Begin a new sub-section.
2475 there's no convention for sub-sections.
2476 Conventional sections, as described in
2477 .Sx MANUAL STRUCTURE ,
2478 rarely have sub-sections.
2480 Sub-section names should be unique so that they may be keyed by
2489 Replace an abbreviation for a standard with the full form.
2490 The following standards are recognised:
2492 .Bl -tag -width "-p1003.1g-2000X" -compact
2586 Reference a section or sub-section.
2587 The referenced section or sub-section name must be identical to the
2588 enclosed argument, including whitespace.
2591 .Dl \&.Sx MANUAL STRUCTURE
2598 Format enclosed arguments in symbolic
2600 Note that this is a presentation term and should not be used for
2601 stylistically decorating technical terms.
2615 .Dq currently under development .
2617 Format the UNIX name.
2618 Accepts no argument.
2637 .Dl \&.Va const char *bar ;
2640 This is also used for indicating global variables in the
2642 section, in which case a variable name is also specified.
2643 Note that it accepts
2644 .Sx Block partial-implicit
2645 syntax when invoked as the first macro in the
2647 section, else it accepts ordinary
2651 Note that this should not be confused with
2653 which is used for function return types.
2656 .Dl \&.Vt unsigned char
2657 .Dl \&.Vt extern const char * const sys_signame[] \&;
2660 .Sx MANUAL STRUCTURE
2664 Close a scope opened by
2667 Extend the header of an
2669 macro or the body of a partial-implicit block macro
2670 beyond the end of the input line.
2671 This macro originally existed to work around the 9-argument limit
2675 Link to another manual
2676 .Pq Qq cross-reference .
2677 Its syntax is as follows:
2679 .D1 Pf \. Sx \&Xr Cm name section
2685 are the name and section of the linked manual.
2688 is followed by non-punctuation, an
2690 is inserted into the token stream.
2691 This behaviour is for compatibility with
2696 .Dl \&.Xr mandoc 1 \&;
2697 .Dl \&.Xr mandoc 1 \&Ns s behaviour
2700 This macro should not be used; it is implemented for compatibility with
2705 in the event of natural paragraph breaks.
2707 Emits vertical space.
2708 This macro should not be used; it is implemented for compatibility with
2710 Its syntax is as follows:
2712 .D1 Pf \. Sx \&sp Op Cm height
2716 argument must be formatted as described in
2717 .Sx Scaling Widths .
2720 asserts a single vertical space.
2722 This section documents compatibility between mandoc and other other
2723 troff implementations, at this time limited to GNU troff
2727 refers to groff versions before 1.17,
2728 which featured a significant update of the
2732 Heirloom troff, the other significant troff implementation accepting
2733 \-mdoc, is similar to historic groff.
2735 The following problematic behaviour is found in groff:
2736 .ds hist (Historic groff only.)
2751 with unknown arguments produces no output at all.
2753 Newer groff and mandoc print
2758 does not recognize trailing punctuation characters when they immediately
2759 precede tabulator characters, but treats them as normal text and
2760 outputs a space before them.
2762 .Sx \&Bd Fl ragged compact
2763 does not start a new line.
2767 with non-standard arguments behaves very strangely.
2768 When there are three arguments, they are printed verbatim.
2769 Any other number of arguments is replaced by the current date,
2770 but without any arguments the string
2775 does not print a dash for an empty argument.
2779 does not start a new line unless invoked as the line macro in the
2787 children causes inconsistent spacing between arguments.
2788 In mandoc, a single space is always inserted between arguments.
2793 causes inconsistent vertical spacing, depending on whether a prior
2800 for the normalised behaviour in mandoc.
2803 ignores additional arguments and is not treated specially in the
2808 sometimes requires a
2812 In new groff and mandoc, any list may be nested by default and
2814 lists will restart the sequence only for the sub-list.
2817 followed by a reserved character is incorrectly used in some manuals
2818 instead of properly quoting that character, which sometimes works with
2822 only accepts a single link-name argument; the remainder is misformatted.
2825 does not format its arguments when used in the FILES section under
2829 can only be called by other macros, but not at the beginning of a line.
2834 Historic groff only allows up to eight or nine arguments per macro input
2835 line, depending on the exact situation.
2836 Providing more arguments causes garbled output.
2837 The number of arguments on one input line is not limited with mandoc.
2839 Historic groff has many un-callable macros.
2840 Most of these (excluding some block-level macros) are callable
2841 in new groff and mandoc.
2844 (vertical bar) is not fully supported as a delimiter.
2851 .Pq font family face
2853 escapes behave irregularly when specified within line-macro scopes.
2855 Negative scaling units return to prior lines.
2856 Instead, mandoc truncates them to zero.
2859 The following features are unimplemented in mandoc:
2867 .Fl offset Ar center
2869 .Fl offset Ar right .
2870 Groff does not implement centered and flush-right rendering either,
2871 but produces large indentations.
2875 .Pq horizontal position ,
2877 .Pq vertical position ,
2881 .Pq text filling colour ,
2883 .Pq zero-length character ,
2887 .Pq horizontal position marker ,
2889 .Pq text overstrike ,
2893 escape sequences are all discarded in mandoc.
2897 scaling unit is accepted by mandoc, but rendered as the default unit.
2899 In quoted literals, groff allows pairwise double-quotes to produce a
2900 standalone double-quote in formatted output.
2901 This is not supported by mandoc.
2914 language first appeared as a troff macro package in
2916 It was later significantly updated by Werner Lemberg and Ruslan Ermilov
2918 The standalone implementation that is part of the
2920 utility written by Kristaps Dzonsons appeared in
2925 reference was written by
2926 .An Kristaps Dzonsons Aq kristaps@bsd.lv .