Scrolling is disabled all of a sudden in terminal












5















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?










share|improve this question



























    5















    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?










    share|improve this question

























      5












      5








      5


      1






      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 4 '16 at 18:40









      fifaltrafifaltra

      270215




      270215






















          2 Answers
          2






          active

          oldest

          votes


















          8














          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.






          share|improve this answer































            0














            If tput rmcup won't work then try closing all the terminals and then use new terminals.






            share|improve this answer























              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
              });


              }
              });














              draft saved

              draft discarded


















              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









              8














              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.






              share|improve this answer




























                8














                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.






                share|improve this answer


























                  8












                  8








                  8







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 4 '16 at 22:20









                  Thomas DickeyThomas Dickey

                  53.4k5101174




                  53.4k5101174

























                      0














                      If tput rmcup won't work then try closing all the terminals and then use new terminals.






                      share|improve this answer




























                        0














                        If tput rmcup won't work then try closing all the terminals and then use new terminals.






                        share|improve this answer


























                          0












                          0








                          0







                          If tput rmcup won't work then try closing all the terminals and then use new terminals.






                          share|improve this answer













                          If tput rmcup won't work then try closing all the terminals and then use new terminals.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 19 mins ago









                          Yasiru GYasiru G

                          1477




                          1477






























                              draft saved

                              draft discarded




















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              濃尾地震

                              How to rewrite equation of hyperbola in standard form

                              No ethernet ip address in my vocore2