Prevent (xfce) terminal from scrolling with output
- Open Xfce Terminal preferences: Edit > Preferences...
- On the Scrolling section of the General tab uncheck the Scroll on output checkbox
With this option the terminal still scrolls automatically on new output, but if you scroll upwards it'll stop scrolling automatically.
In case anyone's interested, here's how to do this using the command line:
grep -q ScrollingOnOutput ~/.config/xfce4/terminal/terminalrc || echo "ScrollingOnOutput=FALSE" >> ~/.config/xfce4/terminal/terminalrc && sed -i -E 's/^ScrollingOnOutput=.*/ScrollingOnOutput=FALSE/' ~/.config/xfce4/terminal/terminalrc