Questions tagged [scrolling]
167 questions
901
votes
3 answers
How to unfreeze after accidentally pressing Ctrl-S in a terminal?
It's a situation that has happened quite often to me: after I press (with a different intention) Ctrl-S in a terminal, the interaction (input or output) with it is frozen. It's probably a kind of "scroll lock" or whatever.
How do I unfreeze the…

imz -- Ivan Zakharyaschev
- 14,533
- 12
- 58
- 118
555
votes
7 answers
Scroll inside Screen, or Pause Output
I use screen for my command-line tasks while managing the servers where I work. I usually run small commands (mostly file-system tasks) but sometimes I run more extensive tasks (like DBA).
The output of those tasks is important to me. Since I use…

AeroCross
- 6,083
- 4
- 16
- 7
192
votes
2 answers
How to put current line at top/center/bottom of screen in vim?
Any quicker navigation trick to place the line at which the cursor is at the moment to the
top of the screen?
center of the screen?
bottom of the screen?

mtk
- 25,150
- 34
- 89
- 125
84
votes
4 answers
Use Mosh without giving up local scrollback / history?
Is there a way to use mosh without giving up the local scrollback?
Basically, in some circumstances, IP-roaming is indeed useful and needed, but the extra terminal emulation and key prediction seems to only be getting rid of the local scrollback…

cnst
- 3,091
- 2
- 21
- 44
69
votes
5 answers
Can mouse wheel scrolling work in a Screen session?
Is there any way to use the mouse wheel to scroll through the output of a screen session?
I can use the keypad scroll through previous output in screen after pressing ctrl+a [. Is it possible to do this with the mouse wheel?
(I'm using putty, but I…

kristi
- 791
- 1
- 6
- 6
66
votes
5 answers
How to scroll the screen using the middle click?
On Windows, most programs with large, scrollable text containers (e.g. all browsers, most word processors and IDEs) let you press the middle mouse button and then move the mouse to scroll. This scrolling is smooth and allows you to scroll very…

Mark Amery
- 2,670
- 5
- 20
- 29
45
votes
4 answers
Make mouse movements scroll when the middle button is held down
In Windows, I'm used to clicking the center button and it offering a "fast scroll" option up or down. How can I get this behavior on Linux? It currently seems to use the back button upon center click instead.
I use Gnome under CentOS.

some1
- 1,726
- 4
- 20
- 27
41
votes
4 answers
Horizontal scrolling in smaller increments with less -S
I'm using less to parse HTTP access logs. I want to view everything neatly on single lines, so I'm using -S.
The problem I have is that the first third of my terminal window is taken up with metadata that I don't care about. When I use my arrow keys…

Mike
- 722
- 1
- 6
- 14
32
votes
1 answer
What exactly is scrollback and scrollback buffer?
What are "scrollback" and "scrollback buffer" in programs like bash and screen, and how do they relate to the tty, the programs being run, and stdin/ stdout/ stderr?
Here is the only definition of "scrollback" I found so far (in the archlinux…

Oleg
- 2,130
- 7
- 24
- 33
28
votes
3 answers
How to change scroll speed with libinput?
I'm running on Arch Linux, Xfce 4.12.
My mouse wheel scrolls too slowly, so I want to increase the number of lines for each scroll "tick". I read that this is possible by setting the Evdev Scrolling Distance with xinput, however, I am using libinput…

Andrew Sun
- 458
- 1
- 4
- 11
28
votes
4 answers
Scrollbar moves to where I click
I use MATE on Fedora. At some point, the behavior of scrollbars on many applications has changed. When I click below a scrollbar, now the scrollbar jumps to where I clicked. Previously, it used to page down by one page (if I clicked anywhere…

D.W.
- 3,574
- 5
- 31
- 41
25
votes
2 answers
Shortcut key for scrolling inside a terminal
What is the shortcut key for scrolling inside a terminal?
If I hit the Up or Down arrow or PageUp or PageDown, it will only traverse through command history, not let me traverse the previous part displayed in the terminal.
Especially when I run…

Tim
- 92,534
- 165
- 512
- 896
23
votes
7 answers
How to scroll large datafile while keeping header
Suppose I have some large datafile, which overflow the screen in both vertical and horizontal direction. How can I browse this file, while the header-lines stay on the screen?
For the moment, I am using less -S, so that I can nicely scroll my file…

Bernhard
- 11,464
- 3
- 56
- 69
23
votes
2 answers
Is there a way to make Screen scroll like a normal terminal?
I love screen, but it drives me nuts that I have to stop typing input, hit CTRL+A [, and then find what I need.
Is there a way to make the scroll wheel function normally, rather than scrolling commands?
Also, is it possible to enable…

Bryan Agee
- 929
- 1
- 9
- 14
18
votes
3 answers
Mouse scroll wheel speed problem with linux kernel 5.0
Sometimes, the mouse scrolling speed changes to a very slow rate, where it takes many clicks (3-8 clicks) or significant wheel rotation to scroll the page one step. This started after upgrading to linux kernel 5.0. It has not happened yet after…

adatum
- 1,001
- 2
- 11
- 25