Red Hat Bugzilla – Bug 107593
less doesn't page up well under gnome-terminal
Last modified: 2007-04-18 12:58:35 EDT
less displays some errors to stdout during scroll up, triggered by hitting the
"page up" key. seems to happen with all LANG settings.
For repeatable test, run `man bash` then hit the 'end' key to scroll to the end
of input. Hit the 'page up' key to scroll back a page. Output seems to
repeatedly display the top line of the display, writing a new line at a time
(containing the same string) without overwriting any lines at the top of the
screen with new output. Reading a large file (more than displayed on a single
screen) with less causes identical symptoms.
I don't see this error at a linux text console outside of X, or in konsole.
I don't see this with
That said, it might be related to bug 91691.
I get this problem on Fedora Core 2.
$ rpm -q gnome-terminal less man
$ echo $LANG
What version of VTE do you have? Are you running Fedora Core 2, or
Fedora Core 3 test 2?
I also see this in RHEL 3, update 3.
normally, I use konsole in RHEL. gnome-terminal launched from command
line under konsole. in the new gnome-terminal session, I ran `man
bash`, and see a long lag on writes when pgup'ing... mirrors symptoms
in original report.
I just found a workaround for this bug (which still exists in FC3).
Try adding the "-h0" option to less. To make it permanent, I added an
alias less='less -h0' in /etc/profile.d/less.sh and also added '-h0'
to the PAGER variable in /etc/man.config, to fix the man command as well.
This is already fixed in FC5.