On external editor problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

On external editor problem

Krzysztof Gozdziewski

Hello !

I would like to thank J. Eaton and V. Dutt for response to my question
on calling an editor from octave session. They suggested following
solutions:

  o  simply suspend octave process, do editing and go back to octave
     (ok, it is the simplest solution, I do not know, why I forgot this)

  o  read more carefully the manual of octave :)
     John proposed me the following function

        function edit(file)
        #
        # External editor
        #
        system (["joe ", file, " >/dev/tty"]);
        endfunction
 
     This works OK.

  o  run X-Windows (OK, but in our lab we have only text terminals, and
     software which is able to run only one telnet session). X-solution
     I apply in my daily work.


Thanks.

With regards
Krzysztof

---------------------------------   ^-^   ~~~ Krzysztof Go\'zdziewski
                                   (* *)  ~~~ Institute of Astronomy
                                   ==*==  ~~~ Nicolaus Copernicus University
                                    /?\   ~~~ Chopina Str 12/18
                                   (m_m)  ~~~ PL-87-100 Toru\'n POLAND
       

Reply | Threaded
Open this post in threaded view
|

Re: On external editor problem

niles-5

: (OK, but in our lab we have only text terminals, and
:     software which is able to run only one telnet session). X-solution
:     I apply in my daily work.
 
Get GNU screen 3.6.1 from prep.ai.mit.edu it will allow you to have
multiple ttys on a single terminal connection...nice!

        Rick Niles.