[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command to save command history

From: Markus Mützel
Subject: Re: Command to save command history
Date: Mon, 27 Jul 2020 14:09:27 +0200

Am 27. Juli 2020 um 12:59 Uhr schrieb "Ian McCallion":
> Is there an Octave command to save the command history?.History is
> saved when Octave terminates normally, but all history accumulated
> since the last startup is lost if Octave crashes or is killed.
> The reason for asking is that Octave 5.2.0 on windows crashes
> frequently, especially when using plotting. During development it is
> easily possible to request plots that go into a loop and hang. Ctrl-C
> is ineffective at that point and the only solution is to use the task
> manager to kill Octave and restart it.
> I can put up with having to restart Octave occasionally, but it is a
> real pain to lose the history and have to reopen all the files that
> were open in the editor.
> A command to save history (and list of open files) would save a lot of
> frustration.
> Cheers... Ian

doc history

-w file
Write the current history to the file file. If the name is omitted, use the 
default history file (normally ~/.octave_hist).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]