home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / d / dsharp10.zip / ESCAPE.DOC < prev    next >
Text File  |  1993-01-24  |  2KB  |  42 lines

  1.                            ESCAPE.COM
  2.  
  3.                    (TSR, may be loaded high)
  4.  
  5. This program allows free use of the escape character in command 
  6. lines or in batch file lines.
  7.  
  8. This is very handy for driving ANSI sequences and ECHOing 
  9. printer command codes, etc.
  10.  
  11.      This program requires DOS 3.3 or above. It will not function 
  12.      correctly with NDOS or 4DOS Ver 3.x. It works correctly with 
  13.      4DOS Ver 4.x.
  14.  
  15.  
  16.  
  17. I got used to having the escape character available on command 
  18. lines early in DOS computing with some machines that had deviant 
  19. DOS versions.  Then IBM decided to make the Esc character the 
  20. "line cancel" character, even though there were still unused 
  21. function keys.  How crippling this seemed!  I'd gotten used to 
  22. being able to simply echo an ANSI sequence or printer control 
  23. code.  So for many years I used a variation of the old "DOSEDIT" 
  24. command-history utility that I modified to liberate the escape 
  25. key and make it just another character like any other.  This 
  26. worked, and still works, on every DOS machine and variant since.
  27.  
  28. With DOS 5, however, the very nice DOSKEY utility is provided, 
  29. which does command history and macros.  And, magically, does 
  30. this without hooking any interrupts!  Unfortunately DOSKEY, in 
  31. line with an ugly old tradition, again steals that valuable 
  32. escape key!  So this different approach was worked out, and it 
  33. seems quite acceptable.
  34.  
  35. With ESCAPE resident, just put "$e" in your command line 
  36. wherever you want an ESCAPE character.  This is the same syntax 
  37. you'd use in a PROMPT command, which is the normal, but awkward, 
  38. way of doing an escape in a command line or batch file line.
  39.  
  40. ESCAPE.COM may not work on some hardware or DOS versions; in 
  41. particular it needs DOS 3.3 or above.
  42.