[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: catching some message from command prompt
From: |
Olaf Till |
Subject: |
Re: catching some message from command prompt |
Date: |
Mon, 11 Aug 2008 12:01:25 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Mon, Aug 11, 2008 at 07:56:28AM +0000, address@hidden wrote:
> Hi all
>
> I need the message I'm writing to the octave command prompt for
> testing purpose. Now I don't want put some additional code into
> the "function codes". That's why I'm wondering if I can
> catch the message to reuse it.
>
There is a history file ("~/.octave_hist"). It does not necessarily
contain all commandlines of your current Octave session until you exit
Octave. But you can write a file with all commandlines of the current
session, see "help history". Olaf