The patch titled vt: fix background color on line feed, DEC invert has been added to the -mm tree. Its filename is vt-fix-background-color-on-line-feed-dec-invert.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: vt: fix background color on line feed, DEC invert From: Jan Engelhardt <jengelh@xxxxxxxxxx> Original report: """I used to force my console to black-on-white by the command `setterm -inversescreen on`. In 2.6.26-rc4, I get lots of black background characters.""" Another addendum to commit c9e587ab. This was previously missed out since I was not aware of what vc_decscnm was for. Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx> Reported-by: <thunder7@xxxxxxxxx> Tested-by: <thunder7@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/vt.c~vt-fix-background-color-on-line-feed-dec-invert drivers/char/vt.c --- a/drivers/char/vt.c~vt-fix-background-color-on-line-feed-dec-invert +++ a/drivers/char/vt.c @@ -434,7 +434,7 @@ static void update_attr(struct vc_data * vc->vc_blink, vc->vc_underline, vc->vc_reverse ^ vc->vc_decscnm, vc->vc_italic); vc->vc_video_erase_char = (build_attr(vc, vc->vc_color, 1, vc->vc_blink, 0, vc->vc_decscnm, 0) << 8) | ' '; - vc->vc_scrl_erase_char = (build_attr(vc, vc->vc_def_color, 1, false, false, false, false) << 8) | ' '; + vc->vc_scrl_erase_char = (build_attr(vc, vc->vc_def_color, 1, false, false, vc->vc_decscnm, false) << 8) | ' '; } /* Note: inverting the screen twice should revert to the original state */ _ Patches currently in -mm which might be from jengelh@xxxxxxxxxx are fs-make-struct-file-arg-to-d_path-const.patch vt-fix-background-color-on-line-feed-dec-invert.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html