Is there a way to make Screen scroll like a normal terminal?












20















I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [, and then find what I need.



Is there a way to make the scroll wheel function normally, rather than scrolling commands?



Also, is it possible to enable Shift+PageUp/PageDn?










share|improve this question


















  • 2





    Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.

    – jw013
    Jul 17 '12 at 1:08













  • aperiodic.net/screen/faq you probably just have to disable the alternate screen

    – Ulrich Dangel
    Jul 17 '12 at 1:52











  • just to add a reference: Scroll inside Screen, or Pause Output

    – jozxyqk
    Jun 16 '17 at 22:05


















20















I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [, and then find what I need.



Is there a way to make the scroll wheel function normally, rather than scrolling commands?



Also, is it possible to enable Shift+PageUp/PageDn?










share|improve this question


















  • 2





    Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.

    – jw013
    Jul 17 '12 at 1:08













  • aperiodic.net/screen/faq you probably just have to disable the alternate screen

    – Ulrich Dangel
    Jul 17 '12 at 1:52











  • just to add a reference: Scroll inside Screen, or Pause Output

    – jozxyqk
    Jun 16 '17 at 22:05
















20












20








20


6






I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [, and then find what I need.



Is there a way to make the scroll wheel function normally, rather than scrolling commands?



Also, is it possible to enable Shift+PageUp/PageDn?










share|improve this question














I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [, and then find what I need.



Is there a way to make the scroll wheel function normally, rather than scrolling commands?



Also, is it possible to enable Shift+PageUp/PageDn?







gnu-screen scrolling






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 17 '12 at 1:00









Bryan AgeeBryan Agee

4791614




4791614








  • 2





    Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.

    – jw013
    Jul 17 '12 at 1:08













  • aperiodic.net/screen/faq you probably just have to disable the alternate screen

    – Ulrich Dangel
    Jul 17 '12 at 1:52











  • just to add a reference: Scroll inside Screen, or Pause Output

    – jozxyqk
    Jun 16 '17 at 22:05
















  • 2





    Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.

    – jw013
    Jul 17 '12 at 1:08













  • aperiodic.net/screen/faq you probably just have to disable the alternate screen

    – Ulrich Dangel
    Jul 17 '12 at 1:52











  • just to add a reference: Scroll inside Screen, or Pause Output

    – jozxyqk
    Jun 16 '17 at 22:05










2




2





Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.

– jw013
Jul 17 '12 at 1:08







Not an answer but tmux makes this much easier. I've tried to do this in screen before but it seems to always involve mapping arcane escape codes that vary by terminal emulator.

– jw013
Jul 17 '12 at 1:08















aperiodic.net/screen/faq you probably just have to disable the alternate screen

– Ulrich Dangel
Jul 17 '12 at 1:52





aperiodic.net/screen/faq you probably just have to disable the alternate screen

– Ulrich Dangel
Jul 17 '12 at 1:52













just to add a reference: Scroll inside Screen, or Pause Output

– jozxyqk
Jun 16 '17 at 22:05







just to add a reference: Scroll inside Screen, or Pause Output

– jozxyqk
Jun 16 '17 at 22:05












2 Answers
2






active

oldest

votes


















15





+100









I use these settings with urxvt in my ~/.screenrc:



termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'


Those allow for scrollbar and mouse wheel to do "the right thing™".



Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt. If it doesn't work, try replacing rxvt and rxvt-unicode with the appropriate terminal type (get this by running printf $TERM.)






share|improve this answer





















  • 2





    +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

    – daniel kullmann
    Jul 17 '12 at 7:24













  • when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

    – daniel kullmann
    Jul 17 '12 at 7:31











  • When I use screen in gnome-terminal. Don't worry about it...

    – daniel kullmann
    Jul 17 '12 at 7:38








  • 1





    This also worked for me using xterm in place of rvxt*. Thanks!

    – Bryan Agee
    Jul 19 '12 at 18:24











  • Could you explain what each of these command do, please?

    – Totor
    May 3 '14 at 12:39



















0














check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:



termcapinfo xterm* ti@:te@


or to be more complete:



termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@


absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.



Term Cap is a device independent terminal description library/database.



References/copies from:



Terminal: termcapinfo command not found



https://en.wikipedia.org/wiki/Termcap






share|improve this answer








New contributor




Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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%2f43229%2fis-there-a-way-to-make-screen-scroll-like-a-normal-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









    15





    +100









    I use these settings with urxvt in my ~/.screenrc:



    termcapinfo rxvt-unicode ti@:te@
    termcapinfo rxvt ti@:te@
    termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'


    Those allow for scrollbar and mouse wheel to do "the right thing™".



    Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt. If it doesn't work, try replacing rxvt and rxvt-unicode with the appropriate terminal type (get this by running printf $TERM.)






    share|improve this answer





















    • 2





      +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

      – daniel kullmann
      Jul 17 '12 at 7:24













    • when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

      – daniel kullmann
      Jul 17 '12 at 7:31











    • When I use screen in gnome-terminal. Don't worry about it...

      – daniel kullmann
      Jul 17 '12 at 7:38








    • 1





      This also worked for me using xterm in place of rvxt*. Thanks!

      – Bryan Agee
      Jul 19 '12 at 18:24











    • Could you explain what each of these command do, please?

      – Totor
      May 3 '14 at 12:39
















    15





    +100









    I use these settings with urxvt in my ~/.screenrc:



    termcapinfo rxvt-unicode ti@:te@
    termcapinfo rxvt ti@:te@
    termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'


    Those allow for scrollbar and mouse wheel to do "the right thing™".



    Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt. If it doesn't work, try replacing rxvt and rxvt-unicode with the appropriate terminal type (get this by running printf $TERM.)






    share|improve this answer





















    • 2





      +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

      – daniel kullmann
      Jul 17 '12 at 7:24













    • when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

      – daniel kullmann
      Jul 17 '12 at 7:31











    • When I use screen in gnome-terminal. Don't worry about it...

      – daniel kullmann
      Jul 17 '12 at 7:38








    • 1





      This also worked for me using xterm in place of rvxt*. Thanks!

      – Bryan Agee
      Jul 19 '12 at 18:24











    • Could you explain what each of these command do, please?

      – Totor
      May 3 '14 at 12:39














    15





    +100







    15





    +100



    15




    +100





    I use these settings with urxvt in my ~/.screenrc:



    termcapinfo rxvt-unicode ti@:te@
    termcapinfo rxvt ti@:te@
    termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'


    Those allow for scrollbar and mouse wheel to do "the right thing™".



    Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt. If it doesn't work, try replacing rxvt and rxvt-unicode with the appropriate terminal type (get this by running printf $TERM.)






    share|improve this answer















    I use these settings with urxvt in my ~/.screenrc:



    termcapinfo rxvt-unicode ti@:te@
    termcapinfo rxvt ti@:te@
    termcapinfo rxvt 'hs:ts=E]2;:fs=07:ds=E]2;screen07'


    Those allow for scrollbar and mouse wheel to do "the right thing™".



    Note that this is dependent on terminal type, so will not work if your terminal is not of type rxvt. If it doesn't work, try replacing rxvt and rxvt-unicode with the appropriate terminal type (get this by running printf $TERM.)







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 24 '18 at 0:47









    miken32

    18711




    18711










    answered Jul 17 '12 at 7:06









    SardathrionSardathrion

    2,47742349




    2,47742349








    • 2





      +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

      – daniel kullmann
      Jul 17 '12 at 7:24













    • when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

      – daniel kullmann
      Jul 17 '12 at 7:31











    • When I use screen in gnome-terminal. Don't worry about it...

      – daniel kullmann
      Jul 17 '12 at 7:38








    • 1





      This also worked for me using xterm in place of rvxt*. Thanks!

      – Bryan Agee
      Jul 19 '12 at 18:24











    • Could you explain what each of these command do, please?

      – Totor
      May 3 '14 at 12:39














    • 2





      +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

      – daniel kullmann
      Jul 17 '12 at 7:24













    • when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

      – daniel kullmann
      Jul 17 '12 at 7:31











    • When I use screen in gnome-terminal. Don't worry about it...

      – daniel kullmann
      Jul 17 '12 at 7:38








    • 1





      This also worked for me using xterm in place of rvxt*. Thanks!

      – Bryan Agee
      Jul 19 '12 at 18:24











    • Could you explain what each of these command do, please?

      – Totor
      May 3 '14 at 12:39








    2




    2





    +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

    – daniel kullmann
    Jul 17 '12 at 7:24







    +1. Using "xterm" instead of "rxvt" and "rxvt-unicode", Shift-PgUp/-PgDown work for me on gnome-terminal. But the mousewheel scrolls in the shell history.

    – daniel kullmann
    Jul 17 '12 at 7:24















    when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

    – daniel kullmann
    Jul 17 '12 at 7:31





    when using gnome-terminal, mousewheel scrolls normal, i.e. in scrollback.

    – daniel kullmann
    Jul 17 '12 at 7:31













    When I use screen in gnome-terminal. Don't worry about it...

    – daniel kullmann
    Jul 17 '12 at 7:38







    When I use screen in gnome-terminal. Don't worry about it...

    – daniel kullmann
    Jul 17 '12 at 7:38






    1




    1





    This also worked for me using xterm in place of rvxt*. Thanks!

    – Bryan Agee
    Jul 19 '12 at 18:24





    This also worked for me using xterm in place of rvxt*. Thanks!

    – Bryan Agee
    Jul 19 '12 at 18:24













    Could you explain what each of these command do, please?

    – Totor
    May 3 '14 at 12:39





    Could you explain what each of these command do, please?

    – Totor
    May 3 '14 at 12:39













    0














    check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:



    termcapinfo xterm* ti@:te@


    or to be more complete:



    termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@


    absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.



    Term Cap is a device independent terminal description library/database.



    References/copies from:



    Terminal: termcapinfo command not found



    https://en.wikipedia.org/wiki/Termcap






    share|improve this answer








    New contributor




    Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

























      0














      check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:



      termcapinfo xterm* ti@:te@


      or to be more complete:



      termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@


      absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.



      Term Cap is a device independent terminal description library/database.



      References/copies from:



      Terminal: termcapinfo command not found



      https://en.wikipedia.org/wiki/Termcap






      share|improve this answer








      New contributor




      Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        0












        0








        0







        check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:



        termcapinfo xterm* ti@:te@


        or to be more complete:



        termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@


        absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.



        Term Cap is a device independent terminal description library/database.



        References/copies from:



        Terminal: termcapinfo command not found



        https://en.wikipedia.org/wiki/Termcap






        share|improve this answer








        New contributor




        Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        check your $TERM variable to see what terminal you are actually using. If its xterm (or xterm*) use add this to ~/.screenrc to allow mouse scrolling:



        termcapinfo xterm* ti@:te@


        or to be more complete:



        termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@


        absent modifying your ~/.screenrc, you can scroll with Ctrl-a ESC and then use up-down arrows. q to quit.



        Term Cap is a device independent terminal description library/database.



        References/copies from:



        Terminal: termcapinfo command not found



        https://en.wikipedia.org/wiki/Termcap







        share|improve this answer








        New contributor




        Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 4 hours ago









        BrianBrian

        11




        11




        New contributor




        Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Brian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f43229%2fis-there-a-way-to-make-screen-scroll-like-a-normal-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

            Loup dans la culture

            How to solve the problem of ntp “Unable to contact time server” from KDE?

            ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux