|
From: Tatsuro M. <tma...@ya...> - 2008-02-20 09:44:11
|
Hello
.
I found strange behavior at input data : plot '-'.
gnuplot> plot '-'
input data ('e' ends) > 1 1
input data ('e' ends) > 2 2
input data ('e' ends) > 3 3
input data ('e' ends) > 4 4 M M K
At the screen I preessed left arrow cursor key 'M' appeared.
'K' right arrow key
'P' down arrow key
'H' or 'O' up arrow key
The phenomena happened in gnuplot 4.2.2 and the current CVS(2008-02-19).
Regards
Tatsuro
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
|
|
From: Ethan A M. <merritt@u.washington.edu> - 2008-02-20 16:20:40
|
On Wednesday 20 February 2008 01:44, Tatsuro MATSUOKA wrote:
>
> I found strange behavior at input data : plot '-'.
>
> gnuplot> plot '-'
> input data ('e' ends) > 1 1
> input data ('e' ends) > 2 2
> input data ('e' ends) > 3 3
> input data ('e' ends) > 4 4 M M K
>
>
> At the screen I preessed left arrow cursor key 'M' appeared.
> 'K' right arrow key
> 'P' down arrow key
> 'H' or 'O' up arrow key
Please tell us the operating system you are using,
the version of libreadline you are using, and the
output from the gnuplot command
show version long
>
> The phenomena happened in gnuplot 4.2.2 and the current CVS(2008-02-19).
>
> Regards
>
> Tatsuro
>
>
>
> --------------------------------------
> Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
> http://pr.mail.yahoo.co.jp/toolbar/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|
|
From: Tatsuro M. <tma...@ya...> - 2008-02-20 21:20:05
|
Hello
My windows system is win Xp pro sp2.
The version of readline is 5.0 from the GnuWin32.
But for the wgnuplot 4.2.2, I have not built it by myseslf.
It was downloaded from the gnuplot source-forge page.
So I do not know the version of the readline library.
Regards
Tatsuro
--- Ethan A Merritt <merritt@u.washington.edu> wrote:
> On Wednesday 20 February 2008 01:44, Tatsuro MATSUOKA wrote:
> >
> > I found strange behavior at input data : plot '-'.
> >
> > gnuplot> plot '-'
> > input data ('e' ends) > 1 1
> > input data ('e' ends) > 2 2
> > input data ('e' ends) > 3 3
> > input data ('e' ends) > 4 4 M M K
> >
> >
> > At the screen I preessed left arrow cursor key 'M' appeared.
> > 'K' right arrow key
> > 'P' down arrow key
> > 'H' or 'O' up arrow key
>
> Please tell us the operating system you are using,
> the version of libreadline you are using, and the
> output from the gnuplot command
> show version long
>
>
>
>
>
> >
> > The phenomena happened in gnuplot 4.2.2 and the current CVS(2008-02-19).
> >
> > Regards
> >
> > Tatsuro
> >
> >
> >
> > --------------------------------------
> > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
> > http://pr.mail.yahoo.co.jp/toolbar/
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > gnuplot-beta mailing list
> > gnu...@li...
> > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
> >
>
> --
> Ethan A Merritt
> Biomolecular Structure Center
> University of Washington, Seattle 98195-7742
>
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
|
|
From: Timothée L. <tim...@lp...> - 2008-02-20 16:33:54
|
Ethan A Merritt a écrit :
> On Wednesday 20 February 2008 01:44, Tatsuro MATSUOKA wrote:
>
>> I found strange behavior at input data : plot '-'.
>>
>> gnuplot> plot '-'
>> input data ('e' ends) > 1 1
>> input data ('e' ends) > 2 2
>> input data ('e' ends) > 3 3
>> input data ('e' ends) > 4 4 M M K
>>
>>
>> At the screen I preessed left arrow cursor key 'M' appeared.
>> 'K' right arrow key
>> 'P' down arrow key
>> 'H' or 'O' up arrow key
>>
>
> Please tell us the operating system you are using,
> the version of libreadline you are using
Hi,
As far as I remember from the last time I had to dig in that code, the
code path for the inlined data does not use readline at all. That's why
arrow keys generate garbage instead of editing the line.
Best regards,
Timothée Lecomte
|
|
From: Ethan M. <merritt@u.washington.edu> - 2008-02-21 18:31:38
|
On Wednesday 20 February 2008 08:33, Timothée Lecomte wrote: > Ethan A Merritt a écrit : > > On Wednesday 20 February 2008 01:44, Tatsuro MATSUOKA wrote: > > > >> I found strange behavior at input data : plot '-'. > >> > >> At the screen I preessed left arrow cursor key 'M' appeared. > > As far as I remember from the last time I had to dig in that code, the > code path for the inlined data does not use readline at all. That's why > arrow keys generate garbage instead of editing the line. Hmm. You are correct. I have placed a patch on SourceForge to run the inline data through readline. 1899013 Read inline data from '-' via readline() if available Simple-minded testing here shows no problem, but it is possible that it could trip up some complicated combination of redirected stdin and stderr. Please give it a try. -- Ethan A Merritt |