Re: linux 2.6.26 vt back_color_erase

From: Alexander V. Lukyanov
Date: Fri Oct 10 2008 - 13:08:23 EST


On Fri, Oct 03, 2008 at 12:11:47PM +0400, Alexander V. Lukyanov wrote:
> Current linux kernel has broken bce semantics. Now insert_line and
> delete_line clear the new lines with default color and not with the current
> background as they should, and what is expected by ncurses.
>
> vc->vc_scrl_erase_char was introduced in 2.6.26 for some reason. I beleave
> this change should be backed out.

I think that the test cases Jan provided could be fixed by temporary
changing erase char when doing cr/lf when vc->vc_need_wrap is true.
There is no need to change erase character for all scrolling operations.

--
Alexander.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/