DVTM-PAGER(1)

πŸ’– DVTM-PAGER πŸ’–

okay bestie, welcome to the dvtm-pager page from the General Commands Manual β€” section 1, obviously. it's a lil helper script with main character energy and honestly? it's giving tiny-but-essential. let's get into it 🫢


✨ NAME ✨

dvtm-pager β€” the way it picks the perfect pager for dvtm πŸ’…


🌸 SYNOPSIS 🌸

dvtm-pager ARGS...

πŸ¦‹ DESCRIPTION πŸ¦‹

so dvtm-pager is this utility that the dvtm(1) terminal multiplexer calls in to show off its scrollback history β€” and it picks a suitable pager to do it. no cap, that's the whole job. it's the backstage manager of your scrollback. πŸ‘‘

the pager it invokes is expected to display whatever data gets sent to its standard input. and heads up β€” that data stream might contain ANSI color escape sequences, so if your pager isn't here for the rainbow, that's a you problem, not a dvtm-pager problem. 🌈

every single command line argument gets forwarded verbatim. like, character for character, no edits, no notes. and here's the cute part: dvtm(1) uses that to adjust the initial view port by passing +n β€” which means the start of line n should be displayed. so it can scroll you right to the good part. obsessed. ✨


πŸŽ€ ENVIRONMENT VARIABLES πŸŽ€

dvtm-pager goes hunting for your preferred pager by checking these variables in order, like a lil priority queue of pager opinions:

  • DVTM_PAGER β€” this one lets you invoke a pager that's specific to dvtm, or set particular flags, such as -R for less(1). iykyk πŸ’œ
  • PAGER β€” the fallback, the default pager, the reliable bestie. if DVTM_PAGER said nothing, this one steps up. 🫢

and if none of these variables are set? no worries babe, less(1) gets used. periodt. πŸ’…


🌟 SEE ALSO 🌟


πŸ‘‘ AUTHOR πŸ‘‘

dvtm is written by Marc AndrΓ© Tanner <mat at brain-dump.org> πŸ’–


πŸ’Œ a lil sign-off πŸ’Œ

this page is from dvtm version 0.15+40.g311a8c0-1build1, dated January 03, 2017. iconic, historic, and still slaying. go read your scrollback, bestie πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from