Files
modules/contrib/modulefiles/openwin
2022-02-18 06:42:15 +01:00

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
#