DomTerm includes a builtin “pager” that gives you
functionality similar to programs like
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
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
Automatic Pager option in the right-click (context) menu.
(You can also type
ctrl-shift-M (to enter pause mode);
a (to enable auto-pause and also exit pause mode).
To enter pager mode, you first have to enter pause mode,
and then type
The following key-bindings are in effect in pager or paused mode.
Some other these may be prefixed by a numeric
Toggle automatic-pause mode on and off, and then exit pager mode.
count percent of the way between start
and end positions.
Interrupt output by sending
Ctrl-C to the application,
and then exit paging mode after scrolling to the end.
Toggle between pager and paused modes.
Return to normal mode. If paused, allow further output.
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.
count lines down.
Otherwise similar to Space.
count screenfuls up/down.
Scroll to the current “pager home”. (Details needed ...)
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:
Scroll to top/bottom.
Scroll one “page” up or down.
Scroll one line up or down.