Martin Rubey wrote:
>
> Waldek Hebisch <[email protected]> writes:
>
> > We also have a bunch of bug fixes. Given that I would like to
> > make a new release in about two weeks.
>
> There are two more fixes I'd like to see done:
>
> 1.) fix for saving history.
>
> unfortunately, I have (little time and) no idea how to test it, and
> cannot claim that I understand it's implications.
>
> 2.) yet another fix to efricas: currently, fricas-run fails, if the
> default shell for emacs is not bash, because of the redirection used.
> (curiously, just modifying the efricas script to require bash instead of
>
> #!/bin/sh -
>
> does not help)
>
> I'm afraid, there is no simple possibility to redirect standard error
> that works across all shells, so I guess I should set the shell emacs
> uses in fricas-run to bash. suggestions welcome. (I discovered this on
> our students accounts, where tcsh is default...)
>
'tcsh' should be irrelevant here -- it is so different than 'sh' that
no sane distribution would try to give you 'tsch' when you want '/bin/sh'.
AFAIK some Linux distributions use 'ash' as a default Bourne shell
and maybe you hit its incompatibility with 'bash'. However, IIUC
'ash' is claimed to be POSIX compliant and POSIX includes quite
rich functionality for redirections. FriCAS build on Solaris
currently insits on 'bash' because default '/bin/sh' on Solaris
is an ancient pre-standard version.
I took a quick look at fricas-run and AFAICS the redirection part
should work on all Bourne shells. If you do not get Bourne shell
than you probably use wrong emacs function (or wrong option to
this function) -- emacs developers know well that commands for
Bourne shell do not work with C shell (like tcsh).
As a brute-force solution you may try adding
SHELL=/bin/sh
export SHELL
to efricas script.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.