[Top][All Lists]

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

Creating Local History Files

From: John W. Eaton
Subject: Creating Local History Files
Date: Tue, 8 Oct 1996 14:48:26 -0500

On  4-Oct-1996, Ted Harding <address@hidden> wrote:

: Using octave-1.1.1, I would like to be able to start up octave in any
: chosen directory and have the history file for that session in the
: directory I start from (or a related one).

With 1.1.1 you can use `history -r FILE' to read the commands from
FILE into the history list, and `history -w FILE' to write them back
out.  Automating reading a local history file should be easy to do in
the .octaverc file, but you have to remember to write the commands
back out to the same file before you exit.

The next release (someday, really!) will include a new built-in
variable `history_file' that should make this sort of thing somewhat


reply via email to

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