Windows ginput function [Was: fopen doesn't return when opening a fifo!!]
David Bateman
David.Bateman at motorola.com
Mon Apr 7 07:22:52 CDT 2008
Michael Goffioul wrote:
> On Tue, Apr 1, 2008 at 2:51 PM, David Bateman
> <David.Bateman at motorola.com> wrote:
>
>> Also how do we store the input and output plot stream descriptors.. At
>> the moment there is a single property __plot_stream__ in the figure and
>> its used for the pipe opened with popen. Do we make that a two element
>> matrix, or add a new property? What would other backends expect?
>>
>
> The content of __plot_stream__ is backend specific. You can put whatever
> value you want.
>
>
Yeah, I figured that out, and the popen2 code is in the repository and
seems to work, though I don't think its tested much under windows.. The
remaining issue is the fact that the mouse support in the wxt terminal
under Windows seems to be broken, though Petr tells me it appears to
work under linux (how with wine?). The problem is independent of Octave
and can be seen by launching gnuplot and typing
plot sin(x)
pause mouse any
and then you can't come back to the prompt as the wxt terminal is not
returning the mouse presses. You need this to get the ginput, gtext and
waitforbutton code that is in the 3.1.x tree and octave-forge for the
3.0 tree working..
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
More information about the Bug-octave
mailing list