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

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

[Octave-bug-tracker] [bug #40444] On Windows, config & history files etc


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #40444] On Windows, config & history files etc. should go to %APPDATA%
Date: Thu, 17 Jan 2019 04:17:59 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #7, bug #40444 (project octave):

Just a cross-reference note: there's also bug #44548, which is discussing
where `pkg` installs its per-user stuff, which is a similar concern. There are
roles for both %APPDATA% and %LOCALAPPDATA% here.

I think this bug's discussion is probably right in that Octave config
settings, and perhaps command history, should go in the user's roaming profile
in %APPDATA%. Installed programs and data files should probably be
computer-local and go in %LOCALAPPDATA%, and that database shouldn't be
shared. Sharing command history files is problematic, though, since they
change often and there's no merge logic for them; most systems I'm familiar
with store those machine-locally. So .octave_history should probably go in
%LOCALAPPDATA%.

One note: whatever you decide, you shouldn't locate these directories by
looking at %USERPROFILE%. The AppData and AppDataLocal directories and other
special Windows shell folders can be "relocated" independently of the root
folder for the user profile. Use %APPDATA% to find the Roaming Application
Data directory and %LOCALAPPDATA% to find the Local Application Data.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?40444>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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