home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / misc / 6706 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  1.2 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!sauna.cs.hut.fi!lk-hp-20.hut.fi!jkokko
  2. From: jkokko@lk-hp-20.hut.fi (Jari Kokko)
  3. Newsgroups: comp.os.msdos.misc
  4. Subject: Re: ANSI ESC sequence, how??
  5. Date: 24 Dec 1992 11:10:16 GMT
  6. Organization: Helsinki University of Technology
  7. Lines: 21
  8. Distribution: inet
  9. Message-ID: <1hc5qoINNjl2@sauna.cs.hut.fi>
  10. References: <1992Dec23.195236.28511@netcom.com>
  11. NNTP-Posting-Host: lk-hp-20.hut.fi
  12.  
  13. In article <1992Dec23.195236.28511@netcom.com> mjb@netcom.com (Martin Brown) writes:
  14. ;; I have ansi.sys installed,
  15.  
  16. Try nnansi , it's a lot faster.
  17.  
  18. ;; Now that I want to do some ansi coding, I can't figure out how to
  19. ;; actually enter (which keys to push) the 'esc' part of the sequence.  I'm trying
  20. ;; to do this at the command prompt.
  21.  
  22. I am afraid you're out of luck! This can't be done in any other way
  23. that I know of than by kludging with the prompt command. Other shells
  24. (e.g. 4dos) give this to you as a feature, but dos command.com is not
  25. very handy with this.
  26.  
  27. I haven't used the prompt kludge for a time but anyway, esc is $e.
  28. So if you want to set the bg to blue, just say 
  29. "prompt $e[<integer>m$p$g" (was it 44?)
  30.  
  31.  
  32. -- 
  33. jkokko
  34.