|
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 |