public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* vt: regression caused by "Fix line garbage in virtual.."
@ 2012-11-18 11:05 Krzysztof Mazur
  2012-11-19 11:38 ` Alan Cox
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Mazur @ 2012-11-18 11:05 UTC (permalink / raw)
  To: gregkh, moinejf; +Cc: linux-kernel, alan

Hi,

commit 81732c3b2fede049a692e58a7ceabb6d18ffb18c
(tty vt: Fix line garbage in virtual console on command line edition)
introduced some regression in deleting characters/clearing line during
selecting previous command in bash by using "up" arrow.


The problem can be reproduced by two following commands:

echo -n "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
echo -e "\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x1b\x5b\x33\x50\x64\x72\x69\x76\x65\x72\x73\x2f\x69\x6e\x70\x75\x74\x2f\x6d\x6f\x75\x73\x65\x64\x65\x76\x2e\x63"

(the first command generates just some garbage, the second command
generates string captured by strace when the issue occured).


On Linux v3.6 the resulting line is:

...AAAdrivers/input/mousedev.c

with fbcon on inteldrmfb and v3.7-rc6
...AAAdrivers/input/mousedev.c  A

with fbcon on radeondrmfb and v3.7-rc6
...AAAdrivers/input/mousedev.cAAA


There are some garbage after mousedev.c not present on older kernels.

Reverting commit 81732c in v3.7-rc6 fixes the issue.

Krzysiek

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-20 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-18 11:05 vt: regression caused by "Fix line garbage in virtual.." Krzysztof Mazur
2012-11-19 11:38 ` Alan Cox
2012-11-19 19:21   ` Jean-Francois Moine
2012-11-19 21:15     ` Krzysztof Mazur
2012-11-20  8:54       ` Jean-Francois Moine
2012-11-20 15:20         ` Krzysztof Mazur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox