Article View: comp.sys.next.misc
Article #615Re: Using MANPATH on Next
From: Graham Stoney
Date: Mon, 03 Aug 1992 01:47
Date: Mon, 03 Aug 1992 01:47
30 lines
1785 bytes
1785 bytes
cedman@714-725-3165.nts.uci.edu (Carl Edman) writes: >Scott Anguish writes >> We are wanting to set up the MANPATH enviroment variable for our users so >> that it searches ... I've had this problem too, and found no good solution. NeXT really should provide a way to set environment variables like this - reading a setting from the defaults database seems reasonable. >Why, just put >export MANPATH=/usr/man:/usr/local/man:$HOME/Unix/man But this doesn't help for programs launched from the workspace. For example, I'd like Cmd-M in NeXT edit to search our local manual directory, but the only way I can get it to work is by putting a 'man' shell script in /usr/local/bin (which, by pure luck, is ahead of /usr/ucb/man in the default PATH) and getting it to add my local directory to MANPATH before running the real 'man'. Ugly. Another alternative is to play some tricks to run a script instead of Workspace when you log in, and get the script to set whatever environment variables you need, then run Workspace. Also ugly. Graham -- Graham Stoney | "a Perl script is correct if it's halfway Flip Dibner fan club, "Hi Flip!" | readable and gets the job done before your Ph: +61 2 805-2909 Fax: -2929 | boss fires you." L. Wall & R. Schwartz
Technical Details
Message-ID:
<BsDwyo.3rJ@research.canon.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!mips!munnari.oz.au!metro!mama!greyhamReferences:
<1992Jul27.190838.2110@digifix!uunet.ca> <2A745962.18736@noiro.acs.uci.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!mips!munnari.oz.au!metro!mama!greyham From: greyham@research.canon.oz.au (Graham Stoney) Newsgroups: comp.sys.next.misc Subject: Re: Using MANPATH on Next Message-ID: <BsDwyo.3rJ@research.canon.oz.au> Date: 3 Aug 92 01:47:12 GMT References: <1992Jul27.190838.2110@digifix!uunet.ca> <2A745962.18736@noiro.acs.uci.edu> Sender: news@research.canon.oz.au Organization: Canon Information Systems Research Australia Lines: 30