Keybindings
...........
Here's an explanation of the key names:
KEY_TOTALSEARCH_1
Key for searching through all nodes of info file.
KEY_TOTALSEARCH_2
Alternate key for searching through all nodes of info file.
KEY_SEARCH_1
Key for searching through current node (or manual).
KEY_SEARCH_2
Alternate key for searching through current node (or manual).
KEY_SEARCH_AGAIN_1
Key for repeating the last search.
KEY_SEARCH_AGAIN_2
Alternate key for repeating the last search.
KEY_GOTO_1
Key for explicitly going to a node (by specifing it's name).
KEY_GOTO_2
Alternate key for explicitly going to a node (by specifing it's
name).
KEY_PREVNODE_1
Key for going to a node marked as 'Prev' in the header. In manpage
viewer this goes to the previous man section.
KEY_PREVNODE_2
Alternate key for going to a node marked as 'Prev' in the header.
In manpage viewer this goes to the previous man section.
KEY_NEXTNODE_1
Key for going to a node marked as 'Next' in the header. In manpage
viewer this goes to the next man section.
KEY_NEXTNODE_2
Alternate key for going to a node marked as 'Next' in the header.
In manpage viewer this goes to the next man section.
KEY_UP_1
Key for scrolling text one line up. Alternate key for scrolling
text one line up.
KEY_END_1
Key for going to the end of the node. Alternate key for going to
the end of the node.
KEY_PGDN_1
Key for going one page down in the viewed node.
KEY_PGDN_2
Alternate key for going one page down in the viewed node.
KEY_PGDN_AUTO_1
Key for going to the next node when you're at the end of node
(default is zero - turned off).
KEY_PGDN_AUTO_2
Alternate key for going to the next node when you're at the end of
node (default is space, as for pgdn_2).
KEY_HOME_1
Key for going to the beginning of the node.
KEY_HOME_2
Alternate key for going to the beginning of the node.
KEY_PGUP_1
Key for going one page up in the viewed node.
KEY_PGUP_2
Alternate key for going one page up in the viewed node.
KEY_PGUP_AUTO_1
Key for going to the `up' node, when being at the top of node.
(Default value is zero - turned off).
KEY_PGUP_AUTO_2
Alternate key for going to the `up' node, when being at the top of
node. (Default value is `-', as for pgup_2).
KEY_DOWN_1
Key for scrolling the text down one line.
KEY_DOWN_2
Alternate key for scrolling the text down one line.
KEY_TOP_1
Key for going to the top (first) node. Alternate key for going to
the top (first) node.
KEY_BACK_1
Key for going back (in the history of viewed nodes).
KEY_BACK_2
Alternate key for going back (in the history of viewed nodes).
KEY_FOLLOWLINK_1
Key for following a hypertext link.
KEY_FOLLOWLINK_2
Alternate key for following a hypertext link.
KEY_REFRESH_1
Key for refreshing the screen (hardcoded is the ^L value).
KEY_REFRESH_2
Alternate key for refreshing the screen.
KEY_SHELLFEED_1
Key for calling a shell command, and passing the viewed node to the
stdin of that command.
KEY_SHELLFEED_2
Alternate key for calling a shell command, and passing the viewed
node to the stdin of that command.
KEY_QUIT_1
Key for exiting the program.
KEY_QUIT_2
Alternate key for exiting the program.
KEY_GOLINE_1
Key for going to a specified line in file.
KEY_GOLINE_2
Alternate key for going to a specified line in file.
KEY_PRINT_1
Key for printing viewed node or man page.
KEY_PRINT_2
Alternate key for printing viewed node or man page.
The special mnemonics for keys (which are defined at present) are:
KEY_BREAK
KEY_DOWN
KEY_UP
KEY_LEFT
KEY_RIGHT
KEY_DOWN
KEY_HOME
KEY_BACKSPACE
KEY_NPAGE
KEY_PPAGE
KEY_END
[Note: this works probably ONLY with linux ncurses]
KEY_F(X)
KEY_CTRL('C')
this assigns the key value to a ctrl+c combination. c may be any
letter you wish.
KEY_ALT('C')
this assigns the key value to a alt+c combination. c may be any
letter you wish. If alt key won't work, you may use ESC+key
combination.
'C'
this means a printable character c. The syntax is just like in
C/C++ ;).
[NUMBER]
you can also specify key as it's code number. It is useful e.g.
when specifing control keys, and some nonstandard keys. A
numerical value of zero turns given keybinding off.
See manual page for curs_getch(3x) for description of their meaning.
Warning! Try not to create some serious keybinding conflicts!