DomTerm includes a builtin “pager” that gives you
functionality similar to programs like less
.
You can set “auto-pause” which enters the pager each time
a full screen has been displayed.
We will discuss two related modes. Pager mode does the following:
The key-bindings are changed to be more
like the less
program or Emacs “view mode”.
Automatically scrolling (on output) is turned off.
Pause mode additionally does the following:
Suspends additional output from updating the display. Any not-yet-displayed output is queued up, and the sending (client process) will suspend too.
You enter pause mode in two basic ways
You manually enter pause mode by typing Ctrl-Shift-M.
You automatically enter pause mode if automatic pausing is enabled, and a “full screen” is displayed since last user interaction: Any further output would cause part of the visible screen to scroll off.
To enable automatic-pause mode you can
check the Automatic Pager
option in the right-click (context) menu.
(You can also type ctrl-shift-M
(to enter pause mode);
then a
(to enable auto-pause and also exit pause mode).
To enter pager mode, you first have to enter pause mode,
and then type P
.
The following key-bindings are in effect in pager or paused mode.
Some other these may be prefixed by a numeric count
.
A
Toggle automatic-pause mode on and off, and then exit pager mode.
p
%
Move to count
percent of the way between start
and end positions.
Ctrl-C
Interrupt output by sending Ctrl-C
to the application,
and then exit paging mode after scrolling to the end.
m
Toggle between pager and paused modes.
Ctrl-Shift-M
Return to normal mode. If paused, allow further output.
Space
Scroll count
screenfuls down.
If we go past the bottom of the current output,
leave pause or pager mode, and allow further output.
Temporarily set automatic-pause mode, so that we pause again
if the screen fills up again.
Enter
Scroll count
lines down.
Otherwise similar to Space.
PageUp
PageDown
Scroll count
screenfuls up/down.
Home
Scroll to the current “pager home”. (Details needed ...)
End
Scroll the end of the buffer. If paused and already at the end, un-pause. I.e. continue displaying output until the next action.
DomTerm does not yet implement a search command, but most browsers have a find-in-page command, commonly bound to Ctrl-F.
In addition the following work as in all other modes:
Alt-Shift-Home
Alt-Shift-End
Scroll to top/bottom.
Alt-Shift-PageUp
Alt-Shift-PageDown
Scroll one “page” up or down.
Alt-Shift-Up
Alt-Shift-Down
Scroll one line up or down.