home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 21 / bbd21.zip / DETAB.TXT < prev    next >
Text File  |  1988-04-06  |  2KB  |  52 lines

  1. |D╔══════════════════╗════════════════════════════════════════════════════════════
  2. |D║ |5The Happy Hacker |D║════════════════════════════════════════════════════════════
  3. |D╚══════════════════╝════════════════════════════════════════════════════════════
  4.  
  5. ^C^1Detab
  6. ^C(Tab Expander Utility)
  7. ^Cby
  8. ^CJeffrey Rush
  9.  
  10.    Jeff Rush is famous in the FidoNet BBS community for being the creator of 
  11. Echomail, which revolutionized the BBS network by providing discussion forums 
  12. shared across many bulletin board systems.  (Call our BBS at 318-222-3503 to see 
  13. for yourself.)  He now joins our stable of contributors with a new utility. 
  14. Detab is useful if you must deal with text files that are full of tab 
  15. characters, but your printer doesn't understand tabs or assumes tabstops 
  16. different from those used in the document.  Detab replaces tabs by spaces to fit 
  17. tabstops which you can set. 
  18.  
  19.    This utility will read the standard input (keyboard), expand any tabs found, 
  20. and write the result to the standard output (screen).  To do input and output 
  21. directly to files, use the DOS redirection operators "<" and ">" (e.g., to get 
  22. input from IN.TXT and output to OUT.TXT, use "DETAB <IN.TXT >OUT.TXT").  The tab 
  23. settings default to every 8, which is the PC-DOS standard, but may be redefined 
  24. to any boundaries.
  25.  
  26.    Usage: DETAB {<tabstops>}
  27.  
  28.    The only parameters on the command line are the tabstops.  If none are given, 
  29. every 8 is assumed.  If they are specified, tabs are set at those columns.  In 
  30. addition, tabs are assumed at those columns which are a multiple of the last 
  31. pair of tabstops given. 
  32.  
  33. Examples:
  34.  
  35.     C>DETAB 4 8 12 16 <MYLETTER.DOC >PRN:
  36.         This sets tabstops at columns 4, 8, 12 and 16 AS WELL AS AT 20,
  37.         24, 28, 32, etc.  The text is read from the file MYLETTER.DOC and
  38.         sent to the printer.
  39.  
  40.     C>DETAB 10 16 20 22 <MYLETTER.DOC >NOTABS.DOC
  41.         This sets tabstops at columns 10, 16, 20 and 22 AS WELL AS AT 24,
  42.         26, 28, 30, 32, etc.  The last two stops, 20 and 22, specified a
  43.         gap of 2 columns, meaning place tabstops every 2 columns after
  44.         column 22.
  45.  
  46.    Since this is intended as a command line utility, you can't run it from the 
  47. BIG BLUE DISK menu.  Type ^1DETAB^0 with appropriate parameters as shown above, 
  48. from the DOS command line.
  49.  
  50. DISK FILES THIS PROGRAM USES:
  51. ^FDETAB.EXE
  52.