On Sun, Dec 9, 2012 at 8:17 AM, Erik Christiansen
<[email protected]> wrote:
> Probably the easiest way to make that connection for the user is to add a
> one-line manpage for each of loadrt, addf, setp, net, etc, along the
> lines of ".so filename", as described in ""man zsoelim".
>
> I don't have LinuxCNC manpages on this host, but can demonstrate with
> another manpage and a fictitious new one, "fred". The manpage file for
> gawk is:
>
> $ man -w gawk
> /usr/share/man/man1/gawk.1.gz
>
> so to redirect the new one to it:
>
> # echo .so man1/gawk.1.gz > /usr/share/man/man1/fred.1
>
> Now:
>
> $ man fred
>
> throws up the gawk manpage. I'm fast catching up with Gene apropos
> forgettery skills, so might just whack them in on the other host.
> (So long as I remember to do that.)
>
> And, yes, I have the "mandb" manpage database gumpf here¹ too:
>
> $ file /var/cache/man/index.db
> /var/cache/man/index.db: GNU dbm 1.x or ndbm database, little endian
>
> But man is clever enough to snuffle about if what you ask for isn't in
> there.
>
> Erik
>
> ¹ $ more /etc/issue
>   Ubuntu 10.04.1 LTS \n \l

To save space on the system and not duplicate files, perhaps it would
be easier to:

ln -s man1/gawk /usr/share/man/man1/fred.1

Mark

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to