On Wed, 20 Oct 2010, Martin Rubey wrote:
but if possible I think it would be much more useful to
have an command line switch --iohook that would be invoked like

iohook="(lambda (x &optional args) (format t \"~S~%\" x)"

for texmacs, or

iohook="(lambda (x &optional args) (princ (code-char 27)) (cond ((and
    (eq x '|startKeyedMsg|) (member (car args) (list 'S2GL0012
    'S2GL0013 'S2GL0014))) (princ \"|startTypeTime|\")) ((and (eq x
    '|endOfKeyedMsg|) (member (car args) (list 'S2GL0012 'S2GL0013
    'S2GL0014)))(princ \"|endOfTypeTime|\")) (t (prin1 x)))(princ
    #\\Newline))))(format t \"~S~%\" x)"

for efricas, etc.  This would be much more flexible and easier to
modify.  Moreover, maybe there is another editor we'd like to support!
YES!

Or at least a command-line option giving an arbitrary lisp code to run before fricas starts. Or giving a name of a file with such code.

By the way, does fricas input the file ~/axiom.input during start-up, as the book says? It seems it does not. Is it called differently?

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.

Reply via email to