2 #------------------------------------------------------------------------------
3 # os2: file(1) magic for OS/2 files
6 # Provided 1998/08/22 by
7 # David Mediavilla <davidme.news@REMOVEIFNOTSPAMusa.net>
8 1 string InternetShortcut MS Windows 95 Internet shortcut text
9 >24 string >\ (URL=<%s>)
12 # Provided 1998/08/22 by
13 # David Mediavilla <davidme.news@REMOVEIFNOTSPAMusa.net>
14 #0 string http: OS/2 URL object text
15 #>5 string >\ (WWW) <http:%s>
16 #0 string mailto: OS/2 URL object text
17 #>7 string >\ (email) <%s>
18 #0 string news: OS/2 URL object text
19 #>5 string >\ (Usenet) <%s>
20 #0 string ftp: OS/2 URL object text
21 #>4 string >\ (FTP) <ftp:%s>
22 #0 string file: OS/2 URL object text
23 #>5 string >\ (Local file) <%s>
25 # >>>>> OS/2 INF/HLP <<<<< (source: Daniel Dissett ddissett@netcom.com)
26 # Carl Hauser (chauser.parc@xerox.com) and
27 # Marcus Groeber (marcusg@ph-cip.uni-koeln.de)
28 # list the following header format in inf02a.doc:
30 # int16 ID; // ID magic word (5348h = "HS")
31 # int8 unknown1; // unknown purpose, could be third letter of ID
32 # int8 flags; // probably a flag word...
33 # // bit 0: set if INF style file
34 # // bit 4: set if HLP style file
35 # // patching this byte allows reading HLP files
36 # // using the VIEW command, while help files
37 # // seem to work with INF settings here as well.
38 # int16 hdrsize; // total size of header
39 # int16 unknown2; // unknown purpose
41 0 string HSP\x01\x9b\x00 OS/2 INF
43 0 string HSP\x10\x9b\x00 OS/2 HLP
46 # OS/2 INI (this is a guess)
47 0 string \xff\xff\xff\xff\x14\0\0\0 OS/2 INI