[SOLVED] Backspace delete in konsole

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Backspace delete in konsole

Postby tarazed » Sep 7th, '13, 13:07

Is it possible to assign Control-H to the backspace key in konsole? Gnome terminal has a compatibility option which allows it and it works fine in emacs as well. It does not appear to be possible to modify this key through general keyboard settings. In the past I have had to use .Xdefaults to change the keymappings and would do this for KDE if there is no other way.
Last edited by tarazed on Sep 7th, '13, 14:49, edited 1 time in total.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: Backspace delete in konsole

Postby tarazed » Sep 7th, '13, 13:16

I note that ihowarth had found a general solution to this.
bindkey "^H" delete-char
bindkey "^?" backward-delete-char
into .tcshrc


Worth trying.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: Backspace delete in konsole

Postby tarazed » Sep 7th, '13, 14:49

Good. The login shell fix with bindkey works both for GNOME and KDE. However, if gnome-terminal has already been reconfigured via compatibility options then each profile needs to be returned to Default settings under the compatibility tab.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: [SOLVED] Backspace delete in konsole

Postby doktor5000 » Sep 7th, '13, 16:41

Under manage profiles -> keyboard you can also change that, no?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Backspace delete in konsole

Postby tarazed » Sep 7th, '13, 19:28

I had looked at that option and decided that I did not know enough to try it. However I had a go just now and completely broke it. It may be configurable but I reckon I need to go on a course just to do that one thing. I tried removing the definition for Backspace and adding what I thought might be Control-H:
Code: Select all
\x07
. Wasn't sure how to do the test and went ahead and tried using it, without any apparent result. Went back in and tried to put things back the way they were and made things worse. My try was \xf7 which I think was the original code but that only produced the division sign on testing. Have no idea how to restore defaults. Would creating a new profile pick up the defaults?
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49

Re: [SOLVED] Backspace delete in konsole

Postby tarazed » Sep 7th, '13, 20:28

Panic over. I selected the Linux console for each profile in keyboard configuration and checked various keyboard symbols to make sure the layout had not changed.

I also tested the output of the Backspace key and found \x7f, not \xf7. Bad memory heh? Went back to the default XFree 4 keyboard and corrected the Backspace entry and it worked as expected, as a backspace delete.
tarazed
 
Posts: 273
Joined: Sep 18th, '11, 01:49


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest