[konsole] [Bug 405612] ctrl+L or ctrl+shift+k does not clear /usr/bin/screen correctly

Mariusz Glebocki bugzilla_noreply at kde.org
Sun Mar 24 20:16:01 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=405612

--- Comment #5 from Mariusz Glebocki <mglb at arccos-1.net> ---
(In reply to Egmont Koblinger from comment #4)
> > detect the `screen` is running
> 
> Sounds hackish to me, IMO the terminal's behavior shouldn't depend on the
> app running inside.

I'm not a big fan either, but there is ssh detection/integration - hence the
idea.

> > and send clearing escape sequences to it
> 
> How would you do it (keeping in mind that its keybindings are configurable)?
> Maybe allow to configure in konsole the keycombo to send for each particular
> app?

Sorry, my mistake - I just realized the escape sequence would need to be send
to screen-controlled pty, not konsole's. This would be pretty big hack.

> If you really wish to go this direction, maybe you could make it independent
> from clearing the screen, and instead allow to specify arbitrary remapping
> based on the running application (and perhaps other circumstances too)?
> 
> E.g. if vim is running then Shift+Ctrl+W, instead of closing the tab, could
> emit `:qEnter`, or sure you can come up with other ideas along these lines.

This could be done with some shortcut managers (e.g. KDE's Custom Shortcuts) -
the only problem is to detect program inside terminal in other way than setting
its name as a part of a window title.



The first question is a duplicate, the second one not a bug/not fixable. Am I
missing something?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list