home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / misc / 6710 < prev    next >
Encoding:
Text File  |  1992-12-25  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.os.msdos.misc
  2. Path: sparky!uunet!spool.mu.edu!sgiblab!tsoft!haymore
  3. From: bbs.haymore@tsoft.net (Ed Haymore)
  4. Subject: Re: ANSI ESC sequence, how??
  5. Message-ID: <g5TBwB1w165w@tsoft.net>
  6. Sender: bbs@tsoft.net
  7. Organization: The TSoft BBS and Public Access Unix, +1 415 969 8238
  8. References: <1992Dec24.081140.1267@donau.et.tudelft.nl>
  9. Date: Fri, 25 Dec 1992 07:17:51 GMT
  10. Lines: 27
  11.  
  12. > In article <1992Dec23.195236.28511@netcom.com>, mjb@netcom.com (Martin Brown)
  13. > > I have ansi.sys installed, and have received some ansi msg's that seem to b
  14. > > working.  Now that I want to do some ansi coding, I can't figure out how to
  15. > > actually enter (which keys to push) the 'esc' part of the sequence.  I'm tr
  16. > > to do this at the command prompt.
  17. > > 
  18. > > Take for instance changing the screen background to blue.  The manual shows
  19. > > 
  20. > >      ESC[44m
  21. > > 
  22. > > What keys do I actually hit to get the ESC (or is it ESC[ ?) part of the li
  23. > > If I hit the Esc key, I get a  \ followed by a cr/lf, so that the 44m comes
  24. > > the next line.  I hit return, and DOS says command not recognized.
  25. > > 
  26.  
  27. I don't know of a way to do the ANSI commands from the command prompt.  
  28. You could set up the echo commands in a batch file (or simply create a 
  29. text file to type) within WordPerfect (or some other text editor that 
  30. lets you insert an ESCape directly -- in WP, just hold down ALT and press 
  31. 2 then 7).
  32.  
  33. Or you can use a dummy character like an @ symbol in the file and then 
  34. use a DOS search-with-replace utility to change it to an escape, or use a 
  35. binary editor to change it.
  36.  
  37. --
  38. Ed Haymore (bbs.haymore@tsoft.net)
  39.