MobaXTerm : How to change mouse scroll in to terminal screen scroll up/down?
Solution 1
I believe if you hold Shift down it will scroll the output and not simply cycle through command history.
Solution 2
This is not a default behaviour and cannot be configured using the UI / settings dialogue. You have to manually edit the ini-file.
- Close MobaXTerm, otherwise changes to the ini-file will be overwritten
- find the documents inside your user folder and got to the folder named MobaXterm
- open the file named MobaXterm.ini with a text editor
- look for the section called [Misc]
-
in this section add a line like this:
ScrollMod=alt
Chosse a parameter that suits your needs: alt | ctrl | shift
- open MobXTerm again and scroll the window holding down the selected control key
see MobaXTerm-documentation here: https://blog.mobatek.net/post/mobaxterm-configuration-settings/
But heads up. This will probably still cause problems inside a screen session. You can fix this quick by pressing Ctrl + A and Esc or edit your .screenrc as described here:
termcapinfo xterm* ti@:te@ In tmux, it'd be something like (.tmux.conf):
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
Related videos on Youtube
diman82
Updated on September 18, 2022Comments
-
diman82 over 1 year
The default behavior is history commands scrolling. Any way to change it?
-
confetti over 5 yearsIf you're not sure, you should leave a comment for OP to verify. If it turns out to be helpful you can leave a full answer for OP to accept.
-
diman82 about 3 yearsWorks well, but not in tmux