|
From: Jeff S. <jsq...@us...> - 2002-10-11 17:32:40
|
Update of /cvsroot/env-switcher/env-switcher/man In directory usw-pr-cvs1:/tmp/cvs-serv12873 Modified Files: switcher.1 Log Message: Added some clarifications, fixed a few typos Index: switcher.1 =================================================================== RCS file: /cvsroot/env-switcher/env-switcher/man/switcher.1,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** switcher.1 26 Sep 2002 13:56:20 -0000 1.6 --- switcher.1 11 Oct 2002 17:32:36 -0000 1.7 *************** *** 133,137 **** is invoked with the "<tag> = <name>" syntax, it is actually an alias for the following: ! .PP switcher <tag> --add-attr default <name> .PP --- 133,137 ---- is invoked with the "<tag> = <name>" syntax, it is actually an alias for the following: ! .IP switcher <tag> --add-attr default <name> .PP *************** *** 266,272 **** will simply ignore them. However, it is possible that .I switcher ! will someday recognize other attributes. Hence, if users defined ! their own attributes, it is suggested that they prefix the attribute ! name with the string "user" in order to prevent potential future name clashes with future special .I switcher --- 266,272 ---- will simply ignore them. However, it is possible that .I switcher ! will someday recognize other attributes. Hence, if users define their ! own attributes, it is suggested that they prefix the attribute name ! with the string "user" in order to prevent potential future name clashes with future special .I switcher *************** *** 306,310 **** See a list of names available under the tag .IR mpi . ! .IP "switcher mpi --add-attr default lam-6.5.6" This sets the user's default for the tag .I mpi --- 306,310 ---- See a list of names available under the tag .IR mpi . ! .IP "switcher mpi = lam-6.5.6" This sets the user's default for the tag .I mpi *************** *** 312,321 **** .IR mpi , this will override it. The next shell invoked by the user will load ! the lam-6.5.6 modulefile. ! .IP "switcher mpi -add-attr default none" The "none" value is a special keyword telling switcher that no modulefiles should be loaded for the .I mpi ! tag. .IP "switcher mpi --rm-attr default" This command will remove the user's personal default and effectively --- 312,323 ---- .IR mpi , this will override it. The next shell invoked by the user will load ! the lam-6.5.6 modulefile. Note that the "=" syntax is actually an ! alias for: "switcher mpi --add-attr default lam-6.5.6". ! .IP "switcher mpi = none" The "none" value is a special keyword telling switcher that no modulefiles should be loaded for the .I mpi ! tag. Note that the "=" syntax is actually an alias for: "switcher mpi ! --add-attr default none". .IP "switcher mpi --rm-attr default" This command will remove the user's personal default and effectively *************** *** 327,334 **** .I mpi tag. ! .IP "switcher global --add-attr default none" Effectively disables switcher for the user. According to the ! resolution process, the attribute "default" will get the special value ! "none" for all tags. Hence, .I switcher will not get a modulefile name for any tag, and will therefore not --- 329,336 ---- .I mpi tag. ! .IP "switcher global = none" Effectively disables switcher for the user. According to the ! resolution process, the attribute "default" will get the special ! value "none" for all tags. Hence, .I switcher will not get a modulefile name for any tag, and will therefore not *************** *** 336,340 **** systems that user .I switcher ! who prefer to do their own module loading / unloading. COMMANDS TYPICALLY USED IN RPMS. .IP "switcher mpi --add-name lam-6.5.6 /opt/lam-6.5.6/share/lam --silent --force" --- 338,345 ---- systems that user .I switcher ! who prefer to do their own module loading / unloading. Note that ! the "=" syntax is actually an alias for: "switcher global --add-attr ! default none". ! .PP COMMANDS TYPICALLY USED IN RPMS. .IP "switcher mpi --add-name lam-6.5.6 /opt/lam-6.5.6/share/lam --silent --force" *************** *** 372,384 **** .IR switcher . .SH FILES ! The defaults are maintained in ini-style text files. These file can ! be manually edited if necessary, but is recommended to use .I switcher ! unless absolutely necessary. ! .PP ! The system-level defaults file is located in ! /opt/env-switcher/etc/switcher.ini. ! .PP ! User-level defaults are maintained in $HOME/.switcher.ini. .SH SEE ALSO module(1), modulefile(4) --- 377,388 ---- .IR switcher . .SH FILES ! The defaults are maintained in ini-style text files. These files can ! be manually edited if necessary, but is recommended to use the .I switcher ! command unless absolutely necessary. ! .IP /opt/env-switcher/etc/switcher.ini ! The system-level defaults file. ! .IP $HOME/.switcher.ini ! User-level defaults file. .SH SEE ALSO module(1), modulefile(4) |