\def\pubdate#1{\gdef\@pubdate{#1}}
\def\address#1{\gdef\@address{#1}}
\def\expires#1{\gdef\@expires{#1}}
\def\status#1{\gdef\@status{#1}}
\def\copyright#1{\gdef\@copyright{#1}}
\def\filename#1{\gdef\@filename{#1.ps}}
\def\wg#1{\gdef\@wg{#1}}
% this should really be an [] option to title
\def\shorttitle#1{\gdef\@shorttitle{#1}}
\gdef\@wg{}

% default status
\gdef\@status{\subsection*{Status of this Memo}
%\vspace{-12pt}
This document is an Internet-Draft and is in full conformance with all
provisions of Section 10 of RFC2026.

Internet-Drafts are working documents of the Internet Engineering Task
Force (IETF), its areas, and its working groups.  Note that other groups
may also distribute working documents as Internet-Drafts.

Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time.  It is inappropriate to use Internet-Drafts as reference material
or to cite them other than as ``work in progress.''

The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt

To view the list Internet-Draft Shadow Directories, see
{\sf http://www.ietf.org/shadow.html}.
}
% default copyright
\gdef\@copyright{\subsection*{Copyright Notice}
Copyright (c) The Internet Society (\number\year).  All Rights Reserved.
}

\newcommand{\copyrightnotice}{
The IETF takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights might or
might not be available; neither does it represent that it has made any
effort to identify any such rights.  Information on the IETF's
procedures with respect to rights in standards-track and
standards-related documentation can be found in BCP-11.  Copies of
claims of rights made available for publication and any assurances of
licenses to be made available, or the result of an attempt made to
obtain a general license or permission for the use of such proprietary
rights by implementors or users of this specification can be obtained
from the IETF Secretariat.

The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary rights
which may cover technology that may be required to practice this
standard.  Please address the information to the IETF Executive
Director.

This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it or
assist in its implementation may be prepared, copied, published and
distributed, in whole or in part, without restriction of any kind,
provided that the above copyright notice and this paragraph are included
on all such copies and derivative works.  However, this document itself
may not be modified in any way, such as by removing the copyright notice
or references to the Internet Society or other Internet organizations,
except as needed for the purpose of developing Internet standards in
which case the procedures for copyrights defined in the Internet
Standards process must be followed, or as required to translate it into
languages other than English.

The limited permissions granted above are perpetual and will
not be revoked by the Internet Society or its successors or
assigns.

This document and the information contained herein is provided on an ``AS
IS'' basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK
FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT
INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE.
}

\def\maketitle{\par
 \begingroup
 \newpage \global\@topnum\z@
 \@maketitle 
 \@makeheadings
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
}
\def\@maketitle{\newpage
 \null
\vspace{-48pt}
\noindent\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}r}
Internet Engineering Task Force & \@wg\\
INTERNET-DRAFT & {\footnotesize \@author}\\
\@filename & {\footnotesize \@address}\\
& \@pubdate\\
& Expires: \@expires
 \end{tabular*}
 \begin{center}
  \Large\bf\@title
 \end{center}
\@status
\@copyright
\def\@makeheadings{
 \null
 % Generate RFC page headings
 \gdef\@oddhead {\rm INTERNET-DRAFT \hfil \@filename \hfil \@pubdate}
 \gdef\@evenhead{\rm INTERNET-DRAFT \hfil \@shorttitle \hfil \@pubdate}
 \gdef\@oddfoot {\rm {\footnotesize \@author}\hfil Expires \@expires \hfil [Page \thepage ]}
 \gdef\@evenfoot{\rm {\footnotesize \@author}\hfil Expires \@expires \hfil [Page \thepage ]}
 }
}

\evensidemargin 0in
\oddsidemargin  0in
\topmargin      0pt
\textwidth      6.5in
\textheight     8.5in
%\footheight     0.3in
%\parindent      0in
\parskip        0pt

\thispagestyle{empty}
\def\verbatim{\parskip 0pt\topsep 12pt\@verbatim \frenchspacing\@vobeyspaces \@xverbatim}
\def\itemize{\parskip 0pt\topsep 0pt\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne 
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\list{\csname\@itemitem\endcsname}{\def\makelabel##1{\hss\llap{##1}}}\fi}
\def\enumerate{\parskip 0pt\topsep 0pt\ifnum \@enumdepth >3 \@toodeep\else
      \advance\@enumdepth \@ne 
      \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
      {\csname label\@enumctr\endcsname}{\usecounter
        {\@enumctr}\def\makelabel##1{\hss\llap{##1}}}\fi}

\newcommand{\MUST}{\textsc{must}}
\newcommand{\MUSTNOT}{\textsc{must not}}
\newcommand{\REQUIRED}{\textsc{required}}
\newcommand{\SHALL}{\textsc{shall}}
\newcommand{\SHALLNOT}{\textsc{shall not}}
\newcommand{\SHOULD}{\textsc{should}}
\newcommand{\SHOULDNOT}{\textsc{should not}}
\newcommand{\MAY}{\textsc{may}}
\newcommand{\OPTIONAL}{\textsc{optional}}
\newcommand{\RECOMMENDED}{\textsc{recommended}}
\newcommand{\NOTRECOMMENDED}{\textsc{not recommended}}

\newcommand{\motivation}[1]{{\footnotesize\begin{quotation}#1\end{quotation}}}
\newcommand{\see}{$\rightarrow$}
\newenvironment{syntax}{\begin{quotation}\begin{sf}\begin{tabular}{lcll}}{\end{tabular}\end{sf}\end{quotation}}
