.\" -*-nroff-*- . .\"----- Page layout -------------------------------------------------------- . .pl 10.0i .ie t \{\ . po 1i . pl 11i . if \n(.g \{\ . fam P . \} . ps 10 . vs 12 .\} .el \{\ . po 0 . ll 7.2i . lt 7.2i . nr LT 7.2i . nr LL 7.2i . ad l .\} .ds LF Author .ie t .ds RF Page % .el .ds RF FORMFEED[Page %] .ds CF .ds LH RFC XXXX .ds RH Date .ds CH Title .hy 0 . .\"----- Font handling ------------------------------------------------------ . .\" .Ff font nfont [stuff more-stuff] .\" Without stuff, changes to font. With stuff, prints stuff in font .\" and more-stuff in the current font, with no intervening space. .ie t \{\ . de Ff . ie '\\$3'' \f\\$1\c . el \&\f\\$1\\$3\fP\\$4 .. .\} .el \{\ . de Ff . ie '\\$3'' \f\\$2\c . el \&\f\\$2\\$3\fP\\$4 .. .\} . .\" .R|.B|.I|... [stuff more-stuff] .\" Change to appropriate font, or print stuff in chosen font followed .\" by more-stuff in current font, with no intervening space. .de R .Ff R R "\\$1" "\\$2" .. .de B .Ff B B "\\$1" "\\$2" .. .de I .Ff I I "\\$1" "\\$2" .. .de PF .Ff P P "\\$1" "\\$2" .. .de C .Ff (CR R "\\$1" "\\$2" .. .de CB .Ff (CB B "\\$1" "\\$2" .. .de CI .Ff (CI I "\\$1" "\\$2" .. .de H .Ff (HR R "\\$1" "\\$2" .. .de HB .Ff (HB B "\\$1" "\\$2" .. .de HI .Ff (HI I "\\$1" "\\$2" .. . .\"----- Paragraphs --------------------------------------------------------- . .ie t \{\ . de P . sp .67 .. .\} .el \{\ . de P . sp 1 .. .\} . .\"----- Titling ------------------------------------------------------------ . .\" .TL left right .\" Typesets one of the RFC header lines. .de TL .B .tl '\\$1''\\$2' .PF .. . .\" .TT number author title .\" Sets the main title, and fiddles the running headers and footers. .ds RN xxxx .de TT .ds LH RFC \\$1 .ds LF \\$2 .ds RH \\$3 .ds CH \\$4 .HB .ps 18 .ce \&\\$4 .ps .PF .fi .in +3m .. . .\" .TI level title [number] .\" Sets a title without a number. .nr S0 14 .nr S1 12 .nr S2 10 .nr S3 10 .de TI .if t .sp 1 .ne 4 .ti -3m .nr _i 3m .ps \\n(S\\$1 .HB .if !'\\$3'' \{\ . ie t \&\\$3.\h'\\n(_iu-\w'\\$3.'u'\c . el \&\\$3.\ \ \c .\} \&\\$2 .PF .ps .br .. . .\" .Tn title .\" Sets a level-n title (n = 0, 1, 2, 3). Does automatic numbering. .nr T0 0 1 .de T0 .nr T1 0 1 .TI 0 "\\$1" "\\n+(T0" .. .de T1 .nr T2 0 1 .TI 1 "\\$1" "\\n(T0.\\n+(T1" .. .de T2 .nr T3 0 1 .TI 2 "\\$1" "\\n(T0.\\n(T1.\\n+(T2" .. .de T3 .TI 3 "\\$1" "\\n(T0.\\n(T1.\\n(T2.\\n+(T3" .. . .\" .AP .\" Starts the appendix. .de AP .nr T0 0 1 .af T0 A .. . .\"----- Bibliography ------------------------------------------------------- . .\" .BS thing .\" Starts a bibliography section. The thing is the widest bibliography .\" key. .de BS .nr bw \\w'[\\$1]\h'1m'' .in +\\n(bwu .. . .\" .BR ref .\" Puts in the header for a bibliography item. .de BR .ne 2 .P .ti -\\n(bwu [\\$1]\h'\\n(bwu-\\w'[\\$1]'u'\c .. . .\" .BE .\" Ends a bibliography section. .de BE .in -4 .. . .\"----- Lists of things ---------------------------------------------------- . .\" .LS [indent] .\" Starts a list .nr ld 0 .de LS .ie '\\$1'' .ds _i 4n .el .ds _i \\$1 .in +\\*(_i .rn L L\\n(ld .rn LE E\\n(ld .de LE .in -\\*(_i .rn L\\n(ld L .rn E\\n(ld LE .nr ld \\n(ld \\.. .nr ld +1 .. . .\" .LE .\" Ends a list .de LE .ab unexpected .LE (at line \\n(.c) .. . .\" .UL .\" Starts an unordered list .nr ul 0 .de do .ie t .ds b\\$1 \\$2 .el .ds b\\$1 \fB\\$3\fP .. .do 0 \(bu o .do 1 \(em \- .do 2 \(sq [] .do 3 \(ci * .de UL .LS .ds L \\*(b\\n(ul .nr ul +1 .am E .nr ul -1 \\.. .. . .\" .OL .\" Starts an ordered (numbered) list .nr ol 0 .de do .ds l\\$1 \\$2 .ds m\\$1 \\$3 .ds r\\$1 \\$4 .. .do 0 "" 1 . .do 1 ( a ) .do 2 ( i ) .do 3 "" A . . .de OL .LS .nr i\\n(ol 0 1 .af i\\n(ol \\*(m\\n(ol .ds L \\*(l\\n(ol\\\\n+(i\\n(ol\\*(r\\n(ol .nr ol +1 .am E .nr ol -1 \\.. .. . .\" .DL .\" Starts a definition list .de DL .LS 1i .. . .\" .DI name .\" Starts a definition item for `name' .de DI .P .B \h'-1i'\\$1\c .ie \w'\\$1\h'2n''u<1i \h'1i-\w'\\$1'u'\c .el .br .PF .. . .\" .LI [tag] .\" Starts a new list item .de LI .P .ie '\\$1'' .ds LL \\*L .el .ds LL \\$1 \h'-\w'\\*(LL\h'1n''u'\\*(LL\h'1n'\c .. . .\" --- Displays --- . .\" .QS .\" Starts a display. .de QS .P .in +4n .ll -4n .. . .\" .QE .\" Ends a display .de QE .in -4n .ll +4n .. . .\" .VS .\" Starts a listing kinda thing. .de VS .QS .nf .fam C .. . .\" .VE .\" Ends a listing kinda thing. .de VE .fam P .fi .QE .. . .\" --- Mathematical things --- . .\" Superscript and subscript (not very good). .ie t \{\ . ds ^( \s8\v'-.5m' . ds ^) \v'.5m'\s0 . ds _( \s8\v'.2m' . ds _) \v'-.2m'\s0 .\} .el \{\ . ds ^( ^ . ds ^) . ds _( _ . ds _) .\} . .de K \&\\$2\c .I K \c .R \*(_(\\$1\*(_)\c \&\\$3 .. .de K' \&\\$2\c .I K \c .R \z'\*(_(\\$1\*(_)\c \&\\$3 .. . .\"------ That's all, folks -------------------------------------------------