[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <48D5240D.7070701@skyrush.com>
Date: Sat, 20 Sep 2008 10:25:49 -0600
From: Joe Peterson <joe@...rush.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Alan Cox <alan@...rguk.ukuu.org.uk>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] Fix backspace on wrapped lines in console (virtual terminal)
Attached is a patch that fixes virtual terminal problems when backspace
is used on wrapped lines (see patch text for the specific issues). The
issues can be demonstrated by trying two things in the console (vt):
#1
1) issue the "cat" command
2) type characters until you have wrapped cursor to next line
3) hit backspace (nothing happens visually, but char(s) are erased
in buf, as seen when enter is hit and line is printed to display)
#2
1) issue the "cat" command
2) type characters until you are at the very end of the line
(cursor now on last char - i.e. in "need_wrap" state)
3) hit backspace (it moves back and visually erases 2nd to last char,
but hitting enter shows that last char was actually erased in buffer)
-Joe
View attachment "vt-fix-wrapped-backspace.patch" of type "text/plain" (1393 bytes)
Powered by blists - more mailing lists