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