palm 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #------------------------------------------------------------------------------
  2. # $File: palm,v 1.7 2009/09/19 16:28:11 christos Exp $
  3. # palm: file(1) magic for PalmOS {.prc,.pdb}: applications, docfiles, and hacks
  4. #
  5. # Brian Lalor <blalor@hcirisc.cs.binghamton.edu>
  6. # appl
  7. 60 belong 0x6170706c PalmOS application
  8. >0 string >\0 "%s"
  9. # TEXt
  10. 60 belong 0x54455874 AportisDoc file
  11. >0 string >\0 "%s"
  12. # HACK
  13. 60 belong 0x4841434b HackMaster hack
  14. >0 string >\0 "%s"
  15. # Variety of PalmOS document types
  16. # Michael-John Turner <mj@debian.org>
  17. # Thanks to Hasan Umit Ezerce <humit@tr-net.net.tr> for his DocType
  18. 60 string BVokBDIC BDicty PalmOS document
  19. >0 string >\0 "%s"
  20. 60 string DB99DBOS DB PalmOS document
  21. >0 string >\0 "%s"
  22. 60 string vIMGView FireViewer/ImageViewer PalmOS document
  23. >0 string >\0 "%s"
  24. 60 string PmDBPmDB HanDBase PalmOS document
  25. >0 string >\0 "%s"
  26. 60 string InfoINDB InfoView PalmOS document
  27. >0 string >\0 "%s"
  28. 60 string ToGoToGo iSilo PalmOS document
  29. >0 string >\0 "%s"
  30. 60 string JfDbJBas JFile PalmOS document
  31. >0 string >\0 "%s"
  32. 60 string JfDbJFil JFile Pro PalmOS document
  33. >0 string >\0 "%s"
  34. 60 string DATALSdb List PalmOS document
  35. >0 string >\0 "%s"
  36. 60 string Mdb1Mdb1 MobileDB PalmOS document
  37. >0 string >\0 "%s"
  38. 60 string PNRdPPrs PeanutPress PalmOS document
  39. >0 string >\0 "%s"
  40. 60 string DataPlkr Plucker PalmOS document
  41. >0 string >\0 "%s"
  42. 60 string DataSprd QuickSheet PalmOS document
  43. >0 string >\0 "%s"
  44. 60 string SM01SMem SuperMemo PalmOS document
  45. >0 string >\0 "%s"
  46. 60 string TEXtTlDc TealDoc PalmOS document
  47. >0 string >\0 "%s"
  48. 60 string InfoTlIf TealInfo PalmOS document
  49. >0 string >\0 "%s"
  50. 60 string DataTlMl TealMeal PalmOS document
  51. >0 string >\0 "%s"
  52. 60 string DataTlPt TealPaint PalmOS document
  53. >0 string >\0 "%s"
  54. 60 string dataTDBP ThinkDB PalmOS document
  55. >0 string >\0 "%s"
  56. 60 string TdatTide Tides PalmOS document
  57. >0 string >\0 "%s"
  58. 60 string ToRaTRPW TomeRaider PalmOS document
  59. >0 string >\0 "%s"
  60. # A GutenPalm zTXT etext for use on Palm Pilots (http://gutenpalm.sf.net)
  61. # For version 1.xx zTXTs, outputs version and numbers of bookmarks and
  62. # annotations.
  63. # For other versions, just outputs version.
  64. #
  65. 60 string zTXT A GutenPalm zTXT e-book
  66. >0 string >\0 "%s"
  67. >(0x4E.L) byte 0
  68. >>(0x4E.L+1) byte x (v0.%02d)
  69. >(0x4E.L) byte 1
  70. >>(0x4E.L+1) byte x (v1.%02d)
  71. >>>(0x4E.L+10) beshort >0
  72. >>>>(0x4E.L+10) beshort <2 - 1 bookmark
  73. >>>>(0x4E.L+10) beshort >1 - %d bookmarks
  74. >>>(0x4E.L+14) beshort >0
  75. >>>>(0x4E.L+14) beshort <2 - 1 annotation
  76. >>>>(0x4E.L+14) beshort >1 - %d annotations
  77. >(0x4E.L) byte >1 (v%d.
  78. >>(0x4E.L+1) byte x %02d)
  79. # Palm OS .prc file types
  80. 60 string libr Palm OS dynamic library data
  81. >0 string >\0 "%s"
  82. 60 string ptch Palm OS operating system patch data
  83. >0 string >\0 "%s"
  84. # Mobipocket (www.mobipocket.com), donated by Carl Witty
  85. 60 string BOOKMOBI Mobipocket E-book
  86. >0 string >\0 "%s"