Nasser M. Abbasi wrote:
>
> On Saturday, January 27, 2018 at 4:13:23 AM UTC-6, jg wrote:
> >
> > e.g.
> >
> > q : String := quote()$CHAR
> >
> > write!(f2, q)
> >
> >
> >
> >
> Thanks. But it is not working for me. I get error
>
> q : String := quote()$CHAR
> f1: TextFile :=3D open("/media/data/tmp/foo.txt", "output")
> write!(f1,q)
>
> >> System error:
>
> UNIX error 71 (EPROTO): Protocol error
>
You wrote later that you get this error trying to write to shared
disc. But to make thing clear: are you getting errors when
you write _anything_ to shared disc? I yes then most likely
culprit is clisp. Unlike other programs clisp uses special
system call requesting operating system that data be written
to disc (as opposite to keeping it in RAM). Nice consequence
of this is that after the call data should survive system crash.
But there are lot of unpleasent consequences...
OTOH if such error appears only when writing quotes, then this
is a mistery: once you got quote into a string FriCAS treats
it like any other character.
--
Waldek Hebisch
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.