Re: [PATCH] vt: fix background color on line feed

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <adaplas@...>, Linux Kernel Mailing List <linux-kernel@...>, <hpa@...>
Date: Monday, April 28, 2008 - 2:46 am

On Monday 2008-04-28 04:36, Andrew Morton wrote:
Please append:

When scrolling, part of the current screen is memcpy'd/memmove'd to
the new region, and the new line(s) that will appear as a result are
cleared using memset. However, the lines are cleared with
vc->vc_video_erase_char, causing them to be colored with the
currently active background color. This is different from X11
terminal emulators which always paint the new lines with the default
background color (e.g. `xterm -bg black`).

The clear operation (\e[1J and \e[2J) also use vc_video_erase_char,
so a new vc->vc_scrl_erase_char is introduced with contains the erase
character used for scrolling, which is built from vc->vc_def_color
instead of vc->vc_color.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] vt: fix background color on line feed, Jan Engelhardt, (Sat Apr 26, 9:12 pm)
Re: [PATCH] vt: fix background color on line feed, Andrew Morton, (Sun Apr 27, 10:36 pm)
Re: [PATCH] vt: fix background color on line feed, Jan Engelhardt, (Mon Apr 28, 2:46 am)
Re: [PATCH] vt: fix background color on line feed, Jan Engelhardt, (Tue Apr 29, 2:17 pm)
Re: [PATCH] vt: fix background color on line feed, Andrew Morton, (Tue Apr 29, 2:28 pm)