VGA console palette & virtual console switching

Tuukka Toivonen (tuukkat@ees2.oulu.fi)
Fri, 17 Jul 1998 20:04:24 +0300 (EET DST)


Console ioctl PIO_CMAP sets the color palette for all virtual
consoles (in 2.0.34).

Why it doesn't change the palette only for a single virtual
console? Is it a design feature or is it that nobody just
hasn't written the code?

Is this same for 2.1.x?

If it's the latter, I could look at it. But not if it is
non-wanted feature.

Maybe there should be two palettes that could be set? One
would set default for newly opened virtual consoles and another
would set the current vc palette.

I'm writing a program that would change the palette. If the
palette setting is global, the program would need to grab
virtual console switching and restore the palette itself.
I consider this is a bit clumsy.

--
| Tuukka Toivonen <tuukkat@ee.oulu.fi>       [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/       available]
| Try also finger -l tuukkat@ee.oulu.fi
| Studying information engineering at the University of Oulu
+-----------------------------------------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html