Linux Terminal - how to scroll one line at a time (instead of multiple lines)
  Home FAQ Contact Sign in
comp.os.linux.misc only
 
Advanced search
POPULAR GROUPS

more...

comp.os.linux.misc Profile…
 Up
Linux Terminal - how to scroll one line at a time (instead of multiple lines)         


Author: Avner
Date: Apr 18, 2008 09:49

I'm using the FC8 GNOME Terminal 2.18.4.

The key binding "Cntrl" and "Page Up" scrolls up on page.
In a similar way I want to scroll a single line at a time
I want to add a key binding composed from the buttons "Shift" and
"Page Up" to scroll up a single line

My questions are:
a. How do I scroll a single line?
b. How do I create a key binding to this command?

Thanks,
Avner
2 Comments
Re: Linux Terminal - how to scroll one line at a time (instead of multiple lines)         


Author: Enrique Perez-Terron
Date: Apr 19, 2008 07:23

On Fri, 18 Apr 2008 09:49:50 -0700, Avner wrote:
> I'm using the FC8 GNOME Terminal 2.18.4.
>
> The key binding "Cntrl" and "Page Up" scrolls up on page. In a similar
> way I want to scroll a single line at a time I want to add a key binding
> composed from the buttons "Shift" and "Page Up" to scroll up a single
> line
>
> My questions are:
> a. How do I scroll a single line?
> b. How do I create a key binding to this command?

I am afraid you will have to use the source code to figure out.
Maybe under the hood, the program still uses the old X resources to
handle key bindings, but if that is the case, it does not appear to be
documented.

Regards
no comments
Re: Linux Terminal - how to scroll one line at a time (instead of multiple lines)         


Author: Unruh
Date: Apr 19, 2008 16:50

Enrique Perez-Terron writes:
>On Fri, 18 Apr 2008 09:49:50 -0700, Avner wrote:
>> I'm using the FC8 GNOME Terminal 2.18.4.
>>
>> The key binding "Cntrl" and "Page Up" scrolls up on page. In a similar
>> way I want to scroll a single line at a time I want to add a key binding
>> composed from the buttons "Shift" and "Page Up" to scroll up a single
>> line
>>
>> My questions are:
>> a. How do I scroll a single line?
>> b. How do I create a key binding to this command?

Since you are in X, you can use the mouse on the arrows on the top and
bottom of the scroll bar in gnome-terminal.
no comments