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

From: Andrew Morton
Date: Tue Apr 29 2008 - 14:29:11 EST


On Tue, 29 Apr 2008 20:17:26 +0200 (CEST)
Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:

>
> On Monday 2008-04-28 08:46, Jan Engelhardt wrote:
> >On Monday 2008-04-28 04:36, Andrew Morton wrote:
> >>> commit c5180a555ced08a7e3011c16ef796e47569ae907
> >>> Author: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
> >>> Date: Thu Apr 24 22:40:24 2008 +0200
> >>>
> >>> vt: fix background color on line feed
> >>>
> >>> A command that causes a line feed while a background color is active,
> >>> such as
> >>>
> >>> perl -e 'print "x" x 60, "\e[44m", "x" x 40, "\e[0m\n"'
> >>> and
> >>> perl -e 'print "x" x 40, "\e[44m\n", "x" x 40, "\e[0m\n"'
> >>>
> >>> causes the line that was started as a result of the line feed to be
> >>> completely filled with the currently active background color instead
> >>> of the default color.
> >>
> >>Thanks.
> >>
> >>It would be better if the the changelog were to also describe the cause of
> >>the bug, and how the patch fixes it.
> >>
> >Please append:
> >[...]
>
> I think your mailer has whitespace problems -- all whitespaces
> got replaced by two,

That's the default (ie: only ;)) behaviour of my editor's
reformat-paragraph command.

> even intrasentence after an "e.g." :-P

Perhaps I should fix that. Only I wrote it, umm, 22 years ago and forget
how it works.

--
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/