home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / bbs / libdisks / d700t799 / disk792.lha / TClass / showbytes.doc < prev    next >
Encoding:
Text File  |  1993-01-08  |  820 b   |  39 lines

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