Navigation

Operators and Keywords

Function List:

C++ API

: val = PAGER ()
: old_val = PAGER (new_val)
: PAGER (new_val, "local")

Query or set the internal variable that specifies the program to use to display terminal output on your system.

The default value is normally "less", "more", or "pg", depending on what programs are installed on your system. See ‘Installation’.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: PAGER_FLAGS, page_output_immediately, more, page_screen_output.

Package: octave