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'