From: Krzysztof Mazur <krzysiek@podlesie.net>
To: gregkh@linuxfoundation.org, moinejf@free.fr
Cc: linux-kernel@vger.kernel.org, alan@linux.intel.com
Subject: vt: regression caused by "Fix line garbage in virtual.."
Date: Sun, 18 Nov 2012 12:05:23 +0100 [thread overview]
Message-ID: <20121118110523.GA12094@shrek.podlesie.net> (raw)
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
next reply other threads:[~2012-11-18 11:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-18 11:05 Krzysztof Mazur [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121118110523.GA12094@shrek.podlesie.net \
--to=krzysiek@podlesie.net \
--cc=alan@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=moinejf@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®