octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a


From: Hartmut
Subject: [Octave-bug-tracker] [bug #49214] ".octave_hist" not updated if it is a "hidden" Windows file
Date: Wed, 28 Sep 2016 18:17:35 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

URL:
  <http://savannah.gnu.org/bugs/?49214>

                 Summary: ".octave_hist" not updated if it is a "hidden"
Windows file
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Wed 28 Sep 2016 06:17:33 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0-rc2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This happens under Windows OS (Win7 in my case). I have seen it with Octave
4.2.0-rc2, but it's already there in Octave 4.0.3 and probably also in earlier
versions:

The file ".octave_hist" is not updated during an Octave session, if this file
has the Windows file attribute "hidden"! In this case the octave_hist file is
properly read during startup of Octave, during the Octave session the newly
issued command are properly displayed in the GUI history window. But after
closing and restarting Octave, the last commands have disappeard, again.

Just for comparison: The file ".octaverc" is properly read under Window OS,
regardless if it has "normal" file attributes, or the attribute "hidden".

I usually like to "hide" files like octave_hist, because I am not ment to
manually edit them anyways. And under Linux OS the intention of the "." at the
beginning of the file name is also to hide this file away. So I think it would
be reasonable if also the Octave Windows version could deal with "hidden"
octave_history files, it might even be a good idea to "hide" this file under
Windows as well, when Octave needs to newly generate it (or runs for the first
time).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49214>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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