palm 3.9 KB

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