|
From: Daniel J S. <dan...@ie...> - 2007-06-11 17:28:35
|
Petr Mikulik wrote: >> For "set history 0", could you >> >>>please document whether is never forgets anything? >> >>What should "history 0" do? In the code, n=0 means print everything but that >>doesn't mean we can't issue an error. > > > I propose "set history 0" means not to store history commands to the > .gnuplot_history file. Hmm, that might be OK. The documentation is a bit inconsistent. If we choose 0 to mean 0 lines go to the history file. How do we set the history to "unlimited"? The answer is "unset history". That's a bit strange in the sense that the documentation says: The value <int> indicates the value of history size when leaving gnuplot. It is used for truncating the history to at most that many lines. The default is 666. [snip] `unset history` will set history operation to its default settings: no history truncation at exit and thus allow indefinite number of lines, `condensed`, and `numbered`. In one case the default is 666 in the other it is indefinite. There is no "set history inf" or anything like that. Dan |