pinfo: Keybindings

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