\def\rfc{\gdef\@pubtype{RFC}
         \gdef\@pubhdr{Request for Comments:}
         \gdef\@pubgroup{Network Working Group}}
\def\i-d{\gdef\@pubtype{INTERNET-DRAFT}
         \gdef\@pubhdr{INTERNET-DRAFT}
         \gdef\@pubgroup{Internet Engineering Task Force}}

\def\@rfcnum{}
\def\rfcnum#1{\gdef\@rfcnum{#1}}

\def\pubdate#1{\gdef\@pubdate{#1}}

\def\address#1{\gdef\@address{#1}}

\def\maketitle{\par
 \begingroup
 \newpage \global\@topnum\z@
 \@maketitle 
 \@makeheadings
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
}
\def\@maketitle{\newpage
 \null
 \begin{tabular*}{\textwidth}
       {@{\extracolsep{0pt}} l @{\extracolsep{\fill}} r @{\extracolsep{0pt}}}
   \@pubgroup                     & \@author \\
   \@pubhdr\ \@rfcnum              & \@address \\
                                  & \@pubdate
 \end{tabular*}
 \begin{center}
  \large\bf\@title
 \end{center}
\def\@makeheadings{
 \null
 % Generate RFC page headings
 \gdef\@oddhead {\rm \@pubtype\ \@rfcnum \hfil \@title \hfil \@pubdate}
 \gdef\@evenhead{\rm \@pubtype\ \@rfcnum \hfil \@title \hfil \@pubdate}
 \gdef\@oddfoot {\rm \@author\hfil [Page \thepage ]}
 \gdef\@evenfoot{\rm \@author\hfil [Page \thepage ]}
 }
}

\evensidemargin 0in
\oddsidemargin  0in
\topmargin      0pt
\textwidth      6in
\textheight     8.5in

\parindent      0in
\parskip        12pt

\thispagestyle{empty}
