From: cga2000 <cg...@op...> - 2007-10-15 11:54:01
|
On Mon, Oct 15, 2007 at 12:43:35AM EDT, Antonino A. Daplas wrote: > On Sun, 2007-10-14 at 19:24 -0400, cga2000 wrote: > > I just had to replace the display on an old laptop and I'm trying to > > figure out if color rendering is correct. > > > > I tried setterm to set the background to black and foreground to white > > on the linux console but this doesn't seem to be doing anything. > > > > I still have what looks to be pale gray text on a dark gray background. > > > > Is there any way I can permanently change this to black & white? > > > > Try setterm -blink on | off I spent some time with setterm. The -blink on|off flag does not do anything that I could see. I also tried setterm ulcolor bright blue followed by man setterm. Sure enough the underlined parts of the man page became a nice bright blue. I also tried escape sequences such as echo "[1;36;42mthis text is a nice whatever color" and "this text .." did come out the requested color. But this last method only changed the colors for the duration of the "echo". Looks like the display of the bash prompt resets my display to the default drab grey on black (or dark grey .. I'm not sure". OTOH -inversescreen on does change the display to black over pale grey. What I can't figure out is how to set the foreground and background to something else than the default permanently. A bit like "xterm -fg color -bg othercolor". Not sure this is possible. > And let us know what kind of driver you are using. I have video=atyfb:1400x1050 in my grub boot command. The card is a mach64. > Tony Thanks, cga |