This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Re-enabling Scrollback after a killed editor session

Tags: None
(comma "," separated)
twunder
Registered Member
Posts
2
Karma
0
Hi,
whenever a program like e.g. nano running inside a Konsole tab gets killed (from another terminal) in such a way that it cannot quit properly, the scrollback buffer stays disabled (scrollbar disabled) inside that session. That's really annoying and therefore I'd like to find out whether there's a way (an escape sequence etc...) to manually tell Konsole to re-enable the scroll back buffer.

Thanks in advance!
Best!
Thomas
luebking
Karma
0
Code: Select all
tput rmcup

or
Code: Select all
echo -e "\e[?1049l"


Fyi, this doesn't have to do much with konsole or the scrollback buffer.
vim, less, man and quite some CLI tools use the alternative screen of the terminal (if it's capable of) - and fail to reset it if sigkill'd

You can enter this mode by hand as well:

Code: Select all
tput smcup

or
Code: Select all
echo -e "\e[?1049h"


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]