Skip Navigation
Linux 101 stuff. Questions are encouraged, noobs are welcome! @lemmy.world ikidd @lemmy.world

Need help with most.

If I pipe in something to most that's wider than my terminal width, it'll page it sideways but only single character at a time with an arrow key. I want most to behave like less, which will scroll sideways with an arrow key almost a full page (60 columns I believe), which most will do also if I use Tab/Ctrl-B or ">" and "<" (as gleaned from the man page). But I have no use for single character scrolling, so I'd like arrows to do the same as Tab and <>.

Is there a way to change the default behaviour of most to the same horizontal scrolling behaviour as less? I would just use less except it displays the first page of a command like docker ps with lines wrapped for some reason (maybe this is some limitation in Dolphin?). If I scroll right the other columns show up right, but for some reason less and more both mess up the first page. No clue why most works correctly. Frankly, if I could fix less I'd be happier since my muscle memory makes me want to pipe to less all the time anyway, and it's installed by default in most distros I use, unlike most.

Also, trying to search up help on anything with a name like "most" is next to impossible.

0
0 comments