🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #2797

Re: ANSI ESC sequence, how??

#2797
From: Jari Kokko
Date: Thu, 24 Dec 1992 11:10
21 lines
1213 bytes
In article <1992Dec23.195236.28511@netcom.com> mjb@netcom.com (Martin Brown) writes:
;; I have ansi.sys installed,

Try nnansi , it's a lot faster.

;; 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 trying
;; to do this at the command prompt.

I am afraid you're out of luck! This can't be done in any other way
that I know of than by kludging with the prompt command. Other shells
(e.g. 4dos) give this to you as a feature, but dos command.com is not
very handy with this.

I haven't used the prompt kludge for a time but anyway, esc is $e.
So if you want to set the bg to blue, just say 
"prompt $e[<integer>m$p$g" (was it 44?)


-- 
jkokko
Technical Details
Message-ID: <1hc5qoINNjl2@sauna.cs.hut.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!sauna.cs.hut.fi!lk-hp-20.hut.fi!jkokko
References: <1992Dec23.195236.28511@netcom.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ajk.tele.fi!funic!sauna.cs.hut.fi!lk-hp-20.hut.fi!jkokko
From: jkokko@lk-hp-20.hut.fi (Jari Kokko)
Newsgroups: comp.os.msdos.misc
Subject: Re: ANSI ESC sequence, how??
Date: 24 Dec 1992 11:10:16 GMT
Organization: Helsinki University of Technology
Lines: 21
Distribution: inet
Message-ID: <1hc5qoINNjl2@sauna.cs.hut.fi>
References: <1992Dec23.195236.28511@netcom.com>
NNTP-Posting-Host: lk-hp-20.hut.fi