What is the editor used for writing RFC text files?
I am just wondering how much effort is required to write a text file like that with page numbers, table of contents, headers, footers etc. Is there any edito开发者_高级运维r or some thing like TeX that is used for writing the RFC documents?
According to RFC 2223:
Most of the RFCs are processed by the RFC Editor with the unix "nroff" program using a very simple set of the formatting commands (or "requests") from the "ms" macro package (see the Appendix).
There is an RFC that details how they can be written using Microsoft Word: RFC 3285: Using Microsoft Word to create Internet Drafts and RFCs :-)
I have written a couple of RFC-like documents in XML using the format described in RFC2629 and converting them using xml2rfc. There is also a XSLT available for doing the conversion.
Write in some other format, like HTML/PDF/DOC and then export to text format. I guess that should be easier.
Older RFCs were probably written with nroff or one of its relatives (troff, roff, groff).
精彩评论