1
2#------------------------------------------------------------------------------
3# $File: softquad,v 1.14 2022/10/28 17:19:54 christos Exp $
4# softquad:  file(1) magic for SoftQuad Publishing Software
5# URL:              https://en.wikipedia.org/wiki/SoftQuad_Software
6#
7# Author/Editor and RulesBuilder
8#
9# XXX - byte order?
10#
110         string              \<!SQ\ DTD>         Compiled SGML rules file
12>9        string              >\0                  Type %s
130         string              \<!SQ\ A/E>         A/E SGML Document binary
14>9        string              >\0                  Type %s
150         string              \<!SQ\ STS>         A/E SGML binary styles file
16>9        string              >\0                  Type %s
170         short               0xc0de              Compiled PSI (v1) data
180         short               0xc0da              Compiled PSI (v2) data
19>3        string              >\0                 (%s)
20# Binary sqtroff font/desc files...
21# GRR: the line below is also true for 5View capture file handled by ./sniffer
220         short               0125252
23# skip 5View capture file with "invalid" version AAAAh
24>2        short               >0                  SoftQuad DESC or font file binary - version %d
25# Bitmaps...
260         search/1  SQ\ BITMAP1         SoftQuad Raster Format text
27#0        string              SQ\ BITMAP2         SoftQuad Raster Format data
28# sqtroff intermediate language (replacement for ditroff int. lang.)
290         string              X\                  SoftQuad troff Context intermediate
30>2        string              495                 for AT&T 495 laser printer
31>2        string              hp                  for Hewlett-Packard LaserJet
32>2        string              impr                for IMAGEN imPRESS
33>2        string              ps                  for PostScript
34
35# From: Michael Piefel <piefel@debian.org>
36# sqtroff intermediate language (replacement for ditroff int. lang.)
370         string              X\ 495              SoftQuad troff Context intermediate for AT&T 495 laser printer
380         string              X\ hp               SoftQuad troff Context intermediate for HP LaserJet
390         string              X\ impr             SoftQuad troff Context intermediate for IMAGEN imPRESS
400         string              X\ ps               SoftQuad troff Context intermediate for PostScript
41