[Top][All Lists]

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

Re: Creating Local History Files

From: Mario Storti
Subject: Re: Creating Local History Files
Date: Fri, 4 Oct 1996 14:47:23 -0300

>>>>> address@hidden (Ted Harding) writes:
> Hi folks,
> 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).

Why not puting it in the shell script that calls Octave?

For instance:

if exists ./.octave_hist
    cp ./.octave_hist ~/octave_hist
if exists ./.octave_hist
    cp ~/octave_hist ./.octave_hist

Then, if the directory is not active, you load the last used history,
whereas if it is active you load a history which is local to the

To activate a directory you can do:

cp ~/.octave_hist .

Hope this helps,


Mario Alberto Storti               | Fax: (54)(42) 55.09.44               |
Grupo de Tecnologia Mecanica       | Tel: (54)(42) 55.91.75               |
INTEC, Guemes 3450 - 3000 Santa Fe | |
Argentina                          | Home: Gob. Vera 3161                 |
Reply: address@hidden  |       (54)(42) 55.00.23              |

reply via email to

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