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: 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 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 .