ispell 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #------------------------------------------------------------------------------
  2. # $File: ispell,v 1.8 2009/09/19 16:28:10 christos Exp $
  3. # ispell: file(1) magic for ispell
  4. #
  5. # Ispell 3.0 has a magic of 0x9601 and ispell 3.1 has 0x9602. This magic
  6. # will match 0x9600 through 0x9603 in *both* little endian and big endian.
  7. # (No other current magic entries collide.)
  8. #
  9. # Updated by Daniel Quinlan (quinlan@yggdrasil.com)
  10. #
  11. 0 leshort&0xFFFC 0x9600 little endian ispell
  12. >0 byte 0 hash file (?),
  13. >0 byte 1 3.0 hash file,
  14. >0 byte 2 3.1 hash file,
  15. >0 byte 3 hash file (?),
  16. >2 leshort 0x00 8-bit, no capitalization, 26 flags
  17. >2 leshort 0x01 7-bit, no capitalization, 26 flags
  18. >2 leshort 0x02 8-bit, capitalization, 26 flags
  19. >2 leshort 0x03 7-bit, capitalization, 26 flags
  20. >2 leshort 0x04 8-bit, no capitalization, 52 flags
  21. >2 leshort 0x05 7-bit, no capitalization, 52 flags
  22. >2 leshort 0x06 8-bit, capitalization, 52 flags
  23. >2 leshort 0x07 7-bit, capitalization, 52 flags
  24. >2 leshort 0x08 8-bit, no capitalization, 128 flags
  25. >2 leshort 0x09 7-bit, no capitalization, 128 flags
  26. >2 leshort 0x0A 8-bit, capitalization, 128 flags
  27. >2 leshort 0x0B 7-bit, capitalization, 128 flags
  28. >2 leshort 0x0C 8-bit, no capitalization, 256 flags
  29. >2 leshort 0x0D 7-bit, no capitalization, 256 flags
  30. >2 leshort 0x0E 8-bit, capitalization, 256 flags
  31. >2 leshort 0x0F 7-bit, capitalization, 256 flags
  32. >4 leshort >0 and %d string characters
  33. 0 beshort&0xFFFC 0x9600 big endian ispell
  34. >1 byte 0 hash file (?),
  35. >1 byte 1 3.0 hash file,
  36. >1 byte 2 3.1 hash file,
  37. >1 byte 3 hash file (?),
  38. >2 beshort 0x00 8-bit, no capitalization, 26 flags
  39. >2 beshort 0x01 7-bit, no capitalization, 26 flags
  40. >2 beshort 0x02 8-bit, capitalization, 26 flags
  41. >2 beshort 0x03 7-bit, capitalization, 26 flags
  42. >2 beshort 0x04 8-bit, no capitalization, 52 flags
  43. >2 beshort 0x05 7-bit, no capitalization, 52 flags
  44. >2 beshort 0x06 8-bit, capitalization, 52 flags
  45. >2 beshort 0x07 7-bit, capitalization, 52 flags
  46. >2 beshort 0x08 8-bit, no capitalization, 128 flags
  47. >2 beshort 0x09 7-bit, no capitalization, 128 flags
  48. >2 beshort 0x0A 8-bit, capitalization, 128 flags
  49. >2 beshort 0x0B 7-bit, capitalization, 128 flags
  50. >2 beshort 0x0C 8-bit, no capitalization, 256 flags
  51. >2 beshort 0x0D 7-bit, no capitalization, 256 flags
  52. >2 beshort 0x0E 8-bit, capitalization, 256 flags
  53. >2 beshort 0x0F 7-bit, capitalization, 256 flags
  54. >4 beshort >0 and %d string characters
  55. # ispell 4.0 hash files kromJx <kromJx@crosswinds.net>
  56. # Ispell 4.0
  57. 0 string ISPL ispell
  58. >4 long x hash file version %d,
  59. >8 long x lexletters %d,
  60. >12 long x lexsize %d,
  61. >16 long x hashsize %d,
  62. >20 long x stblsize %d