📄 bochs-docs
字号:
#!/bin/shBROWSER=netscapeURL=/usr/local/share/doc/bochs/DOC-linux.htmlMY_PATH=/usr/local/bin/bochs-docscat <<EOF-----------------------------------------------------Viewing Bochs HTML documentation with $BROWSER-----------------------------------------------------EOFif test "$BROWSER" = netscape; then # first try to put the documentation into the currently running netscape. $BROWSER -remote "openURL($URL)" >/dev/null 2>/dev/null # if that succeeded, we're done if test $? = 0; then exit 0 fifi# try starting a new browser instead$BROWSER $URL# nothing else to try, so if that failed print a decent error messageif test $? != 0; then echo ERROR: Browser ended with an error code $?. This may mean that echo the browser was not found in your PATH, or that the browser was echo killed. To use a different browser, edit $MY_PATH echo and change the BROWSER variable. exit 1fiexit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -