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