[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does the exit command do?
From: |
Keith Goodman |
Subject: |
Re: What does the exit command do? |
Date: |
Wed, 22 Sep 2004 13:30:17 -0700 |
Thank you. That works.
I was using the -H option in the hope of speeding up the exit.
It is certainly worth it to me if someone else fixes it.
On Wed, 22 Sep 2004 16:08:19 -0400, John W. Eaton <address@hidden> wrote:
> On 22-Sep-2004, Keith Goodman <address@hidden> wrote:
>
> | I'm calling Octave with the command 'octave -qH myfunction.m' so it
> | should't need to write to .octave-hist on exit.
> |
> | I get the error with or without the -H option.
>
> The -H option is equivalent to saying
>
> saving_history = false;
>
> in Octave. This only tells Octave to stop adding commands to the
> history list. The list is still read at startup and saved when Octave
> exits (even if the history list is empty).
>
> It should be possible to decide whether the history list has been
> modified and then not save it. It should also be possible to avoid
> trying to write the file if it can't be opened for writing.
>
> Until someone decides that this problem is is worth the effort to fix,
> you can run Octave using a command like
>
> OCTAVE_HISTFILE=/dev/null octave -qH myfunction.m
>
> (Bourne shell syntax).
>
> jwe
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- What does the exit command do?, Keith Goodman, 2004/09/22
- Re: What does the exit command do?, Dmitri A. Sergatskov, 2004/09/22
- Re: What does the exit command do?, Keith Goodman, 2004/09/22
- Re: What does the exit command do?, Dmitri A. Sergatskov, 2004/09/22
- Re: What does the exit command do?, John W. Eaton, 2004/09/22
- Re: What does the exit command do?,
Keith Goodman <=
- Re: What does the exit command do?, Francesco Potorti`, 2004/09/23
- Re: What does the exit command do?, John W. Eaton, 2004/09/23
- Re: What does the exit command do?, Francesco Potorti`, 2004/09/23
- Re: What does the exit command do?, John W. Eaton, 2004/09/23
- Re: What does the exit command do?, Geraint Paul Bevan, 2004/09/23
- Re: What does the exit command do?, Geraint Paul Bevan, 2004/09/23
- Re: What does the exit command do?, Dmitri A. Sergatskov, 2004/09/22
What does the exit command do?, John W. Eaton, 2004/09/22