Disable line wrapping for output in the Terminal
Solution 1:
tput did the trick for me:
tput rmam
disables line wrapping.
tput smam
enables line wrapping.
Solution 2:
Pipe the output through less -S
:
-S or --chop-long-lines
Causes lines longer than the screen width to be chopped (truncated)
rather than wrapped. That is, the portion of a long line that does
not fit in the screen width is not shown. The default is to wrap
long lines; that is, display the remainder on the next line.
I tried to explain what might be going on here, though this won't result in a way to scroll horizontally with a scrollbar, as you seem to want.