4

While using gnome-terminal, the only way to view output is to use the scroll bar on one of the sides of the emulator.

By default the arrow keys() are set to browse through history commands one by one.

I want to use ScrLk⇓ with the arrow keys to browse through output rather than history(i.e when ScrLk⇓ is inactive, arrow keys would browse through history and when ScrLk⇓ is active, arrow keys would browse through output).

How do I do this?

NOTE: By default, ScrLk⇓ key is not detected by X and only detected by tty. So I made it detectable by using the following commands.

  • First checked the empty mod with,

    xmodmap -pm
    
  • Then assigned ScrLk⇓ to empty mod 3,

    xmodmap -e 'add mod3 = Scroll_Lock'
    
2
  • 1
    I hope you are aware about Shift + PageUp and Shift + PageDown shortcuts to scroll the contents of terminal window.
    – Aditya
    May 12, 2014 at 8:48
  • That's not a comment! That's an answer! Thanks! (and upvoted!)
    – Fabby
    Nov 22, 2014 at 0:51

0

You must log in to answer this question.

Browse other questions tagged .