softquad 1.6 KB

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