Unfortunately here the problem is that gnuplot cannot be linked against
libreadline in Debian/Ubuntu because readline is GPL (see for instance
/usr/share/doc/gnuplot/README.Debian). So instead gnuplot uses libedit
which has poor support for non-ascii characters. There is a bug in
Debian about improving the support, but it doesn't seem to have been
looked at recently http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=273002

Looking at a similar bug in postgresql (http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=608442) it seems as users we can workaround the
issue without recompiling by using LD_PRELOAD. On my system, the
following works (you would need to replace the path with the correct one
on your system):

LD_PRELOAD=/lib/x86_64-linux-gnu/libreadline.so.6 gnuplot

** Bug watch added: Debian Bug tracker #273002
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=273002

** Bug watch added: Debian Bug tracker #608442
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608442

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1068815

Title:
  gnuplot 4.4 patchlevel 3 can't input international characters in
  interactive mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnuplot/+bug/1068815/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to