       			       Free software BY
		     Project Software & Development, Inc.

     This  software  is  furnished for free and may be used and  copied as
     desired. This software or  any  other copies  thereof may be provided
     or  otherwise  made  available  to any other person.  No title to and
     ownership of  the  software  is  hereby transferred or allowed. 

     The information in this software is subject to change  without notice
     and  should  not  be  construed  as  a commitment by PROJECT SOFTWARE
     AND DEVELOPMENT, INC.

     PROJECT SOFTWARE assumes no responsibility for the use or reliability  
     of this software on any equipment whatsoever.

	Project Software & Development, Inc.
	14 Story St.
	Cambridge, Ma. 02138
	617-661-1444

	Program:	MISH
	Author:		Robin Miller / Gary Larsen
	Date:		Fall 1984

     Description:

	This  program  is used to compress and convert input files into a
     printable  ASCII format.  The file attributes are stored in a header
     record  which is used when decompressing to restore the file to its'
     original  file  format.  This  mished  file format is useful for any
     communication program which transfers ASCII files.

	A special version of the MISH program called MISHALL is available
     to aid in bootstraping the SNDRCV program.  This source file has all
     analyze code and comments removed to reduce the size.  The using the
     DUMP  command  in RSXNET/VAXNET, the program can be sent to a remote
     system where it can be assembled and taskbuilt.  A mished version of
     the SNDRCV program is then dumped to the remote system, decompressed
     by MISHALL, and you are ready to transfer files with the remote.

******************************************************************************

Example:

>dir mish.tsk

Directory DB0:[263,70]
3-DEC-84 15:50

MISH.TSK;1          60.     C  14-AUG-84 10:24

Total of 60./60. blocks in 1. file

>mish
MISH>/he
  
  MISH is a program used to compress and convert input files into printable
  ASCII files.  These files can be submitted on HASP reader streams and can
  be transmitted using VAXNET/RSXNET.  After the file is received at the
  remote system, MISH is then used to decompress the files back into their
  original file format.  All file attributes are restored using the header
  record from the compressed file.
  
  Command line format:
  
       input_file/switches output_file/switches
  
  Where switches are:
  
    /ANALYZE    - Used to analyze the header record and/or data of a file
                  which has been compressed.  Additional sub-switches that
                  can be used are /DATA, /OCTAL, & /REVERSE.
    /COMPRESS   - Used to compress files.  This is the default mode.
    /DECOMPRESS - Used to decompress files into their original file format.
  
MISH>mish.tsk mish.mis
File: MISH.MIS, total number of blocks = 60, total number of records = 474
MISH>^Z
>
>dir mish.mis

Directory DB0:[263,70]
3-DEC-84 15:50

MISH.MIS;1          68.        03-DEC-84 15:45

Total of 68./68. blocks in 1. file

	************************************************************
	*	The /ANALYZE switch displays the file header.	   *
	************************************************************

>mish
MISH>mish.mis/anal
$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*

MISH FILE HEADER

	File name: MISH.TSK
	Owner UIC: [263,070]
	Protection:  System: R, Owner: R, Group: R, World: R
	Mished Date: 3-DEC-84
	Contiguity Options: contiguous

FCS/RMS FILE ATTRIBUTES:

	File Organization: sequential
	Record Format: fixed
	Record Attributes: 
	Maximum Record Size: 512
	Longest Record: 512
	Blocks To Allocate: 60, Default Extend Size: 0
	End-of-file VBN: 61, Offset: 0

$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*$*
MISH>^Z
>
	************************************************************
	*    The mished file is then transferred to the remote	   *
	*    system using the RSXNET and SNDRCV programs where	   *
	*    it is decompressed back into it's original format.	   *
	************************************************************

>mish
MISH>mish/decompress
File: MISH.TSK, total number of blocks = 60, total number of records = 474
MISH>^Z
>
