Horizontal scroll in a bash window
-
24-09-2019 - |
Question
I used printf to output a columnar display of a text file.
However the length I wanted will cause the columns to flow into the next line.
I've been searching for a flag or workaround that will make the console window scroll and could only come across the following:
set horizontal-scroll-mode On
It's right under the #! /bin/bash line, but couldn't work
Is there another way?
OTHER TIPS
No. Terminals are not designed to scroll horizontally. Use less -S
to allow scrolling left and right as well as up and down.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow