[Opensim-dev] OpenSimDefaults.ini clean up

Frank Nichols j.frank.nichols at gmail.com
Mon Apr 7 19:02:05 UTC 2014


I would appreciate any comments on changing the OpenSimDefaults.ini file so that it will be the same form factor as the OpenSim.ini.example file. Currently the defaults file is an older format and as such it is difficult to compare the two when looking for changes or settings. 

I suggest (and am willing to do the work to make a patch) that the defaults file be updated to the same form factor as the OpenSim.ini.example file. In the case of any settings in the defaults that are not in the OpenSim.ini.example, those would be consolidated at the end of each associated section - i.e.. any thing in defaults [Startup] that is not in the .example [Startup] would be moved to the end of the defaults [Startup] section and updated to the same form factor as the rest of the settings.

When completed the two files run when through diff would result in ONLY those lines that are different - those being lines in defaults not in example and the line for the default setting - i.e.:

An example to demonstrate:

OpenSim.ini.example

[Startup]
    ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) "
    ;; Console prompt
    ;; Certain special characters can be used to customize the prompt
    ;; Currently, these are
    ;; \R - substitute region name
    ;; \\ - substitute \
    ; ConsolePrompt = "Region (\R) "

OpenSimDefaults.ini currently:

[Startup]
    ; Console prompt
    ; Certain special characters can be used to customize the prompt
    ; Currently, these are 
    ; \R - substitute region name
    ; \\ - substtitue \
    ConsolePrompt = "Region (\R) "


OpenSimDefaults.ini proposed:

[Startup]
    ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) "
    ;; Console prompt
    ;; Certain special characters can be used to customize the prompt
    ;; Currently, these are
    ;; \R - substitute region name
    ;; \\ - substitute \
    ConsolePrompt = "Region (\R) "

The proposed change would make comparing the two files for changes and differences easier. It would be a clean diff  obviously, since the defaults is 1800 lines and the example is only 1000. But, it might help.

Frank Nichols


More information about the Opensim-dev mailing list