|
From: Petr M. <mi...@ph...> - 2005-08-14 15:31:53
|
> I am working on a patch to have gnuplot compiled with libedit from > NETBSD. So could the #ifdef GNUPLOT_HISTORY statements be left in > there? This would save us some very long #ifdefs ... If you manage to make a patch for removing that #ifdef first, then there is no need for them. >>> 2. By default, the history file is not read. It can be switched on in >>> .gnuplot by "set historysize" > > How would the environment variable 'GNUPLOT_HISTORY_SIZE' fit in > there? Could this be treated like "set historysize" in .gnuplot? Should it be set before or after reading .gnuplot? > Wouldn't is make sense to limit the size of 'in-memory' history > to historysize as well? But that wouldn't work with your is this necessary? > approach. So how about seperate commands for enabling/disabling > saving of history? E.g. sth. like "set history on/off". Good idea. That GNUPLOT_HISTORY could contain "no" in this case. --- PM |