Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!mcvax!ukc!rde From: rde@ukc.UUCP Newsgroups: net.micro.pc Subject: Re: forcing color change from dos Message-ID: <791@eagle.ukc.ac.uk> Date: Wed, 19-Feb-86 08:13:14 EST Article-I.D.: eagle.791 Posted: Wed Feb 19 08:13:14 1986 Date-Received: Fri, 21-Feb-86 07:23:51 EST References: <1031@loral.UUCP> <882@hou2d.UUCP> Reply-To: rde@eagle.UUCP (R.D.Eager) Organization: U of Kent at Canterbury, Canterbury, UK Lines: 41 Keywords: color dos In article <882@hou2d.UUCP> jrmb@hou2d.UUCP writes: >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 . If you don't want to buy the DOS manual, try looking at a copy of the ANSI standard for terminals. It includes the colour changing codes as an ISO extension. Or...(plug plug) buy my book "Intro to PCDOS" which has a lot of this stuff in appendices and costs a lot less than a DOS manual -) -- Bob Eager rde@ukc.UUCP rde@ukc ...!mcvax!ukc!rde Phone: +44 227 66822 ext 7589