Configuration files should be stored under $XDG_CONFIG_HOME (which should default to ~/.config if not defined) https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
For example:
~/.bochsrc => $XDG_CONFIG_HOME/bochs/bochsrc or $XDG_CONFIG_HOME/bochs/config.conf
$XDG_DATA_HOME/bochs for things like hard disk images and so on, per user basis, if the bochsrc file doesn't specify a fully qualified path for a file.
Using $XDG_DATA_DIRS/bochs/plugins instead of a compile-time hard-coded location. BXSHARE could override if desired for some reason, as already happens.
A few of the advantages of using the XDG Base Directory Specification as follows:
I may go ahead and add this, but I do not know how to submit patches other than on here, and it looks like they get mostly ignored and not included on svn.
I agree and think this is a good idea.
You might address this on the mailinglist.
Ack, I forgot I had posted this. Was this not the mailinglist? I thought
it was intended to be?
On 2/10/22 09:23, Oliver wrote:
Related
Feature Requests: #493
No, this is the bug report and feature request side.
You can subscribe to the mailinglist here:
https://sourceforge.net/projects/bochs/lists/bochs-developers
BTW the GUI debugger also creates a file called
bx_enh_dbg.iniin the~/home directory and thus also doesn't follow the XDG Base specification. I hope this will get fixed.