text/troff
Troff document
| Description | Troff document |
|---|---|
| File extensions | .roff, .t, .tr |
| Aliases | application/x-trofftext/x-troff |
| Based on | text/plain |
| Signature (magic bytes) | 27 2E 5C 22 ('.\")27 5C 22 ('\")2E 5C 22 (.\") |
Frequently asked questions
What is the MIME type text/troff?
text/troff denotes “Troff document”.
Which file extension does text/troff use?
Files of type text/troff usually end in .roff, .t and .tr.
How does a web server serve text/troff correctly?
With the header Content-Type: text/troff. In nginx: types { text/troff roff t tr; }; in Apache: AddType text/troff .roff .t .tr.
Are there other names for text/troff?
Yes, application/x-troff and text/x-troff are used as equivalents.
Which formats are based on text/troff?
Formats based on it include Troff MM input document.
Formats based on it
- text/x-troff-mm – Troff MM input document