home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!pacific.mps.ohio-state.edu!neruda
- From: neruda@hydro.mps.ohio-state.edu (Steven Neruda)
- Subject: Re: how do other people deal with new man pages?
- In-Reply-To: vulture@imperial.ac.uk's message of Fri, 30 Oct 92 20:50:43 GMT
- Message-ID: <NERUDA.92Nov5143212@hydro.mps.ohio-state.edu>
- Sender: news@pacific.mps.ohio-state.edu
- Nntp-Posting-Host: hydro.mps.ohio-state.edu
- Organization: The HydroLab, The Ohio State University.
- References: <EJH.92Oct28092924@khonshu.colorado.edu> <Bwv3tz.A1s@mudos.ann-arbor.mi.us>
- <1992Oct30.205044.21094@cc.ic.ac.uk>
- Date: Thu, 5 Nov 1992 19:32:12 GMT
- Lines: 72
-
-
- My site is kind of an amalgmation of a few of the previous ideas.
- I have a /usr/local{src,man,bin,lib} tree which I stick local stuff that is either
- a single program with a single man page or a small group of programs that
- is vital to life as we know it (tm).
-
- For larger packages (X11R[45],ImageMagic, etc) I use a package based upon the tcl
- (tool control language interpreter, by John Furlani called modules. The basic
- package gets set up as an alias in one of the users dot files. From then on
- people can check what packages are available, get basic information about what
- happens when they load a package, load, unload packages with a simple command.
-
- The high points of this system are:
-
- 1) All meta files are stored in one location (/usr/local/packages in my case).
-
- 2) Meta files are shell independant so there are only one meta file to write
- for sh/ksh/csh/tcsh/bash.
-
- 3) Meta files are human readable so people that want to run their own set of
- modules can start from the systems wide.
-
- 4) Ability to load/unload packages. People can experiment without having to
- logout and log back in again.
-
- 5) Package specific tweaks like setting enviromental variable can automagically
- take place for each package and get undated if package is moved.
-
- 6) Modules can be marked for conflicts, exclusion, or issue warnings
- when loaded/unloaded. For example X11R4 and X11R5 are set up here so
- a user can't load both at once. If a user tries to unload 'base' they
- are warned that life may get miserable if they do that and ask to confirm
- their decision.
-
- I have just phased in my new dot files with Modules. So far my users are
- extremely happy with them. They don't have to know where something is or
- what special tweaks a package needs. Instead they just type:
-
- module add ImagMagic
-
- And all the programs from that package are available. Another nice but necessary
- hack just came up last week. Our current version of the Wingz spreadsheet has
- a broken 'floating license'. To work around this in a transparent manner I have
- modified my "Wingz" package file to run it from the server and pop it up on the
- users workstation. Users don't even know its broken and when its fixed I just
- change the module and they'll never notice.
-
- I set up packages in /usr/local/packages/{NAME} with a bin/man and lib if
- needed set up there. Modules adds the proper path, man path, and any
- other needed things. Another nice things is if you set up your modules files
- carefully MANPATH and PATH will tend to be the same.
-
- Sorry about the verbosity but since I hadn't seen a plug for Modules thought I
- would.
-
- Steve
-
-
- Steve Neruda (neruda@mps.ohio-state.edu)
- Systems Programmer, The HydroLab (292-6193)
- 177 Scott Hall, 1090 Carmack Dr.
- Columbus, OH 43210
-
-
-
-
-
- --
- Steve Neruda (neruda@mps.ohio-state.edu)
- Systems Programmer, The HydroLab (292-6193)
- 177 Scott Hall, 1090 Carmack Dr.
- Columbus, OH 43210
-