I'd like to use the scroll wheel (xterm mouse escape codes) to scroll through man pages, like I can in emacs with xterm-mouse-mode
. less doesn't seem to have support for that and short of recompiling it I can't find a way to add it.
Is there a different pager I could use that supports the scroll wheel (or a way I could get less to do it)? I'd rather not give up bold and underline if possible.
My emulator is iTerm2 on Mac OS X Yosemite, if that helps.
alternateScroll
.)less
andman
scroll for me with the scroll wheel (in terminator). Unfortunately, I can't remember what I changed, if anything. This might be useful, but I can't understand where to set options.less
version is 418. I compiled less 458 and that didn't help, so it might be something else.