Summary: | backspace key code should be changed at runtime to match stty erase | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Ričardas Čepas <rch> |
Component: | general | Assignee: | Robert Knight <robertknight> |
Status: | RESOLVED REMIND | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Patch to get the erase character from the terminal, rather than setting the terminal erase char to match the entry for the Backspace key in the .keytab file |
Description
Ričardas Čepas
2002-01-22 16:10:19 UTC
In addition that changing of stty erase value to ^? is out of sync with vt420pc.keytab entry where Backspace key character is set to 8. If konsole insists on changing ERASE value it should at least do that according to keymap/terminal chosen. Created attachment 22611 [details]
Patch to get the erase character from the terminal, rather than setting the terminal erase char to match the entry for the Backspace key in the .keytab file
The above patch applies to Konsole in trunk (KDE 4.0). Already committed for KDE 4 is support for an 'Erase' command which can be set as the result for a key sequence. eg: key Backspace : Erase When backspace is pressed, this will be translated into the erase character used by the terminal. I have not committed it yet because I haven't tested it on any system other than my Ubuntu Linux 6.10 desktop. I looked at the xterm code which gets/sets the terminal attributes including the erase character on startup, but it is very convoluted with #ifdefs everywhere. Closing as REMIND until this issue is brought up again with regards to newer systems. |