|
From: Daniel J S. <dan...@ie...> - 2007-06-11 23:18:01
|
I've noticed that currently for --with-realine=builtin on CVS the history stack
will be truncated upon add_history(). E.g.,
gnuplot> history
1 set his 6
2 his
3 plot x
4 plot x*x
5 history
gnuplot> set his 2
gnuplot> foo = 2
gnuplot> his
1 foo = 2
2 his
gnuplot>
The GNU readline compilation doesn't do that. Truncation is only done when
saving to file.
Which way should history behave? (I'm thinking to not truncate history list
until saved, both GNU and builtin.)
Dan
|