News for hackers. Stuff that matters.
Re:Assorted Less(1) Tips by layer8 on Friday January 02, 2026 @11:09AM (#46466196)
It would be nice to have a mode that follows in the sense of automatically picking up new output, but that simultaneously would let you navigate around, similar to how terminals behave. Then you’d only need an autoscroll toggle for when you’re at the bottom.
Re:Assorted Less(1) Tips by gerdesj on Friday January 02, 2026 @12:52PM (#46467388)
Take a look at "lnav" ...
Re:Assorted Less(1) Tips by tstack on Saturday January 03, 2026 @02:06PM (#46480291)
To elaborate on this, lnav (https://lnav.org) is always polling files to check for new data and will load it in automatically. It does not require the user to do anything.

As far as following the tail of the file: if the focused line is at the end of the file, the display will scroll automatically; otherwise, the display will stick to the current position. Also, if there is a search active, matches in the new data will be found and highlighted.

Re:Assorted Less(1) Tips by 1718627440 on Sunday January 04, 2026 @02:09PM (#46491117)
> autoscroll toggle

This exists on IBM keyboards and is called 'Pause'. Sadly most programs don't use it.