37
12
In Ubuntu, I want to scroll up while a command is running in my terminal window and generates new output (actually the command running is rspec). I can scroll up, but each time rspec generates a new line of console output it throws me back down to the bottom. Is there a way to scroll all up? I'm using terminator on Linux Mint/Ubuntu 12.04 LTS
UPDATE
I found a possible workaround Terminator homepage says that with
stty ixon
you can turn on "XON/XOFF flow control for terminal output. Being able to pause output by typing ^S and resume it by typing ^Q [...]"
This it not totally what I wanted though, without having to pause the output (and maybe wondering when forgetting to turn it on again), I thought there might be a simple modifier key like shft-alt with mouse wheel scroll-up.. Any better solutions?
That's one thing that I really like about LXTerminal (LXDE). – Matthew Lundberg – 2013-01-24T14:37:43.230
Are you scrolling by Shift-PgUp or by scrollbar? – ott-- – 2013-01-24T15:25:11.733
@MatthewLundberg Normally with mouse scroll wheel, so scrollbar. But it also doesn't work with shift-pgup :( Can I have lxterminal inside of terminator as well, do you know? – Yo Ludke – 2013-01-24T15:33:24.630
1
xfce4-terminal
has an option called Scroll on output that you can uncheck and does just what you asked. – Martín Canaval – 2013-01-24T16:16:40.1531As a workaround, you could send the output to a file, open another terminal and
tail -f file.txt
to see it as it is generated. That would leave your 1st terminal free to scroll back and still let you watch the output in realtime. Not elegant I know. – terdon – 2013-01-24T17:43:43.750Following on terdon's suggestion, there's also piping the contents to
less
ormore
as well – Dolan Antenucci – 2013-01-26T15:23:00.100