[This file explains the usage of the netrik interactive UI. See index.txt or index.html for an overview of available netrik documentation.]
Note: netrik is still in early developement state; keystrokes and commands are subject to changes.
netrik's user interface works just like the editor "vi", and some other common programs (e.g. "less").
There are a couple of operation modes, each one with distinct behaviour; these modes can be switched upon need.
The mode entered when starting netrik, and used most of the time, is "normal mode". In this mode you can move around the page, using either the normal cursor keys, or the letter keys on the main keypad. (The latter has the advantage that you needn't take your hands off the normal typing position.) The typed letters do not show up anywhere in this mode; they only tell netrik to do some special action -- just like the cursor keys.
By typing ':' in normal mode, another mode is entered, named "command prompt". This is indicated by a ':' showing up at the beginning of the bottom screen line, and the cursor standing just behind this ':'. You can type in a command here. The command is executed as soon as you type <return>, and netrik returns to normal mode.
If compiled using the GNU Readline library (default), you can use all the handy keystrokes for editing the command prompt that are also available in other programs using Readline. (e.g. the standard GNU/Linux shell "bash".)
^r reload current page b <left> back to previous page in history f <right> forward to next page in history (after 'b') B back to page before last absolute URL entered/followed (previous site) F forward to page before next absolute URL entered/followed j <cr> scroll one line forward J <down> go to next link, or scroll one line forward (if no more links on screen) k <bs> scroll one line backward K <up> go to previous link, or scroll one line backward (if no more links on screen) u show link URL U show absolute link target URL c show current page URL <del> scroll two lines forward <ins> scroll two lines backward ^F <space> scroll one screen forward ^B - scroll one screen backward ^D <PgDn> scroll one half screen forward ^U <PgUp> scroll one half screen backward g <Home> go to page top G <End> go to page end q quit netrik : enter command prompt (s.b.)
Only one command is available yet (in two variations):
:e URL load file "URL" and display it in the pager (URL relative to current page) :E URL load file "URL" and display it in the pager (absolute URL)