this post was submitted on 23 Oct 2023
3 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1069 readers
7 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
3
Need help with most. (self.linux4noobs)
submitted 1 year ago* (last edited 1 year ago) by ikidd to c/linux4noobs
 

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here