)spool still not works properly on 1.3.10

for old fashioned work with command line input, this still would be helpful.

- terminal cut and past is ok for small pieces, but I often have long output

- @Waldek: what exactly do you mean with "script'?

- @Ralf: what about FriCAS Jupyter notebook on MacBook? What would one have to do?

Am 13.04.23 um 15:37 schrieb Waldek Hebisch:
On Tue, Apr 11, 2023 at 10:12:06PM +0200, Ralf Hemmecke wrote:
Johannes told me that )spool filename does not record the output of fricas
commonds in the file. I can confirm this.

)spool foo.out
a+b^c
)spool

gives in foo.out only

====================

(1) -> a+b^c
(2) -> )spool
====================
AFAICS this is limitation due to way ')spool' is currently implemented.
Does actually anyone use )spool? I have no need for it. The fricas book
mentions .spool files, but the generation and capturing of output works via
redirection, i.e. no need for the fricas book.
When I need to record input and output I normally either use terminal
cut and paste (for small things) or 'script' program (for larger
volume).   Both ways have a drawback: recorded info contains control
characters sent by 'clef' or 'rlwrap', but ATM I found them good
enough.

Concerning ')spool', I do not think that we should keep current
implementation.  OTOH we should clean out our input-output machinery
and with cleaned up implementation correct implementation of ')spool'
should be easy.

--
Mit freundlichen Grüßen

Johannes Grabmeier

Prof. Dr. Johannes Grabmeier,
Köckstraße 1, D-94469 Deggendorf
Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
Fax: +49-(0)-991-2979592

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/8f76d00f-36fa-41b3-aa9f-44de588edef0%40grabmeier.net.

Reply via email to