Friday, May 3, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 10090  / 2 Years ago, thu, november 10, 2022, 9:00:19

I've grown quite weary of shift-pgup to page up in gnome terminal, the command line, terminator, and guake, etc.



Any way to easily make these apps use the straight page-up and page-down keys for paging around?


More From » command-line

 Answers
7

I am afraid this is not possible, as no PgUp/PgDown will be sent to command-line applications, which will render some of them unusable. This is a good old days Unix feature.


If you want more user-friendly scrolling, I suggest using the less command. It's used this way:


command-with-lot-of-output | less

This will start the less command with output of your original command. (*More about piping output to other programs can be found here.


less can be navigated using arrows or PgUp/PgDown. For your convenience it also provides searching and more (see man less for more). You can quit less by pressing the q key.


[#36536] Saturday, November 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pardsea

Total Points: 290
Total Questions: 115
Total Answers: 98

Location: Svalbard and Jan Mayen
Member since Sun, Sep 25, 2022
2 Years ago
;