🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5687

Re: forcing color change from dos

#5687
From: J.BONILHA
Date: Mon, 17 Feb 1986 15:53
26 lines
1333 bytes
I have a PC/AT ( DOS 3.1  ) and I implemented the following, giving 
yellow foreground and blue background:

I added to CONFIG.SYS the following line :

DEVICE=C:ANSI.SYS ( or the appropriate pathname ; this file comes with
MS DOS )


added to AUTOEXEC.BAT:

TYPE YELLOW.BLU    ( or the appropriate filename )

Created file YELLOW.BLU containing the following escape sequence:

ESC[1;33;44m 

 I used vi to create this file, but a BASIC program would do it, if 
 EDLIN rejects the escape sequence.

More information can be found on the DOS Technical Reference, Chapter 3:
Using Extended Screen and Keyboard Control( section on SET GRAPHICS 
RENDITION - SGR ).

This manual doesn't come with the PC and has to be purchased from IBM 
at a cost of $100 .
Technical Details
Message-ID: <882@hou2d.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!houxm!hou2d!jrmb
References: <1031@loral.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83 based; site hou2d.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!houxm!hou2d!jrmb
From: jrmb@hou2d.UUCP (J.BONILHA)
Newsgroups: net.micro.pc
Subject: Re: forcing color change from dos
Message-ID: <882@hou2d.UUCP>
Date: Mon, 17-Feb-86 10:53:58 EST
Article-I.D.: hou2d.882
Posted: Mon Feb 17 10:53:58 1986
Date-Received: Tue, 18-Feb-86 04:02:29 EST
References: <1031@loral.UUCP>
Organization: AT&T Bell Labs, Holmdel NJ
Lines: 26
Keywords: color dos