> is there any way to be able to pass on tcl shell variables over to csh variables?
>
> i want to set csh variables such as history, xterm, etc...
> and want to set them in a modulefile.
Here's a modulefile where tcl variables are used as setenv arguments.
#%Module2.0
proc ModulesHelp { } {
puts stderr "MIDAS3/4 Sybase"
}
proc ModulesDisplay { } {
global ModulesCurrentModulefile
if { [file exists $ModulesCurrentModulefile.info] } {
puts stderr [ exec cat $ModulesCurrentModulefile.info ]
}
}
set sybase /usr/sybase
set sybroot $sybase/sybooks
append-path PATH $sybase/bin
append-path PATH $sybase/local/bin
append-path PATH $sybroot/sun5m/bin
setenv SYBASE $sybase
setenv SYBROOT $sybroot
setenv EBTRC $sybroot/sun5m/.ebtrc
setenv GNUSERVER `hostname`
--
*******************************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
*******************************************************************************
|