[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I don't find the history of past days
From: |
Przemek Klosowski |
Subject: |
Re: I don't find the history of past days |
Date: |
Wed, 17 Oct 2018 12:26:53 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 10/17/2018 06:48 AM, Michel wrote:
history -w ./.local_octave_hist
Octave creates .local_octave_hist.dll LOCAL_OCTAVE_HIST file
No .dll ending, right? It's just .local_octave_hist ?
One possible source of confusion is that when you do 'history -w' it
writes the entire history and closes the file. On the other hand, the
default history file ~/.octave_hist is kept open and current session's
commands are buffered in memory but aren't necessarily flushed to disk
until you quit Octave. I don't know if there's a way to force writing
this buffer without quitting Octave.