[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Man Pages
Hello, Denny Lee, hello, ns-users,
once you have installed ns, you can access the man pages.
You can e.g. do something like this:
in your installation directory /here/ type something like:
mkdir man
mkdir man/man1 man/man3
cd man/man1
ln -s ../../ns-2.1b5/ns.1 .
ln -s ../../nam-1.0a7/nam.1 .
ln -s ../../cweb/cweb.1 .
ln -s ../../xgraph/xgraph.man xgraph.1
cd ../man3
ln -s ../../zlib-1.1.3/zlib.3 .
After including this location (and -- if you like -- the tcl and tk
pages, too) in the MANPATH, you can access the pages:
setenv MANPATH ${MANPATH}:/here/man:/here/tclbox/man:/here/tkbox/man
(assuming you use csh/tcsh, your installation directory is /here/ and
MANPATH had been defined before). It is best to put this in the same
place where you extended your PATH and LD_LIBRARY_PATH, if you did that.
Suggestion to the ns team: Maybe the directory-creation-and-link-stuff
could be placed in the install skript, plus a hint at the end (where
the PATH/LB_LIBRARY_PATH hints are given) on how to set up the MANPATH?
Hope it helps.
Yours,
Stefan