Added a keytab that fixes the backspace and ctrl-backspace behaviour #547
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The original default.keytab file breaks the behaviour of the backspace key (for Linux at least) so that QTerminal behaves in an incompatible way to other terminal emulators (like Konsole, Gnome Terminal and the like).
This becomes especially prominent in "user friendly" shells like zsh, fish and the like as they make use of word-wise navigation a lot. In bash this is less prominent, but also produces side-effects…
Although a common workaround method editing the zsh, fish, … configuration files is not a good idea. This method introduces additional interoperability issues with system terminal (tty). However here is an example of a modfied .zshrc for reference.
(note this modificatiion breaks tty (system terminal) interoperability)
With this additional
default-backspace-fix.keytab
file this will become selectable and just work as expected by users (and it is more likely people will find it).Related issues:
To help with reviewing the changes the following diff-line can be used (from the qtermwidget directory):
diff --color=always --side-by-side lib/default.keytab lib/kb-layouts/default-backspace-fix.keytab |less -R