home *** CD-ROM | disk | FTP | other *** search
- showbytes - program to display the first 20 bytes.
-
- usage: showbytes <file>
-
- This will show you the first 20 bytes of <file>. If a byte is a letter, it
- will be printed. for instance:
-
- 7/50:Work:lc/TC/2.9/Docs> showbytes FONTS:Dpaint.font
- byte 0: 15
- byte 1: 0
- byte 2: 0
- byte 3: 2
- byte 4: 'd'
- byte 5: 'p'
- byte 6: 'a'
- byte 7: 'i'
- byte 8: 'n'
- byte 9: 't'
- byte 10: 47
- byte 11: 53
- byte 12: 0
- byte 13: 0
- byte 14: 0
- byte 15: 0
- byte 16: 0
- byte 17: 0
- byte 18: 0
- byte 19: 0
-
- Mainly, showbytes is in case you don't want TClass to learn, and you want to
- input new filetypes on your own. In this case, you could make this entry
- into S:TClass.brain:
-
- A Dpaint font! Oooh!!::15,0,0,2,'d','p','a','i'::
-
- That's enough to recognize the dpaint.font. :) Please be sure you know what
- you're doing if you plan to put entries in by hand.
-
-