mirror of
https://github.com/envmodules/modules.git
synced 2026-06-18 00:06:53 +08:00
33 lines
989 B
Plaintext
33 lines
989 B
Plaintext
#%Module######################################################################
|
|
##
|
|
## OpenWindows Module
|
|
##
|
|
proc ModulesHelp { } {
|
|
puts stderr "\tThe OpenWindows Module\n"
|
|
puts stderr "\tThis module sets paths and other environment variables\n"
|
|
puts stderr "\tthat allow you to use the OpenWindows environment 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
|
|
#
|