Bug#681646: gnuplot: somtimes forgets previous command (can't see it in history either)

Ralph Ronnquist ralph.ronnquist at gmail.com
Sun Jul 15 02:53:35 UTC 2012


Package: gnuplot
Version: 4.6.0-8
Severity: normal

Dear Maintainer,

now and then gnuplot seems to fail to store the command in its history,
so I can't recall it by ^P or up-arrow or any history command. In my
typical use, I recall previous command, make an edit and push <enter>.
It usually works fine, but sometimes gnuplots fails to remember the
command, so on next recall, I instead get a previous (what I did 2
command lines ago).

When it start, gnuplot insists on not remembering that same command line,
while it happily remembers other command lines in between, whether I
retype it manually, or recall it from history way back.

The following is a snapshot of gnuplot history:

  635  wx=0;w=12;t=t2;h=800;load "plot1"
  636  wx=0;w=12;t=t2;h=800;load "plot1"
  637  wx=0;w=12;t=t2;h=800;load "plot1"
  638  wx=0;w=8;t=t2;h=800;load "plot1"
  639  wx=0;w=8;t=6000;h=800;load "plot1"
  640  wx=0;w=8;t=6000;h=800;load "plot1"

Here I actually tried a callback form #639, to reuse #638, but that didn't
work, so I retyped #638, which is not seen in the history. Then I used 
recall (up-arrow) from a earlier command (way up), which it remembered
as #639. Then I tried again by retyping #638, which also did not go into
the history, and #640 is a subsequent recall of #639.

When it happens, that command line cannot be entered into the history,
if I add two spaces to the bigging it gets remembered.

It happens often enough to be a bother, but not often enough to be
a nuisance :-) and I haven't worked out a more detailed case pattern.
Possibly it has something to do with that the line first is by a
recall where I deleted the first few characters (up to a semicolon).

-- System Information:
Debian Release: 6.0.5
  APT prefers testing
  APT policy: (1001, 'testing'), (1000, 'stable'), (500, 'stable-updates')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnuplot depends on:
ii  gnuplot-x11 [gnuplot-nox]  4.6.0-8

gnuplot recommends no packages.

Versions of packages gnuplot suggests:
pn  gnuplot-doc  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list