Volver al índice


pinfo

Comando para mostrar información de los programas del proyecto GNU parecido a "info" [ver] pero más configurable.

$ pinfo ip

Ejemplo de archivo de configuración http://pinfo.sourceforge.net/doc/pinfo.html#SEC8

$ nano .pinforc

# Here are some colour setting.

# Whitespace between the entries is optional.

#

COL_NORMAL        =COLOR_WHITE,    COLOR_BLACK, NO_BOLD, NO_BLINK

COL_MENUSELECTED  =COLOR_RED,      COLOR_BLACK, BOLD,    NO_BLINK

COL_MENU          =COLOR_BLUE,     COLOR_BLACK, BOLD,    NO_BLINK

COL_NOTESELECTED  =COLOR_RED,      COLOR_BLACK, BOLD,    NO_BLINK

COL_NOTE          =COLOR_GREEN,    COLOR_BLACK, BOLD,    NO_BLINK

COL_TOPLINE       =COLOR_YELLOW,   COLOR_BLUE,  BOLD,    NO_BLINK

COL_BOTTOMLINE    =COLOR_YELLOW,   COLOR_BLUE,  BOLD,    NO_BLINK

COL_MANUALBOLD    =COLOR_WHITE,    COLOR_BLACK, BOLD,    NO_BLINK

COL_MANUALITALIC  =COLOR_WHITE,    COLOR_BLACK, BOLD,    NO_BLINK

COL_URL           =COLOR_MAGENTA,  COLOR_BLACK, BOLD,    NO_BLINK

COL_URLSELECTED   =COLOR_RED,      COLOR_BLACK, NO_BOLD, NO_BLINK

COL_INFOHIGHLIGHT =COLOR_WHITE,    COLOR_BLACK, BOLD,    NO_BLINK

#

# Here are some keybindings as well...

#

KEY_TOTALSEARCH_1    ='s'

KEY_TOTALSEARCH_2    ='S'

KEY_SEARCH_1         ='/'

KEY_SEARCH_2         ='.'

KEY_GOTO_1           ='g'

KEY_GOTO_2           ='m'

KEY_HOME_1           ='h'

KEY_HOME_2           ='H'

KEY_PREVNODE_1       ='p'

KEY_PREVNODE_2       ='P'

KEY_NEXTNODE_1       ='n'

KEY_NEXTNODE_2       ='N'

KEY_UP_1             =KEY_UP

KEY_UP_2             ='u'

KEY_END_1            =KEY_END

KEY_END_2            ='e'

KEY_PGDN_1           =KEY_NPAGE

KEY_PGDN_2           =' '

KEY_PGDN_AUTO_1      =0

KEY_PGDN_AUTO_2      =' '

KEY_PGUP_1           =KEY_PPAGE

KEY_PGUP_2           ='b'

KEY_PGUP_AUTO_1      =0

KEY_PGUP_AUTO_2      ='b'

KEY_DOWN_1           =KEY_DOWN

KEY_DOWN_2           ='d'

KEY_TOP_1            =KEY_HOME

KEY_TOP_2            ='t'

KEY_BACK_1           =KEY_LEFT

KEY_BACK_2           ='l'

KEY_FOLLOWLINK_1     =KEY_RIGHT

KEY_FOLLOWLINK_2     ='\n'

# 12 is a code for ctrl+l

KEY_REFRESH_1        =KEY_CTRL('l')

KEY_REFRESH_2        ='~'

KEY_SHELLFEED_1      ='!'

KEY_SHELLFEED_2      ='1'

KEY_QUIT_1           ='q'

KEY_QUIT_2           ='Q'

KEY_DIRPAGE_1        ='d'

KEY_DIRPAGE_2        ='D'

KEY_GOLINE_1         ='l'

KEY_GOLINE_2         =0

KEY_PRINT_1          =']'

KEY_PRINT_2          =0

KEY_SEARCH_AGAIN_1   ='f'

KEY_SEARCH_AGAIN_2   =0

#

# Some options, explained in the man page

#

MANUAL=false

CUT-MAN-HEADERS=true

CUT-EMPTY-MAN-LINES=true

RAW-FILENAME=false

APROPOS=false

DONT-HANDLE-WITHOUT-TAG-TABLE=false

LONG-MANUAL-LINKS=false

FILTER-0xB7=true

QUIT-CONFIRMATION=false

QUIT-CONFIRM-DEFAULT=no

CLEAR-SCREEN-AT-EXIT=true

STDERR-REDIRECTION="2> /dev/null"

HTTPVIEWER=lynx

FTPVIEWER=lynx

MAILEDITOR=pine

MANLINKS=1:8:2:3:4:5:6:7:9:n:p:o:3X11:3Xt

INFOPATH=/usr/info:/usr/share/info:/usr/local/info

HIGHLIGHTREGEXP=bash.*has

SAFE-USER=nobody

SAFE-GROUP=nobody

Volver al índice