View Issue Details

IDProjectCategoryView StatusLast Update
0000220opensim-SCFeaturepublic2021-06-29 22:17
Reporteronefang Assigned Toonefang  
PriorityhighSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version0.9.1.1 
Target Version0.9.1.1Fixed in Version0.9.1.1 
Summary0000220: Make the sim ini files polyglot.
Description; starts a comment in .ini files, and separates commands in bash scripts. So an ini file could look something like -


[Const]
FakeVariableCozOpenSim="" ; pushd ../current/bin; ./sledjchisl $1 `basename $0`; popd ; exit 0
    mysim="01"

Shell still bitches about [Const] being an unknown command. Good enough for now, maybe create a fake [Const] command in /usr/local/bin
TagsNo tags attached.

Activities

onefang

onefang

2021-06-11 05:59

administrator   ~0000341

Alas shell lines cannot start with a single ; and # means to comment it all out.
onefang

onefang

2021-06-22 20:22

administrator   ~0000356

Last edited: 2021-06-22 20:56

Aaaand # meaning a comment in .ini files is problematic, not working in OpenSim.

FUCK! lol

Apparently Nini CAN handle # as comment in Samba style ini type config files, but their docs are crap and searches can't find anything. A FAQ entry, but OpenSim doesn't use that IniDocument thing. So lots of hacking needed.

http://nini.sourceforge.net/Reference/html/Nini.Config.IniConfigSourceMembers.html

https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
onefang

onefang

2021-06-29 15:20

administrator   ~0000368

BTW, can't have anything outside of a [foo] section, which is why I put it after [Const], and thus need a fake [Const] command in the path.
onefang

onefang

2021-06-29 16:53

administrator   ~0000373

Last edited: 2021-06-29 16:54

./\[Const\] is what mc does. Arrrgghh!!!

./[Const] works to.

Issue History

Date Modified Username Field Change
2021-05-02 01:34 onefang New Issue
2021-05-02 01:34 onefang Status new => assigned
2021-05-02 01:34 onefang Assigned To => onefang
2021-05-02 01:41 onefang Description Updated
2021-06-11 05:59 onefang Status assigned => closed
2021-06-11 05:59 onefang Resolution open => not fixable
2021-06-11 05:59 onefang Note Added: 0000341
2021-06-13 18:26 onefang Description Updated
2021-06-13 18:27 onefang Status closed => assigned
2021-06-13 18:27 onefang Resolution not fixable => reopened
2021-06-13 19:04 onefang Description Updated
2021-06-22 20:22 onefang Note Added: 0000356
2021-06-22 20:36 onefang Note Edited: 0000356
2021-06-22 20:55 onefang Note Edited: 0000356
2021-06-22 20:56 onefang Note Edited: 0000356
2021-06-22 21:06 onefang Description Updated
2021-06-22 23:55 onefang Description Updated
2021-06-29 15:20 onefang Note Added: 0000368
2021-06-29 16:53 onefang Note Added: 0000373
2021-06-29 16:54 onefang Note Edited: 0000373
2021-06-29 18:06 onefang Description Updated
2021-06-29 22:17 onefang Status assigned => resolved
2021-06-29 22:17 onefang Resolution reopened => fixed
2021-06-29 22:17 onefang Fixed in Version => 0.9.1.1