|
From: Ethan A M. <merritt@u.washington.edu> - 2008-01-20 04:42:11
|
On Saturday 19 January 2008 17:43, Mojca Miklavec wrote: > I'm using Mac OS X and ... > No, wait ... it's more weird than that. I'm trying to use these > characters before issuing any other command (setting encoding etc.). > These letters work "per-se". But they fail in one particular case: > when I type normally, it works OK, but once I press left arrow (to go > back in the line), it completely confuses gnuplot whenever I play with > accented letters (multibyte) forth and back. That sounds like a problem with the input stream. Are you using gnu libreadline? gnuplot's built-in readline? No readline at all? Given that this is OSX, we may have to worry also that the library claims to be gnu libreadline but is really BSD's editline in disguise. All I can really say is "it works for me". > I cannot read the line > any more, there is no connection betwen what's on the screen and what > gnuplot sees. So I need to press [enter], then gnuplot complains about > invalid characters (which I do not see), and then I may start writing > from fresh again. > > So: once I press left arrow and try to use unicode letters, it leads > to really messy/buggy behaviour. I understand. But I don't think that is gnuplot's fault, except insofar as it may be linked against a buggy libreadline. -- Ethan A Merritt |