[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49214] Readline library does not support writ
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute |
Date: |
Thu, 29 Sep 2016 21:06:30 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #22, bug #49214 (project octave):
Wouldn't it be a possible fix for the original problem (a nicely hidden
.octave_hist file) to use the "append_history" command (Octave's "history -a")
from the readline library in the Octave shutdown code, instead of the
currently used "write_history" command (="history -w")?
Because the only thing that normally happens during an Octave session is to
APPEND new commands to the already existing history. And appending to already
existing "hidden" files seems to be supported by Windows OS as well as by the
"fopen(...,'a')" command in Octave for example. And for clearing the full
history list, the history file can just be deleted, this is also allowed for
hidden Windows files.
Or are there any usecases, where someone can actually change the already
pre-existing history list during an Octave session?
(If you think this is a doable fix, then please reopen this bug report.
Otherwise just leave it closed.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49214>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a "hidden" Windows file, (continued)
- [Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a "hidden" Windows file, John W. Eaton, 2016/09/28
- [Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a "hidden" Windows file, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a "hidden" Windows file, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a "hidden" Windows file, Hartmut, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Mike Miller, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Mike Miller, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Rik, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Mike Miller, 2016/09/29
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute,
Hartmut <=
- [Octave-bug-tracker] [bug #49214] Readline library does not support writing to Windows files with "hidden" attribute, Mike Miller, 2016/09/29