xref: /openbsd/usr.bin/file/magdir/troff (revision 76d0caae)
1#	$OpenBSD: troff,v 1.4 2009/04/24 18:54:34 chl Exp $
2
3#------------------------------------------------------------------------------
4# troff:  file(1) magic for *roff
5#
6# updated by Daniel Quinlan (quinlan@yggdrasil.com)
7
8# troff input
90	search/1	.\\"		troff or preprocessor input text
10!:mime	text/troff
110	search/1	'\\"		troff or preprocessor input text
12!:mime	text/troff
130	search/1	'.\\"		troff or preprocessor input text
14!:mime	text/troff
150	search/1	\\"		troff or preprocessor input text
16!:mime	text/troff
170	search/1	'''		troff or preprocessor input text
18!:mime	text/troff
19
20# ditroff intermediate output text
210	search/1	x\ T		ditroff output text
22>4	search/1	cat		for the C/A/T phototypesetter
23>4	search/1	ps		for PostScript
24>4	search/1	dvi		for DVI
25>4	search/1	ascii		for ASCII
26>4	search/1	lj4		for LaserJet 4
27>4	search/1	latin1		for ISO 8859-1 (Latin 1)
28>4	search/1	X75		for xditview at 75dpi
29>>7	search/1	-12		(12pt)
30>4	search/1	X100		for xditview at 100dpi
31>>8	search/1	-12		(12pt)
32
33# output data formats
340	string		\100\357	very old (C/A/T) troff output data
35