ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Shift + PgUp/PgDn in terminal?

    IT Discussion
    console terminal linux shell
    2
    3
    920
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337
      last edited by 1337

      When you use Shift + PgUp/PgDn on a linux console you can scroll the screen buffer.

      Where does this behavior come from? Is it the shell, a utility on the server, is it the console client, is it the ssh client?

      It's not working for me using ssh (on windows) and I realized I have no clue where to start looking...

      EddieJenningsE 1 Reply Last reply Reply Quote 0
      • EddieJenningsE
        EddieJennings @1337
        last edited by EddieJennings

        @pete-s said in Shift + PgUp/PgDn in terminal?:

        When you use Shift + PgUp/PgDn on a linux console you can scroll the screen buffer.

        Where does this behavior come from? Is it the shell, a utility on the server, is it the console client, is it the ssh client?

        It's not working for me using ssh (on windows) and I realized I have no clue where to start looking...

        Probably specific to the config of your terminal program, unless you’re truly talking about the console itself.

        I had to alter some key bindings in Gnome Terminal to get the desired behavior from the weechat key bindings.

        1 1 Reply Last reply Reply Quote 1
        • 1
          1337 @EddieJennings
          last edited by 1337

          @eddiejennings said in Shift + PgUp/PgDn in terminal?:

          @pete-s said in Shift + PgUp/PgDn in terminal?:

          When you use Shift + PgUp/PgDn on a linux console you can scroll the screen buffer.

          Where does this behavior come from? Is it the shell, a utility on the server, is it the console client, is it the ssh client?

          It's not working for me using ssh (on windows) and I realized I have no clue where to start looking...

          Probably specific to the config of your terminal program, unless you’re truly talking about the console itself.

          I had to alter some key bindings in Gnome Terminal to get the desired behavior from the weechat key bindings.

          You were right. I was trying out Windows Terminal and running ssh inside. And shift+pgup/dn didn't work as expected.

          I looked at the Windows Terminal keybindings and the default was not what I wanted.

          So I added this under "actions" in the settings.json file:

                  // Scrollback
                  { "command": "scrollDown", "keys": "shift+down" },
                  { "command": "scrollDownPage", "keys": "shift+pgdn" },
                  { "command": "scrollUp", "keys": "shift+up" },
                  { "command": "scrollUpPage", "keys": "shift+pgup" },
          

          The added bonus is that shift+pgup/dn now also works with cmd.exe and PowerShell.

          1 Reply Last reply Reply Quote 2
          • 1 / 1
          • First post
            Last post