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