Commit Graph

17 Commits

Author SHA1 Message Date
rkowen
630dc8ba6f More things to ignore. 2006-01-12 19:19:14 +00:00
rkowen
0fa1d9a2c6 * ModuleCmd_Refresh.c: Like "update" but refreshes only the
non-persistent attributes of the currently loaded modules,
  regardless of the state of the loaded modules (i.e. refresh
  aliases).
(still needs some test code)
2005-11-21 20:13:21 +00:00
rkowen
86f2b63fc0 Merged in the modules_3_2_predeep_branch branch to the main trunk.
Removed the hash library.
2005-11-14 23:51:08 +00:00
rkowen
6968b739c5 2002-09-12 R.K. Owen <rk@owen.sj.ca.us>
* .cvsignore: Ignore autogenerated files.
	* doc/.cvsignore: Ignore autogenerated files.
	* etc/.cvsignore: Ignore autogenerated files.
	* ext/.cvsignore: Ignore autogenerated files.
	* lib/.cvsignore: Ignore autogenerated files.
	* lib/tests/.cvsignore: Ignore autogenerated files.
	* modulefiles/.cvsignore: Ignore autogenerated files.
	* lib/tests/Makefile.am: Tweeked for autoreconf
2002-09-13 04:50:41 +00:00
harlan
a1c4dac800 * doc/Makefile.am: Added file.
* lib/configure: Remove auto*-generated file.
* lib/config.h.in: Ditto.
2002-09-12 06:50:08 +00:00
harlan
12b49d7233 * README: Update the instructions for using the CVS version of
modules.

* modulefiles/Makefile.in: Deleted auto* generated file.
* lib/tests/Makefile.in: Ditto.
* lib/Makefile.in: Ditto.
* init/Makefile.in: Ditto.
* ext/Makefile.in: Ditto.
* etc/Makefile.in: Ditto.
* doc/Makefile.in: Ditto.
* config/mkinstalldirs: Ditto.
* config/missing: Ditto.
* config/install-sh: Ditto.
* config/depcomp: Ditto.
* config/compile: Ditto.
* configure: Ditto.
* config.h.in: Ditto.
* aclocal.m4: Ditto.
* Makefile.in: Ditto.
2002-09-12 06:16:31 +00:00
rkowen
6c649d376a * Made the .modulesbeginenv facility optional (default is not to have it)
* default for cache is now "no"
* Added version_test() to testsuite to make some of the
  tests conditional on the values generated by --version.
- the configure options help is formatted with AC_HELP_STRING
2002-06-17 05:58:44 +00:00
rkowen
aa4b5c3229 * Reworked every configure-based file
- uses automake to generate most of the Makefile.in
  - renamed configure.in to configure.ac per autoconf
  - Versioning is optional now with a configure option
  - reworked the init scripts for versioning or not
  - eliminated acconfig.h and put templates in configure.ac
  - make install now honors the DESTDIR variable for package builds
  - honors bindir for modulecmd location
   (but the init scripts are only correct if no versioning)
* Collected the usage info and now it can be displayed with
  the --help or -H option (same as help)
* --version now gives most of the optional configure parameters
  for easy debugging of problems
* Fixed bootstrap to just source the appropriate init script
2002-06-14 21:57:03 +00:00
rkowen
35070e604b The version info displays some of the configuration options.
Moved the usage info into module_usage() that can be displayed with the
--help or -H switch.
2002-06-13 22:54:52 +00:00
rkowen
400ccd6d3b Added a bunch of .cvsignore files to avoid CVS in listing the known (but
made) files.
2002-05-06 20:31:55 +00:00
lakata
7839db67a3 updated docs regarding "switch" and MODULESHOME 2002-04-29 19:17:10 +00:00
lakata
8683cea0a8 added the bootstrap command 2002-04-27 01:16:34 +00:00
rkowen
a3fb7517ac * A 'break' in a modulefile will cause the modulefile to
not be added to $LOADEDMODULES, but will be considered
  a successful execution to not affect other modulefiles
  being loaded concurrently (Patch due to Scott Gaskins).
* Tests and docs added for the above.
2002-01-04 04:59:16 +00:00
rkowen
4251ae7d53 * Fixed problem with module load when the full path
is given (patch due to Scott Gaskins).
* Added tests for the above problem.
* Added the Modules-Paper in PDF format (thanks to Philip Kearns
  and Leo Butler for raising the issue).
* Modified probetcl to avoid using the -c option
  (patch due to Philip Kearns).
* Modified probetcl to use tclsh first then tcl
* Added TCL_VERSION to configure and use it in the Makefile
  to use the -ltcl@TCL_VERSION@ library.
2001-11-05 21:50:41 +00:00
rkowen
1e161da8f2 * Added document file INSTALL.RH7x which explains how to set up
an modules environment for all users through the system shell
  files.  Is specific to Linux/RedHat 7.x, but is of general
  applicability.
* Added further tests for modulefile "module use dir_path"
  (found an unload bug that will be fixed before release)
* Environment variable contents are now quoted to preserve
  any embedded environment variables. (Needed for versioning)
* Added over 50 tests specific to module versioning, and testing
  xgetenv.
* Fixed the unsetenv on unload function, the feature added in 3.0.6-rko
  was supposed to set the env.var. to the optional third argument.
  This was to allow old env.var. values to be recovered by unraveling
  a stack set in an other env.var.  Added tests for this feature.
  This is used by the version modulefile.
* Fixed and updated the version modulefile to allow stacked
  versions to be removed the stack.
* Removed an annoying spurious stderr newline.
2001-07-09 18:21:37 +00:00
rkowen
39b9c33649 * Fixed the "module use --append" feature, and fixed the tests
for "module use", "module use --append", and "module unuse".
* Changed the global variable names (flags,current_module) to
  (g_flags, g_current_module) to identify their ubiquity in the
  module source.
2001-06-09 09:48:47 +00:00
rk
e816ab15b5 modules is a shell tool for setting-up the user environment on the
fly, as it were.  It's a powerful mechanism for dynamically changing
environment variables, aliases, X11 resources, etc.
It uses an embedded Tcl intrepretor, with a few extensions.  Therefore,
it has a well defined language syntax.
Version 3.1 is GPL, and includes many improvements over the 3.0beta.
2000-06-28 00:17:34 +00:00