Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't like to touch it every time. After googling I found Ctrl+Shift+(Up/Down) does this on other Linux systems. But it doesn't seem to work on my CentOS.

Could somebody give the easiest solution to this problem?

share|improve this question

On more recent versions of gnome-terminal, Shift+Ctrl+ and Shift+Ctrl+ work for scrolling by line, but I have no way of checking for 2.31.

share|improve this answer

CentOS 6 has 2.31.3; CentOS 7 has 3.14.3 (where the feature works). It is not a new feature, having been introduced in 2007:

Bug 118967 – single line scrolling with "Ctrl+Shift+ArrowUp/ArrowDown"

while 2.31.3 dates from 2010 (a noticeable delay even for the enterprise releases).

However, it does not work with CentOS 6 and incidentally, the git-commit logs for vte and gnome-terminal do not appear to mention when it was fixed. Likewise, if there were a bug-report associated with the change, one might point to when the feature was broken.

The feature also appears to be not configurable, as one might expect: there is no shortcut for this key combination in the preferences dialog.

Given all of that, there's no apparent workaround in CentOS 6, and the feature might be (still) working in CentOS 7 when you upgrade.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.