0

On my Ubuntu 14.04, I installed gnuplot using apt-get install gnuplot-x11. It's working fine except that when I tab complete a filename, it adds and extra space which I need to manually delete. This is somewhat annoying. Is there any way to fix it?

gnuplot> pl 'embedded_attractor.dat ' w l
         warning: Skipping unreadable file "embedded_attractor.dat "
         No data in plot

gnuplot> pl 'embedded_attractor.dat' w l
gnuplot> 
Peaceful
  • 4,920
  • 15
  • 54
  • 79

1 Answers1

1

It's a confirmed bug: look here

A workaround could be put in you ~/.bash_aliases or ~/.bashrc:

alias gnuplot='rlwrap -a -c gnuplot'

It works fine for me.

andreatsh
  • 141
  • 1
  • 4