[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command to save command history
From: |
Ian McCallion |
Subject: |
Re: Command to save command history |
Date: |
Tue, 28 Jul 2020 11:52:39 +0100 |
On Mon, 27 Jul 2020 at 13:09, Markus Mützel <markus.muetzel@gmx.de> wrote:
>
> 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).
Hi Markus,
Many thanks for the tip.
history -w
works exactly as I would wish.
Cheers... Ian
- Command to save command history, Ian McCallion, 2020/07/27
- Re: Command to save command history, marco atzeri, 2020/07/27
- Re: Command to save command history, Markus Mützel, 2020/07/27
- Re: Command to save command history,
Ian McCallion <=
- Re: Command to save command history, Somtochukwu Anene, 2020/07/27
- frequent windows crashes, especially with plotting?, Nicholas Jankowski, 2020/07/27
- Re: Command to save command history, Doug Stewart, 2020/07/27