Summary: | Backspace doesn't send characters based on the current terminfo entry | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Mark Manning <mark4th> |
Component: | keyboard | Assignee: | Konsole Developer <konsole-devel> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | a.samirh78, nate |
Priority: | NOR | ||
Version: | 20.08.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mark Manning
2021-03-22 16:45:03 UTC
Please check which key binding scheme is selected in "Edit current profile"->Keyboard, "Default" should give the behaviour you want, i.e. Backspace sends \x7f. thats the INCORRECT response the CORRECT response is for the backspace key to return exactly what terminfo says the backspace key will return. Either terminfo for konsole needs to be changed or konsole needs to be changed. Per terminfo the correct return value for a backspace key is 0x08 or control H not 0x7f infocmp on my system shows: # Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm-256color xterm-256color|xterm with 256 colors, and: kbs=^? Ctrl+V then Backspace shows '^?' Ctrl+V then Ctrl+Backspace shows '^H' in Konsole, XTerm, and Gnome-terminal. infocmp -1 in Konsole Reconstructed via infocmp from file: /etc/terminfo/x/xterm-256color kbs=^H, control v + backspace also returns ^? which is contrary to what terminfo says xterm returns values in line with what is specified in the terminfo file here, it returns ^H for backspace I would say this is by design, the details are explained in https://invent.kde.org/utilities/konsole/-/blob/master/doc/user/README.keyboard so Konsole doesn't follow the terminfo in this case, but offers an editor to let the user change it easily. Oooh so when a USER writes an application using my text user interface github.com/mark4th/uCurses , that application is going to FAIL in konsole because it wont be able to recognize a backspace on every konsole it is run in. yes ****I*** can change MY instance of konsole to perform with CORRECT behavior but me fixing MY konsole does not fix everyone elses. Konsole has incorrect behavior, its not me that needs to fix it :/ |