[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Re: improved Reduce interface

From: Andrey G. Grozin
Subject: Re: [Texmacs-dev] Re: improved Reduce interface
Date: Fri, 25 Feb 2005 17:22:47 +0600 (NOVT)

On Fri, 25 Feb 2005, Andreas Seidl wrote:
> To my knowledge, if Reduce is properly installed, then the reduce 
> environment variable should be set in your profile, and the other 
> variables should be set in your reduce startup script.
Not necessarily.

> This is the 
> startup script for 3.8 that I have on a solaris machine:
> ----- start -----
> #!/bin/csh -f
> # Script to load PSL REDUCE. It should be installed in /usr/local/bin,
> # somewhere in your search path.
> if ("`env | grep '^reduce'`" == "" ) then
> setenv reduce /private/packages/scientific/reduce3.8
> endif
Exactly! If $reduce is not set (as on my system), it is set by this 
script. On my system the directory into which I installed Reduce is 
/opt/reduce instead of your /private/packages/scientific/reduce3.8. I 
suppose (haven't checked) that the Reduce installer produces scripts like 
reduce, reduce.psl etc. from some templates, replacing some placeholder by 
the actual directory into which Reduce is installed. Unfortunately, the 
installer does this not for all scripts. Scripts in util/ have 
non-sensical lines
setenv reduce REDVAR
in them. Bug in the installer, I suppose. I had to edit them by hand, 
replacing REDVAR by the actual installation directory, /opt/reduce in my 

> Redfront should be disabled here in the if expression, if 
Yes it should. I'll rewrite the reduce script on my system. Unfortunately, 
we'll have to instruct all users to do the same in README.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]