home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / txtutils.lbr / WRAP.DZC / WRAP.DOC
Encoding:
Text File  |  1993-10-25  |  2.3 KB  |  56 lines

  1.                                 WRAP
  2.                                 ----
  3.  
  4.         Printing Utility
  5.  
  6. This utility will print any number of files with newlines put
  7. in at the appropriate column.  The default column is 80.  Form feeds are
  8. also optional by specifying a pagelength.  The default is no form feeds.
  9.  
  10. OPTIONS:
  11.         -wN Sets the page width to N characters wide.           Default = 80
  12.         -pN Sets the page length to N lines long.               Default = 60
  13.             If N = 0 then no formfeeds are inserted.
  14.         -h Print the filename and page number at the top of each page.
  15.         -tN Expand tab characters to every N'th column.
  16.         -dstring Will print string in the date field of each heading.  The
  17.                  heading option is automatically specified with the -d option.
  18.                  NOTE: String must not contain blanks.  It is reasonable
  19.                        to enter the date as    SEPT/3/82---2:00pm
  20.         -lN Start printing at line N.
  21.         -iN Will indent each line (including headings) N spaces.
  22.         -bN Will set the file buffer size to N bytes.
  23.  
  24.  
  25. BUGS:   - Sometimes an extra formfeed is inserted at the end of the run?
  26.         - Tabs can make the line extend past the left margin
  27.         - A carriage return not expected to do a line feed
  28.         - Headings must all fit on a line
  29.         - It should be made recusive so all characters that expand (ie tabs)
  30.           are correctly handled
  31.  
  32.  
  33.  
  34.                   Patch Locations for WRAP switches
  35.                Version 1.4     Sept/21/82
  36.  
  37.        Parameter        Wrap    Patch         Default Value
  38.                 Argument   Location       Decimal  Hex Bytes
  39.  
  40. Buffer Size             -b4096     0103        4096     00 10
  41. Page Width             -w80     0105          80     50 00
  42. Page Length             -p60     0107          60     3C 00
  43. Heading flag (Default: off)  -h         0109           0     00 00
  44. Tabs flag    (Default: off)  -t         010B           0     00 00
  45. Tab Size             -t8     011D           8     08 00
  46. Start line number         -l0     011F           0     00 00
  47. Indent column             -i0     0121           0     00 00
  48.  
  49. The values of these parameters can be altered by patching the WRAP
  50. object file.  Use DDT to modify the desired options, exit with ^C, then
  51.  
  52. type:        SAVE 22 WRAP.COM
  53.  
  54. to save the modified object file.
  55.  
  56.