Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A patch to allow setting EGA/VGA screen border color

9 views
Skip to first unread message

Lou Sortman

unread,
Sep 4, 1994, 3:33:35 PM9/4/94
to
I have written a patch to allow setting the color of the screen
border on EGA/VGA text displays. Even though it is only ~3.5K
in size, I hesitate to post it here. How should I go about
releasing it so as not to disturb kernel development much?
It would be nice to get it included in the official kernel.

Here are the comments from the patch:

# This is a patch to the Linux kernel console driver to add the capability of
# setting the border color on EGA or VGA displays. I saw somewhere that seting
# the border color is an extension of setting the text foreground and
# background colors; ie: ^[[5xm instead of ^[[3xm and ^[[4xm.

# So it is implemented here.

# Resetting the terminal sets the border color to be the same as the text
# background color. In order to be able to use this feature, you must
# put the entry ':rs=\Ec:' somewhere in /etc/termcap. Then you will
# be able to set the border color to the background color by invoking
# the following command:
# setterm -reset

# You can explicitly set the border color to the background color
# (without resetting the terminal) by using ^[[59m.
--
l...@tfnet.ils.unc.edu (Lou Sortman) for(i=0; i<3; i++) puts(
"Janet! Dr. Scott! \n"
"Janet! Brad! \n"
Whoever dies with the most LEGO wins. "Rocky! <Uh!> \n");

0 new messages