I have found a bug in the linux console. It is present in 2.0.35,
2.0.36pre1, 2.1.110-2.1.112pre2. I have not tried a kernel WITHOUT seeing
the bug, so I believe, it is present in all of them.
I am using a "dead keys" keyboard layout ("dk-latin1"). The flaw is, that
the dead keys sticks with the console to the next command line, if it is
the last key pressed before a <return>. I guess, an example will be easier
to understand (obtained with 2.1.112pre2):
[pbk2906@qake /]$ cd (Keypresses: "c" "d" " " "~" "<return>")
[pbk2906@qake pbk2906]$~ls (Keypresses: "l" "s" "<return>")
bash: ~ls: command not found
In other words, the "~" is neither printed nor removed from the keyboard
buffer, but parsed on BOTH command lines!
I believe, the correct behaviour would be, if the first "<return>"
triggered the dead "~" with this result (note: output is made up!):
[pbk2906@qake /]$ cd ~ (Keypresses: "c" "d" " " "~" "<return>")
[pbk2906@qake pbk2906]$ls (Keypresses: "l" "s" "<return>")
Mail db axhome
.....
I'm using Redhat5.1 with the kernels mentioned above.
Claus Hindsgaul Hansen
Bergs=F8e Kollegiet 2906
DK-2850 N=E6rum, Denmark
Phone (+45) 4550 5171 2906
claush@ REMOVE.bergsoe.dtu.dk
http://www.student.dtu.dk/~c918280
"A day without coffee is... like a day without coffee!"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html