Quote |
You also need to install the manpages uci for the offline ones. |
Quote |
Being in /opt, the uci does not override the original man script. |
Quote |
You can compile it yourself from http://primates.ximian.com/~flucifredi/man/ . |
Code Sample |
#!/bin/bash # find any uci man dirs and add to MANPATH ADD=$( { if [ ! -e /KNOPPIX/bin/ash ]; then # hd install find /opt -type d -name man 2>/dev/null else find /ramdisk/opt -type d -name man 2>/dev/null fi } | grep -v '/opt/man' | tr '\n' : ) # Need man dirs now on system also - could be in unc extensions MANPATH="/opt/man:/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man" export MANPATH=$ADD${MANPATH} echo "What manual page do you want?" read manpage exec /opt/man/bin/man "$manpage" |