Testing the waters for text/troff
jas at extundo.com (Simon Josefsson) Tue, 03 January 2006 16:22 UTC
From: "jas at extundo.com"
Date: Tue, 03 Jan 2006 16:22:52 +0000
Subject: Testing the waters for text/troff
References: <200411221454.48418.blilly@erols.com> <01LHP0N94MY800005R@mauve.mrochek.com> <200411262320.01561.blilly@erols.com> <200412061407.06281.blilly@erols.com>
Message-ID: <ilueki3rvmj.fsf@latte.josefsson.org>
X-Date: Tue Jan 3 16:22:52 2006
Bruce Lilly <blilly@erols.com> writes: > ftp://ftp.isi.edu/in-notes/internet-drafts/draft-lilly-text-troff-00.txt One comment on the "versions" parameter. If it is only meant to be humanly readable, why can it not be written as a comment? MIME parameters are presumably intended for use by software. It seems unnecessary to allocate a MIME parameter field for something that isn't used by software. The "process" parameter, as in: Content-Type: text/troff ; process="GROFF_NO_SGR=1 dformat | pic -n | troff -ms" makes me feel uneasy. Are MUAs expected to parse the expression to recognize dangerous commands? Is this portable? I looked at how Gnus implement troff files: (".man" . "application/x-troff-man") (".me" . "application/x-troff-me") (".ms" . "application/x-troff-ms") (".tr" . "application/x-troff") (".troff" . "application/x-troff") This suggest that maybe the troff format should not be a considered a separate MIME sub-type, but rather a set of languages. Much like XML. While I think the "+xml" for XML formats was a horrid idea, I can't help but feel that we'd might have the same situation here, as in: text/man+troff text/ms+troff text/mdoc+troff That is, those types would be interpreted by loading the -man, -ms and -mdoc macros, respectively, in troff. That is, "troff -man", "troff -ms", "troff -mdoc" respectively. You could create new types for dformat+pic data. Thanks, Simon
- Testing the waters for text/troff ned.freed@mrochek.com
- Testing the waters for text/troff Bruce Lilly
- Testing the waters for text/troff ned.freed@mrochek.com
- Testing the waters for text/troff Bruce Lilly
- Testing the waters for text/troff Ben Morrow
- Testing the waters for text/troff ned.freed@mrochek.com
- Testing the waters for text/troff Bruce Lilly
- Testing the waters for text/troff Ben Morrow
- Testing the waters for text/troff Bruce Lilly
- Testing the waters for text/troff Martin Duerst
- Testing the waters for text/troff Bruce Lilly
- Testing the waters for text/troff Bruce Lilly
- Testing the waters for text/troff Al Costanzo
- Testing the waters for text/troff Simon Josefsson
- Testing the waters for text/troff Bruce Lilly