Le jeu. 2 mars 2023 à 18:31, Ralf Hemmecke <
ra...@hemmecke.org> a écrit :
>
> On 02.03.23 17:32, Grégory Vanuxem wrote:
> > Nothing with 'vi', I had to kill the FRICASsys processus myself.
> >
> > With 'gvim' or 'emacs' that opens the file but 'gvim' complains that
> > the 'line' command is unknown.
> > Error detected while processing command line:
> > E492: Not an editor command: line
>
> Huh? What exactly did you write? Please always copy the exact procedure
> into the mail. The your message looks strange. Your FRICASEDITOR
> variable should not show "line", but "$line".
Oh, sorry, I forgot the dollar sign before 'line'.
So good with gvim and emacs, emacs displays the file and at bottom the
welcome page though.
vi, as I said nothing and I add again to kill -9 it.
>
> But don't worry, I get the impression that edit does not really work
> nicely via a non-X connection. I just did "ssh somecomputer" (no X
> forwarding). Then I started fricas like this
>
> export FRICASEDITOR='emacs -nw +$line $name'
> fricas
>
> )edit /home/hemmecke/foo.txt
>
> Emacs starts but shows some strange escape characters...
> THe first likes look like
>
> File Edit Options Buffers Tools Text Help
>
> ^[[>65;6800;1c^[[I
>
>
> and ends with
>
> -UU-:----F1 foo.txt All (1,0) (Text WS Fill)
> ----------------------
> For information about GNU Emacs and the GNU system, type C-h C-a.
>
>
> but does not fill my local terminal window. And worst of all, I cannot
> do anything there.
> Ctrl-X Ctrl-C
> leads to
> >> System error:
>
> Interactive interrupt at #x7FABD2204D2F.
> (1) -> ^[[>65;6800;1c^[[I^[[O^[[I^[[O^[[I^[[O^[[I^[[O^[[I^Xc^X
Idem.
> That is probably a problem in FriCAS sman redirecting I/O appropriately.
>
> Starting "fricas -nosman" seems to start emacs as it should, though.
Personally on top of CCL it starts as it should, yes, but Ctrl-X
Ctrl-C leads to an infinite loop with output:
(1) ->
>> System error:
on #<BASIC-CHARACTER-INPUT-STREAM UTF-8 (TTY/0) #x30200083CEFD> :
Input/output error during read
(1) ->
>> System error:
on #<BASIC-CHARACTER-INPUT-STREAM UTF-8 (TTY/0) #x30200083CEFD> :
Input/output error during read
(1) ->
>> System error:
on #<BASIC-CHARACTER-INPUT-STREAM UTF-8 (TTY/0) #x30200083CEFD> :
Input/output error during read
(1) ->
>> System error:
on #<BASIC-CHARACTER-INPUT-STREAM UTF-8 (TTY/0) #x30200083CEFD> :
Input/output error during read
>
> Ralf
>
> --
> 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
fricas-devel...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/7b730f2d-9d16-105e-0527-d3f5db893c3d%40hemmecke.org.