[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2023-08-27 Thread ariasuni
https://bugs.kde.org/show_bug.cgi?id=391075

ariasuni  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #18 from ariasuni  ---
I’m closing this as resolved since the problem I initially reported is fixed,
and there was no activity for almost 4 years.

Other problems mentioned in this thread should have their own bug reports, if
there are still there/relevant.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2021-03-10 Thread Egmont Koblinger
https://bugs.kde.org/show_bug.cgi?id=391075

Egmont Koblinger  changed:

   What|Removed |Added

 CC|egm...@gmail.com|

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-08 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #17 from Ahmad Samir  ---
Using the latest .keytab from master should give the behaviour you describe;
basically the two rules concerning Backspace mean:
Backspace-Ctrl: will send ^?
Backspace+Ctrl: will send ^H

The first rule also works for Alt, i.e. pressing Backspace without Control will
always send ^?.

And the bug I was talking about happens if you edit a keybiding scheme, then
apply, the changes don't seem to take effect in the current konsole window (I
should open a bug report to track the issue, but I need to test again).

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #16 from Christian Herenz  ---
Just to add, as this was maybe not clear from my inital reply ^[^?
 is the desired alt+backspace behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #15 from Christian Herenz  ---
Here is what I propose - the old set of defaults dates back to a long long
time, as can be seen by its name... Nobody nowadays even remembers what XFree
is.  Still, these settings have value, and I think that these old settings
should be available as a profile (which does not necessarily need to be the
default).  So I suggest to have a profile with those old settings (XFree) and a
new default, maybe just named Default?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

Christian Herenz  changed:

   What|Removed |Added

Version|17.12.2 |18.04.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #14 from Christian Herenz  ---
I agree that this is a mess, and GNOME Terminal was also plagued by bugs in
this respect in the past. Actually, KDE Konsole always seemed to better
implement sane settings in XTerm (not the defaults) then GNOME Terminal.  One
of the reasons why I like it so much!

Thanks especially to your last link, that shows what is going on.  Actually it
appears that in the KDE version that ships with debian buster (current stable)
this commit was the last with respect to Alt+Backspace

https://cgit.kde.org/konsole.git/commit/data/keyboard-layouts/default.keytab?id=5345bbb0afa8edd6ba4909eca2495745df36f6a1

When I press Alt + Backspace I get ^[^H - in later commits you have changed
this again - but these changes are not in 18.04.0 that ships with debian... Is
this correct?  If so, then feel free to close this bug.

On a side note - I can not reproduce the bug of profiles not being applied
immediately. If I go to "Edit Current Profile" and change the Keyboard layout
the changes are applied immediately - so this might be a regression?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #12 from Ahmad Samir  ---
Those key bindings are a major pain... :)

Here's how I tested:
- First xterm, I searched online and found one can use
$ stty raw
$ sed -n l
 then press the key binding, the output was:
Backspace: ^?
Ctrl + Backspace: ^H
Alt + Backspace: ^[^? 

I get the same output in konsole with the current default keybinding schema;
and also if I create a new schema, based on the default one, and revert the
changes i.e. remove these two entries:
Backspace - Ctrl
Backspace + Ctrl

and add the old entry before any of those changes:
Backspace \x7f

Apply the change and start a new konsole window (it seems there is a bug where
the new keybinding doesn't get applied except for newly started instances); and
I get the same behaviour.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #13 from Ahmad Samir  ---
For the whole history of these changes:
https://cgit.kde.org/konsole.git/log/data/keyboard-layouts/default.keytab

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

Christian Herenz  changed:

   What|Removed |Added

 Blocks||405612


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=405612
[Bug 405612] ctrl+L or ctrl+shift+k does not clear /usr/bin/screen correctly
-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #11 from Christian Herenz  ---
Note also, that your change could be made as a separate profile that comes with
Konsole, rather than changing the defaults that have been in shipped with
Konsole since version 1.2.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-11-07 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #10 from Christian Herenz  ---
Konsole emulates the XTerm setting "Meta sends escape" - this is pressing
Alt+Backspace used to default to emulate the sequence Esc + Backspace.  With
the new setting now Alt + Backspace sends Esc + Alt + Backspace.  XTerm does
not by default enable "Meta sends escape", but it is hard-coded in Konsole.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-10-30 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #9 from Ahmad Samir  ---
Could explain in more details, how did Alt+Backspace work before the update?
and how does it work now?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2019-10-29 Thread Christian Herenz
https://bugs.kde.org/show_bug.cgi?id=391075

Christian Herenz  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---
 CC||christian.her...@astro.su.s
   ||e

--- Comment #8 from Christian Herenz  ---
After a upgrading my debian stable boxes to Buster I wondered why alt+backspace
stopped working in Konsole the way it used to.  After a lot of trial and error
I finally stumbled about this revision, which is causing this wreck.  Of
course, I can customise it back the way it was by reversing your changes  ..
Nevertheless, since the change fixed the intended behaviour but broke an other
keybinding I think I need to report it here. Probably something else needs to
be added to restore the alt+backspace behaviour, while also having the intended
ctrl+backspace behaviour.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-28 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #7 from Kurt Hindenburg  ---
We can add it to the handbook - I'm never quite sure how many people use that.

The Keyboard tab has a lot of space at the bottom; I wonder if something could
be put there.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-28 Thread ariasuni
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #6 from ariasuni  ---
It should be included or mentionned in Konsole Handbook then
().

Should I open another issue about it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-28 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #5 from Ahmad Samir  ---
FTR, the way to configure the key bindings in konsole is documented here:
https://cgit.kde.org/konsole.git/tree/data/keyboard-layouts/README.KeyTab

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-28 Thread ariasuni
https://bugs.kde.org/show_bug.cgi?id=391075

--- Comment #4 from ariasuni  ---
Thanks a lot. Konsole team is awesomely reactive to my bug reports.

I’m not sure how terminfo works, but this should probably be reflected in it to
avoid edge cases in shell’s configurations.

Ahmad, I knew I could configure that behavior but I tried and it didn’t work;
this is the kind of things that are confusing as hell for people that don’t
understand any of the arcane of terminal emulators.

The change made by Kurt will make life a lot easier for people, because this
default is the same as several other terminal emulators (references like xterm
and urxvt, or the similar GNOME-terminal) and just works without drawbacks (as
far as I know).

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-27 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=391075

Kurt Hindenburg  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/kon
   ||sole/5345bbb0afa8edd6ba4909
   ||eca2495745df36f6a1
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Kurt Hindenburg  ---
Git commit 5345bbb0afa8edd6ba4909eca2495745df36f6a1 by Kurt Hindenburg, on
behalf of Ahmad Samir.
Committed on 28/02/2018 at 04:04.
Pushed by hindenburg into branch 'master'.

Match xterm behaviour when pressing Ctrl+Backspace

Summary:
Change the default keyboard translator to match xterm behaviour:
 - Pressing Backspace without any modifiers sends '^?', ASCII DEL
   character
 - Pressing Control+Backspace sends '^H', BS character

Test Plan:
- Before applying the patch pressing Ctrl+V (to insert verbatim) then
  Backspace, sends '^?'; the same happens with Ctrl+Backspace
- With the patch:
  - pressing Ctrl+V then Backspace sends '^?'
  - pressing Ctrl+V then Ctrl+Backspace sends '^H'

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: ngraham

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D10884

M  +5-1data/keyboard-layouts/default.keytab

https://commits.kde.org/konsole/5345bbb0afa8edd6ba4909eca2495745df36f6a1

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-27 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

Ahmad Samir  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-27 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=391075

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

--- Comment #2 from Ahmad Samir  ---
https://phabricator.kde.org/D10884

FTR, you can fine tune the behaviour using Konsole key bindings editor (Edit
current profile -> Keyboard -> Edit); for example you can edit the "Default
(XFree 4)" bindings:
- In the table, select "Backspace" and change it to "Backspace-AnyModifier"
- Add a new entry by clicking Add and use "Backspace+Ctrl" and "\b" for the
"Key combination" and "Output" fields respectively.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 391075] Can’t bind Ctrl+Backspace

2018-02-26 Thread Egmont Koblinger
https://bugs.kde.org/show_bug.cgi?id=391075

Egmont Koblinger  changed:

   What|Removed |Added

 CC||egm...@gmail.com

--- Comment #1 from Egmont Koblinger  ---
> Konsole should probably act like GNOME terminal in this regard.

GNOME Terminal acts like xterm in this regard :)
(https://bugzilla.gnome.org/show_bug.cgi?id=733246)

-- 
You are receiving this mail because:
You are watching all bug changes.