home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / xbin23.zip / XBIN.MAN < prev    next >
Text File  |  1991-01-13  |  3KB  |  133 lines

  1.  
  2.      XBIN (local)                 24 Mar 1985                  XBIN (local)
  3.  
  4.  
  5.  
  6.      NAME 
  7.           xbin  -  convert  mailable  format  BinHex  file into binary
  8.           before downloading to MacTerminal 
  9.  
  10.      SYNOPSIS 
  11.           xbin [ -o ] [ -v ] [ -l ] [[ -n name ] file] ...  
  12.  
  13.      DESCRIPTION 
  14.           Xbin converts a file created by BinHex (usually  named  with
  15.           one  of the extensions ".hex", ".hcx", or ".hqx") into three
  16.           host-system files suitable for downloading  to  a  Macintosh
  17.           via macput.    This program is designed for use with the 1.1
  18.           Release version of MacTerminal, but includes a compatibility 
  19.           option for the old -0.15X Almost-Alpha version.  
  20.  
  21.                The -l (list) option reads the header  information  and
  22.           prints   out  all  the  useful  information  there,  without
  23.           creating any converted output files.  
  24.  
  25.                The -v (verbose) option prints a line for each file  to
  26.           be converted, indicating the input and output file names.  
  27.  
  28.                The  -n name option allows the user to specify the name
  29.           to use when creating the host files and the eventual name to 
  30.           use on the mac.  This option must  precede  the  input  file
  31.           name it is to affect.  
  32.  
  33.                If  this  option is not used, the names will be derived
  34.           from either the input file name (.hex or .hcx files), or the 
  35.           name encoded in the header information (.hqx files).  Spaces 
  36.           and slashes will be converted to underscores, and  the  .h?x
  37.           extension  will  be deleted, if one is included in the input
  38.           file name.  
  39.  
  40.                A file name of "-" indicates that the input  should  be
  41.           taken from  stdin.    If  no mac file name is specified, the
  42.           default name (for .hex or .hcx files) is "stdin".  
  43.  
  44.                Mail  or  news  headers  and  signatures  need  not  be
  45.           manually  stripped  -- xbin will ignore pretty much anything
  46.           it doesn't need.  
  47.  
  48.                xbin creates three host-system files  from  each  input
  49.           file: name.info, name.data, and name.rsrc.  
  50.  
  51.                The   -o   flag   specifies   "old"   (version  -0.15X)
  52.           MacTerminal compatibility mode.  
  53.  
  54.      BUGS 
  55.           The "LOCKED" bit in the flags cannot be set by xbin.    This
  56.           is  due  to  a bug in MacTerminal, which sets the flags when
  57.           the  file  is  created,  rather  than  after  it  has   been
  58.           transfered,  resulting  in  it  not  being able to write the
  59.           file.  
  60.  
  61.                Input files must contain a line  starting  with  "(This
  62.           file" to detect the beginning of the BinHex information.  
  63.  
  64.  
  65.                                       -1-
  66.  
  67.  
  68.      XBIN (local)                 24 Mar 1985                  XBIN (local)
  69.  
  70.  
  71.      SEE 
  72.           macput(1), macget(1) 
  73.  
  74.      AUTHOR 
  75.           Dave  Johnson,  Brown  12/16/84;  CRC handling code by Darin
  76.           Adler, TMQ Software 3/16/85 
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                       -2-
  132.  
  133.