|
From: Daniel J S. <dan...@ie...> - 2007-06-07 22:25:15
|
Daniel J Sebald wrote: >> Please add the to skip duplicated entries with the up-arrow. It does >> not make sense to press up so many times, even though many same lines >> are in history, does it? > > > After one sets > > set history condensed > > the up arrow should only sequence through unique commands. That is the > way it works here. Did you find that 'set hist con' solves the problem? (Place that command in you gnuplot initialization file.) If so, is overall behavior acceptable for you? >> BTW, bash does not store duplicated entries (try several times to type >> "ls" and then "history"). gnome-term and xterm keep a full history: 998 su 999 exit 1000 ls 1001 ls 1002 ls 1003 history ... Also, I should point out that the patch removes all duplicate spaces from input lines before placing them in the history buffer. This makes things more tidy and also makes things like "plot x" and "plot x" eqivalent. Dan |