From: "Gary Hubbard" Newsgroups: comp.os.msdos.djgpp Subject: Screen colors under Win2K Date: Tue, 18 Mar 2003 09:04:33 -0800 Organization: Sandia National Laboratories, Albuquerque, NM USA Lines: 20 Message-ID: NNTP-Posting-Host: hubbardpc.ran.sandia.gov X-Trace: sass2141.sandia.gov 1048007043 19203 134.252.7.230 (18 Mar 2003 17:04:03 GMT) X-Complaints-To: usenet AT sass2141 DOT sandia DOT gov NNTP-Posting-Date: Tue, 18 Mar 2003 17:04:03 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am wondering if there is a way to change the default screen colors for DJGPP programs under Windows 2000. I am running in the standard cmd.exe console window. On Win95 I used ansi.sys and set my prompt to change the colors and normal DJGPP programs, like djecho, followed suit. Under Win2K I change the color attributes of the window using the properties dialog box to display in black on white, but normal stdio writes come out in white on black. It is a bit distracting when compiler messages and grep searches come out with their colors reversed from my "normal". Clearly I can fix this by running in bash, but other users run some of my programs and I would prefer their output go be in the right color. Examining a couple of examples that use colors, less and ls, was no help. Both seem to do lots of extra things to get control of the screen colors.