🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #896

Re: Using MANPATH on Next

#896
From: Dan Danz
Date: Sun, 09 Aug 1992 22:02
26 lines
1700 bytes
Steve Anderson writes
> This continuing thread about getting man to know about MANPATH reminds
> me I've had the same problem. Using zsh, I have MANPATH set in my
> ..zshenv file (and exported). Individual shells know what the value is,
> but somehow man can't find anything that's on $MANPATH but not in
> /usr/man. I finally gave up and aliased "man" to a function 
> {/usr/ucb/man -M $MANPATH $*}
> and that works fine! Wierd (note that the function explicitly refers
> to the shell variable - I didn't cade the MANPATH into it). I haven't
> had any problem with zsh exporting other variables, so it looks like a
> fact about /usr/ucb/man to me.

Gee - I'm using a beta version of zsh 2.3 (2.2 with 24 patches applied)
and the following entries in .zshenv, and it works like a champ.

export MANPAGER='less'
export MANPATH='/usr/man:/usr/local/man:/usr/dialupip/man'

It also works under zsh 2.2.

--
L. W. "Dan" Danz                  VOS Mail:  Dan_Danz@vos.stratus.com
Sr Consulting Software SE         NeXT Mail: dan@az.stratus.com
Customer Assistance Center        Voice Mail/Pager: (602) 852-3107
Telecommunications Division       Customer Service: (800) 828-8513
Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
Technical Details
Message-ID: <5440@transfer.stratus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!samsung!transfer!quiensabe.az.stratus.com
References: <ANDERSON.92Aug3163345@sapir.cog.jhu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!samsung!transfer!quiensabe.az.stratus.com
From: dan@quiensabe.az.stratus.com (Dan Danz)
Newsgroups: comp.sys.next.misc
Subject: Re: Using MANPATH on Next
Message-ID: <5440@transfer.stratus.com>
Date: 9 Aug 92 22:02:32 GMT
References: <ANDERSON.92Aug3163345@sapir.cog.jhu.edu>
Sender: usenet@transfer.stratus.com
Reply-To: dan@az.stratus.com
Lines: 26