mdoc version three
[unix-history] / usr / src / share / man / man5 / protocols.5
index 22f31f7..0017b67 100644 (file)
@@ -1,42 +1,51 @@
-.\" Copyright (c) 1983 The Regents of the University of California.
+.\" Copyright (c) 1983, 1991 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" All rights reserved.
 .\"
-.\" %sccs.include.redist.man%
+.\" %sccs.include.redist.roff%
 .\"
 .\"
-.\"    @(#)protocols.5 6.4 (Berkeley) %G%
+.\"     @(#)protocols.5        6.5 (Berkeley) %G%
 .\"
 .\"
-.TH PROTOCOLS 5  ""
-.UC 5
-.SH NAME
-protocols \- protocol name data base
-.SH DESCRIPTION
+.Dd 
+.Dt PROTOCOLS 5
+.Os BSD 4.2
+.Sh NAME
+.Nm protocols
+.Nd protocol name data base
+.Sh DESCRIPTION
 The
 The
-.I protocols
-file contains information regarding the known protocols used in the DARPA
+.Nm protocols
+file contains information regarding the known protocols used in the
+.Tn DARPA
 Internet.  For each protocol a single line should be present
 with the following information:
 Internet.  For each protocol a single line should be present
 with the following information:
-.HP 10
+.Bd -unfilled -offset indent
 official protocol name
 official protocol name
-.br
-.ns
-.HP 10
 protocol number
 protocol number
-.br
-.ns
-.HP 10
 aliases
 aliases
-.PP
+.Ed
+.Pp
 Items are separated by any number of blanks and/or
 tab characters.  A ``#'' indicates the beginning of
 a comment; characters up to the end of the line are
 not interpreted by routines which search the file.
 Items are separated by any number of blanks and/or
 tab characters.  A ``#'' indicates the beginning of
 a comment; characters up to the end of the line are
 not interpreted by routines which search the file.
-.PP
+.Pp
 Protocol names may contain any printable
 character other than a field delimiter, newline,
 or comment character.
 Protocol names may contain any printable
 character other than a field delimiter, newline,
 or comment character.
-.SH FILES
-/etc/protocols
-.SH "SEE ALSO"
-getprotoent(3N)
-.SH BUGS
+.Sh FILES
+.Bl -tag -width /etc/protocols -compact
+.It Pa /etc/protocols
+The
+.Nm protocols
+file resides in
+.Pa /etc .
+.El
+.Sh SEE ALSO
+.Xr getprotoent 3
+.Sh BUGS
 A name server should be used instead of a static file.
 A name server should be used instead of a static file.
+.Sh HISTORY
+The
+.Nm
+file format appeared in
+.Bx 4.2 .