我在阅读手册时遇到了 Pinfo 搜索问题。我认为以下错误消息包含解决方案的建议。
我收到以下错误消息
替代文本 http://files.getdropbox.com/u/175564/pinfo_error.png
正文也一样:
przemek 的信息查看器 v0.6.9”错误:无法打开信息文件,尝试手动
我找到了与该主题无关的链接。他们认为问题可能出在我的 INFOPATH 中:
/sw/share/info:/sw/info:/usr/share/info
主要问题不是在 MacPorts 中. 感谢 dlamblin!
如果您知道该问题的答案,请在下面添加。
答案1
定期info find
最终会做同样的事情。Mac OS X 似乎没有附带信息文件find
您是否安装了 MacPorts 版本的find
是否附带了信息文件?尝试pinfo info
,我知道我有该页面/usr/share/info
(尽管我没有$INFOPATH
设置,但还是会进行搜索)。
答案2
我不确定错误信息是否不定期出现,或者我设法通过输入以下内容来解决问题.pinforce到我的家:
#
# 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