home *** CD-ROM | disk | FTP | other *** search
/ Carousel / CAROUSEL.cdr / mactosh / unix / unxbin.sha / README < prev    next >
Text File  |  1986-04-02  |  1KB  |  42 lines

  1. These programs are a quick hack to convert *.{info,data,rsrc} files from
  2. macget back to something that xbin will accept.  The only reason I wrote
  3. these was so that I could post version 4.5 of Switcher.
  4.  
  5. These files are in no way optimum, elegant, or pretty.  In fact, they might
  6. not even be correct.  If you need to do this sort of thing very often, you
  7. should obtain whatever it is everybody else uses ( and post it to the net so
  8. that I can get it! ).
  9.  
  10. Enough blithering.  Here is what is here:
  11.  
  12.     README            This file
  13.  
  14.     gethead            filter to turn *.info into
  15.                 a valid header
  16.  
  17.     crc            writes crc of stdin on stdout
  18.  
  19.     unrun            filter to change 0x90 into 0x90 0x00.
  20.                 needed because I don't do run length
  21.                 encoding, because this is all a kludge.
  22.  
  23.     8to6            filter to convert 8 bit data stream into
  24.                 6 bit data stream that xbin wants.  Uses
  25.                 worst algorithm I could think of, so don't
  26.                 look at it, please!
  27.  
  28.     unxbin            shell script to use the above stuff
  29.  
  30. To install:
  31.  
  32.     #!/bin/sh
  33.     for i in gethead crc unrun 8to6
  34.     do
  35.         cc $i.c -o /where/you/want/it/in/your/path/$i
  36.     done
  37.     cp unxbin /some/where/in/your/path
  38.  
  39. To use:
  40.  
  41.     unxbin file    # convert file.{info,data,rsrs} to file.hqx
  42.