I think a code alone would be better, because if someone wants to run
fricas in such a way, he'll have to care about coresponding working
dir value (or provide absolute file path).

On Sun, Jan 9, 2011 at 3:32 PM, Andrey G. Grozin <[email protected]> wrote:
> On Fri, 7 Jan 2011, Waldek Hebisch wrote:
>>
>> We already have getEnv function.
>
> I think we can postpone design and implementation of a general mechanism for
> passing command-line arguments. Now there is a pressing need, for starting
> FriCAS from TeXmacs, to do something like that:
>
> * TeXmacs calls
> fricas -pre texmacs.input
>
> * fricas script does
> export FRICAS_PRE=texmacs.input
>
> * i-toplev.boot calls getEnv("FRICAS_PRE") and, if this variable is set,
> reads the file after .fricas.input but before starting the interactive
> session
>
> This mechanism is quite useful in itself, without TeXmacs. Any user can have
> several files with initial settings for different kinds of sessions, and
> using just one init file .fricas.input for temporary needs is inconvenient
> because it's too permanent.
>
> What do you think about this specific proposal? Of course, the names (-pre
> and FRICAS_PRE) can be replaced by something better.
>
> Andrey
>
> --
> 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.
>
>

-- 
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.

Reply via email to