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.
# QTerminal backspace fix
# bindkey '^H' backward-delete-char # Backspace -> delete last char
# bindkey '^?' backward-kill-word # Ctrl+Backspace -> delete last word
(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:
compatible with #1
solves #483
might also be related (please confirm) -> #235
To help with reviewing the changes the following diff-line can be used (from the qtermwidget directory):
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):