home *** CD-ROM | disk | FTP | other *** search
/ ftp.update.uu.se / ftp.update.uu.se.2014.03.zip / ftp.update.uu.se / pub / rainbow / msdos / util / nusq.doc < prev    next >
Text File  |  1987-10-13  |  8KB  |  169 lines

  1.  
  2.  
  3.             NUSQ - File unsqueeze utility
  4.  
  5.         Documentation for CP/M-86 and MS-DOS versions
  6.              Cliff Sharp   March 31, 1984
  7.  
  8.  
  9.  
  10.      NUSQ is a utility for restoring squeezed files. Two separate 
  11. versions of NUSQ are available, one for CP/M-86 and one for the MS-DOS 
  12. operating system.
  13.  
  14.      NUSQ has two operating modes.  In the command mode, a single 
  15. instruction to NUSQ is passed from the command line which invokes 
  16. NUSQ.  The command mode requires less effort to use when you have only 
  17. one file to unsqueeze, or when the names of the files you wish to 
  18. unsqueeze can all be specified by one "wildcard" name.  However, when 
  19. you have more than one file to unsqueeze and a "wildcard" won't do the 
  20. job right, or when the files you want to unsqueeze are on more than 
  21. one disk, the interactive mode allows you to specify only those files 
  22. which you want processed, without reloading the program every time.  
  23. In the interactive mode, NUSQ executes one command, then waits for 
  24. another.
  25.  
  26.      To unsqueeze only one file, the command mode invocation
  27.  
  28.                A>nusq nerts.aqm
  29.  
  30. will unsqueeze the file NERTS.AQM.  You don't need to specify the name 
  31. of the output file (in fact, you can't); the name was stored within 
  32. the squeezed file at the time it was squeezed, and that name will be 
  33. used to create the new file.  (If you want to call it by another name, 
  34. use the REName command when NUSQ is finished.)
  35.  
  36.      You can unsqueeze all squeezed files on a single disk by issuing 
  37. the command
  38.  
  39.                  A>nusq *.?q?
  40.  
  41. Theoretically at least, all file squeezers create an output file whose 
  42. name is the same as that of the original file, except that the 
  43. filename extension field is modified by changing the middle letter to 
  44. a "Q".  (When a file has been renamed after being squeezed, this 
  45. cannot be the case; hopefully, the person who renamed it remembered 
  46. the "Q".)  The "wildcard" file specification shown above tells NUSQ to 
  47. unsqueeze any file it finds (on the default disk) which has a "Q" in 
  48. the filename extension; that should get NUSQ to unsqueeze every 
  49. squeezed file on the disk.  NUSQ will display the name of each file it 
  50. finds, and the name of the output file it produces, as it proceeds:
  51.  
  52.         NERTS.AQM -> NERTS.ASM
  53.         ORGPLOTZ.DQC -> ORGPLOTZ.DOC
  54.  
  55.      NUSQ will also accept more than one filename on the command line.
  56.  
  57.         A>nusq nerts.aqm orgplotz.dqc frop.cq
  58.  
  59.      To use a different disk for output than for input, end the 
  60. command line with just the drive designation. Example:
  61.  
  62.              A>nusq giggle.tqt b:
  63.  
  64. will write the output file (ostensibly GIGGLE.TXT) on drive B:.
  65.  
  66.      Let's suppose now that you have a lot of squeezed files on your 
  67. disk, and you only want to unsqueeze some of them at the moment.  
  68. Unless you can specify only those files by using a "wildcard" name, 
  69. you'll probably find it easier to achieve your goal by using the 
  70. interactive mode of NUSQ.  Another instance where it would be easier 
  71. to use interactive mode is one where the files you wish to unsqueeze 
  72. are on more than one disk, in more than one drive.  The command
  73.  
  74.                 A>nusq
  75.  
  76. displays the startup screen, then prompts for command input with an 
  77. asterisk ("*").
  78.  
  79. NUSQ  Version x.xx
  80. Dave Rand, Paul Homchick and Cliff Sharp  xx/xx/xx
  81. Use: NUSQ afn [afn afn ...] [destination drive:]
  82. *_
  83.  
  84. (The underline shows the cursor position; my name appears only in the 
  85. MS-DOS version.)  At the asterisk, you type a filename ("wildcards" 
  86. are allowed here, too).  NUSQ will unsqueeze the file, then print the 
  87. asterisk prompt again and wait for more commands.  When you're 
  88. finished and want to exit NUSQ, a blank line or ^C will return you to 
  89. the operating system.
  90.  
  91.  
  92.  
  93.  
  94.               IN CASE OF TROUBLE
  95.  
  96.  
  97.      First, no matter HOW sure you are that you're doing things 
  98. correctly, try another method of using NUSQ.  If you tried command 
  99. mode without luck, try the interactive mode; if you were in the 
  100. interactive mode when it bombed, try command mode.  Make sure you try 
  101. at least one command that is just like one shown in this document 
  102. (but, of course, use the name of your file instead of NERTS or 
  103. ORGPLOTZ) before you conclude that things are awry.
  104.  
  105.      Occasionally, for one reason or another, it's possible to get a 
  106. bad copy of a program or file; transmission errors and disk errors 
  107. have been known to cause many problems.  (If you can successfully 
  108. unsqueeze at least one squeezed file, you probably have a good copy of 
  109. the program; if so, your copy of the file you're trying to unsqueeze 
  110. may be the culprit.)  The best way to tell if this is the case is to 
  111. use a utility like CRCK on the original copy of the offending 
  112. file/program, and on your copy; if the numbers you get don't match, 
  113. you most likely have a bad copy of the file/program you checked and 
  114. should obtain another copy of it.  (Check the new copy, too, when you 
  115. get it.)
  116.  
  117.      This may sound silly, but do you have the correct version for 
  118. your operating system?  If you try to run the CP/M-86 version under 
  119. MS-DOS, strange things may happen; same for the MS-DOS version under 
  120. CP/M-86.  The MS-DOS version has an "M" in the version number.  Also, 
  121. try using TYPE to actually type the executable file on your screen; 
  122. you'll most likely see the author's name.  (See the history later in 
  123. this document to see who wrote what.)
  124.  
  125.      If all that checks out, the logical next step is to compare notes 
  126. with someone locally to see if anyone else is experiencing problems.  
  127. The system operator ("sysop") of the system from which you obtained 
  128. the software can usually be of help if you tell him which program 
  129. you're using (CP/M-86 or MS-DOS) and the name of the file you're 
  130. trying unsuccessfully to unsqueeze.  Alternatively, you can leave a 
  131. message addressed to "ALL" on a local bulletin board; usually some 
  132. helpful person will jump in with suggestions.
  133.  
  134.      If you've tried all this, and you're still sure you have a 
  135. problem, then it's last-resort time.  Contact the author of your 
  136. version of the program.  His name, and a way to contact him, is in the 
  137. very beginning of the NUSQ.COM file; TYPE NUSQ.COM and you should see 
  138. it.  (If that doesn't work, use DDT, SID or DEBUG.)  This is by far 
  139. the slowest method of resolving problems, and people who contact 
  140. program authors with problems caused by operator error are usually 
  141. looked upon unfavorably, so do this only if all else fails.  Be sure 
  142. to include the name of the system where you got your copy of the 
  143. program, the name of the file you're trying to unsqueeze and the place 
  144. where you got the file, and a description of what went wrong.  It 
  145. might also be nice to know the names of any people who have tried to 
  146. help you with your problem so far.
  147.  
  148.      Dave, Paul and I all breathe fire and spit nails when asked for 
  149. source code for NUSQ.
  150.  
  151.  
  152.  
  153.                    HISTORY
  154.  
  155.  
  156.      NUSQ is a file unsqueezer utility written entirely in assembly 
  157. language.  The first file squeezer and unsqueezer in the public domain 
  158. were written by Richard Greenlaw, in the C programming language.  The 
  159. predecessor of NUSQ was USQ120, produced by Dave Rand in 8080 assembly 
  160. language for CP/M systems, and was probably the only assembly-language 
  161. unsqueezer in existence for some years; Paul Homchick assumed the task 
  162. of converting it to 8086/8088 assembly language under CP/M-86 in early 
  163. 1984, and I converted Paul's version to run under MS-DOS a bit later.
  164.  
  165.  
  166.  
  167. CP/M and CP/M-86 are trademarks of Digital Research, Inc.
  168. MS (as in MS-DOS) is a trademark of Microsoft, Inc.
  169.