Follow

elaborating my previous post, your terminal initializes some variables like COLUMNS, LINES; the geometry of your terminal. with LINES, one can cast a nice command to do the before said:
`pr -l$((LINES-1)) filename | less`
this assumes you have tmux open, if it is not, then do not subtract one from LINES. to update the LINES variable after changing the font size, use the `resize` command. for further information, check the manpage. one can add margin with `-o`, for example.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko