Scrolling is disabled all of a sudden in terminal
Sometimes I use the terminal (konsole) and all of a sudden the behaviour when mouse scrolling goes from scrolling through past output to scrolling through the history on the command prompt, and there is no way to see the past output anymore. (The scrollbar is still there but it is as if there were no past output)
Since it only happens sometimes, and if I open a new subwindow it defaults back to scrolling through past output, I am guessing I am inadvertently hitting some shortcut that toggles between these modes, but I can't find out which shortcut it is.
How can I get out of this weird scrolling through history mode?
terminal scrolling konsole
add a comment |
Sometimes I use the terminal (konsole) and all of a sudden the behaviour when mouse scrolling goes from scrolling through past output to scrolling through the history on the command prompt, and there is no way to see the past output anymore. (The scrollbar is still there but it is as if there were no past output)
Since it only happens sometimes, and if I open a new subwindow it defaults back to scrolling through past output, I am guessing I am inadvertently hitting some shortcut that toggles between these modes, but I can't find out which shortcut it is.
How can I get out of this weird scrolling through history mode?
terminal scrolling konsole
add a comment |
Sometimes I use the terminal (konsole) and all of a sudden the behaviour when mouse scrolling goes from scrolling through past output to scrolling through the history on the command prompt, and there is no way to see the past output anymore. (The scrollbar is still there but it is as if there were no past output)
Since it only happens sometimes, and if I open a new subwindow it defaults back to scrolling through past output, I am guessing I am inadvertently hitting some shortcut that toggles between these modes, but I can't find out which shortcut it is.
How can I get out of this weird scrolling through history mode?
terminal scrolling konsole
Sometimes I use the terminal (konsole) and all of a sudden the behaviour when mouse scrolling goes from scrolling through past output to scrolling through the history on the command prompt, and there is no way to see the past output anymore. (The scrollbar is still there but it is as if there were no past output)
Since it only happens sometimes, and if I open a new subwindow it defaults back to scrolling through past output, I am guessing I am inadvertently hitting some shortcut that toggles between these modes, but I can't find out which shortcut it is.
How can I get out of this weird scrolling through history mode?
terminal scrolling konsole
terminal scrolling konsole
asked Feb 4 '16 at 18:40
fifaltrafifaltra
270215
270215
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Perhaps you ran a subshell from an editor, and it left the terminal in the alternate screen. You can test that by
tput rmcup
which would return to the normal display.
While in the alternate screen, some terminals may override the scroll-wheel action by sending up/down cursor escapes.
add a comment |
If tput rmcup
won't work then try closing all the terminals and then use new terminals.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f259922%2fscrolling-is-disabled-all-of-a-sudden-in-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Perhaps you ran a subshell from an editor, and it left the terminal in the alternate screen. You can test that by
tput rmcup
which would return to the normal display.
While in the alternate screen, some terminals may override the scroll-wheel action by sending up/down cursor escapes.
add a comment |
Perhaps you ran a subshell from an editor, and it left the terminal in the alternate screen. You can test that by
tput rmcup
which would return to the normal display.
While in the alternate screen, some terminals may override the scroll-wheel action by sending up/down cursor escapes.
add a comment |
Perhaps you ran a subshell from an editor, and it left the terminal in the alternate screen. You can test that by
tput rmcup
which would return to the normal display.
While in the alternate screen, some terminals may override the scroll-wheel action by sending up/down cursor escapes.
Perhaps you ran a subshell from an editor, and it left the terminal in the alternate screen. You can test that by
tput rmcup
which would return to the normal display.
While in the alternate screen, some terminals may override the scroll-wheel action by sending up/down cursor escapes.
answered Feb 4 '16 at 22:20
Thomas DickeyThomas Dickey
53.4k5101174
53.4k5101174
add a comment |
add a comment |
If tput rmcup
won't work then try closing all the terminals and then use new terminals.
add a comment |
If tput rmcup
won't work then try closing all the terminals and then use new terminals.
add a comment |
If tput rmcup
won't work then try closing all the terminals and then use new terminals.
If tput rmcup
won't work then try closing all the terminals and then use new terminals.
answered 19 mins ago
Yasiru GYasiru G
1477
1477
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f259922%2fscrolling-is-disabled-all-of-a-sudden-in-terminal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown