mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
33 lines
986 B
Plaintext
33 lines
986 B
Plaintext
#%Module######################################################################
|
|
##
|
|
## <module-name> Module
|
|
##
|
|
proc ModulesHelp { } {
|
|
puts stderr "\tThe Openwin Module\n"
|
|
puts stderr "\tThis module sets paths and other environment variables\n"
|
|
puts stderr "\tthat allow you to use the openwindows enironment and\n"
|
|
puts stderr "\topenwindows based programs. Available on Sun Workstations.\n"
|
|
puts stderr "\tFor more info: http://docs.sun.com/db/doc/806-2901\n"
|
|
|
|
}
|
|
|
|
set sys [uname sysname]
|
|
set os [uname release]
|
|
|
|
switch -glob $sys {
|
|
|
|
SunOS {
|
|
setenv OPENWINHOME /usr/openwin
|
|
setenv AB_CARDCATALOG /opt/SUNWabe/ab_cardcatalog
|
|
append-path HELPPATH $env(OPENWINHOME)/lib/locale
|
|
append-path HELPPATH $env(OPENWINHOME)/lib/help
|
|
append-path PATH $env(OPENWINHOME)/bin
|
|
append-path MANPATH $env(OPENWINHOME)/man
|
|
append-path PATH /usr/dt/bin
|
|
|
|
}
|
|
}
|
|
#
|
|
# end of main switch statement
|
|
#
|