octave-maintainers
[Top][All Lists]
Advanced

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

Re: using a push parser to connect Octave to a GUI


From: John W. Eaton
Subject: Re: using a push parser to connect Octave to a GUI
Date: Sun, 29 Jan 2012 21:00:17 -0500

On 29-Jan-2012, Michael Goffioul wrote:

| This problem is more or less solved with the QConsole widget I
| implemented. It's not as elegant as a real UNIX-like PTY, but it's
| working and seems to be the only reasonable solution for an embedded
| terminal under Windows. Now, nothing prevents from trying alternate
| solutions, but keep in mind the getting rid of the PTY will have
| impact on other components that expect a terminal to work properly:
| for instance the "ls" command in octave (when run in a PTY, "ls"
| executable uses the terminal full width for formatting), or the
| "less"-based pager.

I would guess that simple paging should not be that difficult inside
the GUI.  It might even be easier to implement an "immediate" paging
mode so that output is not held up and output is only stopped when
necessary.

To determine the terminal width, the ls program on my system looks
first at terminal settings, then the environment variable COLUMNS.

jwe


reply via email to

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