On Saturday, January 27, 2018 at 12:06:35 PM UTC-6, Waldek Hebisch wrote:
>
> 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? 


Yes, I find I get an error when I try to write anything., Like this

f1: TextFile := open("/media//data/tmp/output.txt", "output")     -- on 
mounted shared disk
(382) -> writeLine!(f1,"hello")
 
   >> System error:
   
UNIX error 71 (EPROTO): Protocol error
 

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

Ok, thanks for the information. I write now only to local Linux file, not
to shared disk mounted using NTFS file system.
 

-- 
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.
  • [fricas-devel] how... 'Nasser M. Abbasi' via FriCAS - computer algebra system
    • Re: [fricas-d... Prof. Dr. Johannes Grabmeier FW
      • Re: [fric... 'Nasser M. Abbasi' via FriCAS - computer algebra system
        • Re: [... Prof. Dr. Johannes Grabmeier FW
          • R... Raymond Rogers
            • ... 'Nasser M. Abbasi' via FriCAS - computer algebra system
              • ... Raymond Rogers
        • Re: [... Waldek Hebisch
          • R... 'Nasser M. Abbasi' via FriCAS - computer algebra system
    • Re: [fricas-d... oldk1331
      • Re: [fric... 'Nasser M. Abbasi' via FriCAS - computer algebra system

Reply via email to