dvtm

Fork of dvtm, a minimal terminal multiplexer
git clone git://git.laack.co/dvtm.git
Log | Files | Refs | README | LICENSE

dvtm-pager.1 (1126B)


      1 .Dd January 03, 2017
      2 .Dt DVTM-PAGER 1
      3 .Os dvtm VERSION
      4 .Sh NAME
      5 .Nm dvtm-pager
      6 .Nd select apropriate pager for dvtm
      7 .
      8 .
      9 .Sh SYNOPSIS
     10 .
     11 .Nm
     12 ARGS...
     13 .
     14 .
     15 .Sh DESCRIPTION
     16 .
     17 .Nm
     18 is an utility used by the
     19 .Xr dvtm 1
     20 terminal multiplexer to display its scrollback history using a suitable pager.
     21 .Pp
     22 The invoked pager is expected to display the data sent to its standard input.
     23 The data stream might contain ANSI color escape sequence.
     24 All command line arguments are forwarded verbatim.
     25 .Xr dvtm 1
     26 uses this to adjust the initial view port by passing
     27 .Sy +n ,
     28 meaning the start of line
     29 .Sy n
     30 should be displayed.
     31 .
     32 .
     33 .Sh ENVIRONMENT VARIABLES
     34 .
     35 .Nm
     36 will try to find the preferred pager by checking these variables in order:
     37 .
     38 .Bl -tag -width indent
     39 .It Ev DVTM_PAGER
     40 Permitting to invoke a pager specific to dvtm, or set particular flags such as
     41 .Fl R
     42 for
     43 .Xr less 1 .
     44 .
     45 .It Ev PAGER
     46 Falling back to the default pager.
     47 .El
     48 .Pp
     49 If none of these variables are set,
     50 .Xr less 1
     51 is used.
     52 .
     53 .
     54 .Sh SEE ALSO
     55 .
     56 .Xr less 1 ,
     57 .Xr dvtm 1 ,
     58 .Xr dvtm-editor 1
     59 .
     60 .
     61 .Sh AUTHOR
     62 .
     63 dvtm is written by
     64 .An Marc André Tanner Aq Mt mat at brain-dump.org