There's a nice setting of LESS where you pipe it to less plus the options
that say "don't scroll if it fits in the window entirely", basically making
the less pipe a no-op unless the window is too small.

Here's how systemd does it:
http://git.zx2c4.com/systemd/tree/src/shared/pager.c#n89
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to