[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: client/server operation of octave?

From: Paul Kienzle
Subject: Re: client/server operation of octave?
Date: Wed, 10 Jan 2007 11:37:47 -0500

On Jan 10, 2007, at 10:56 AM, Tino Scherrer wrote:

-----Urspr√ľngliche Nachricht-----
Von: David Bateman <address@hidden>
Gesendet: 10.01.07 15:42:08
An: "Sean O'Rourke" <address@hidden>
CC: address@hidden
Betreff: Re: client/server operation of octave?

Sean O'Rourke wrote:
Tino Scherrer <address@hidden> writes:

Dear all, for the integration of octave into a development environment I'd need some means to control octave and receive it's output. Ideally this would work by starting octave as sort of server and connect the development tool as client through a socket connection. Is such a mode available for octave?

Try "attachtty," which even works over ssh. Combined with "rlwrap" or Emacs's `inferior-octave', it's quite convenient.

Or the octave-forge "engine" package..

Just had a look. Yes, that's how I'd do it in principle if octave doesn't allow connection through sockets. Only that I need the in/output redirection from Java. So I guess I cannot use the engine library, but of course it will help me with a Java class for the same purpose.

However, I think I prefer patching the octave in/output function to allow communication through sockets. Has this never been done before? Then I'll give it a try.

soctcl on octave-forge provides a server interface to octave.

It didn't occur to me to feed it through the read-eval-print loop since I wasn't trying to write an IDE, but it might be a place for you to start.

- Paul

reply via email to

[Prev in Thread] Current Thread [Next in Thread]