|
From: Petr M. <mi...@ph...> - 2006-05-26 10:21:47
|
>> Gnuplot's own readline does not keep duplicated lines in the history, so
>> browsing the command line is much faster than with GNU readline. Does
>> someone know whether the latter can be switched to behave the same way?
>
> Completion Variables
> --------------------
> ..
> - Variable: int rl_ignore_completion_duplicates
> If non-zero, then duplicates in the matches are removed. The
> default is 1.
No, it is not that. I want to remove duplicates in the history. E.g.
entering commands
set grid
history
set grid
history
set grid
history
set grid
history
will result in the above sequence, but with the gnuplot's readline it will
have always just these two entries:
set grid
history
as all the previous history duplicates will be removed.
Can the same be achieved with GNU readline? (It is more user friendly ... no
need to browse so long to find a command. The exact history is useless.)
---
PM
|