turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Make interface colors customizable

Open unxed opened this issue 3 years ago • 8 comments

For sure turbo vision should allow this :)

unxed avatar Dec 02 '20 21:12 unxed

The main setback here is that I have to choose a configuration system, but I have never used one. Configuration files should be human-readable. Any suggestions?

magiblot avatar Dec 03 '20 00:12 magiblot

čt 3. 12. 2020 v 1:03 odesílatel magiblot [email protected] napsal:

The main setback here is that I have to choose a configuration system, but I have never used one. Configuration files should be human-readable. Any suggestions?

https://turbo-c.soft32.com/screenshots/ http://gsntechnologies.net/blog/turbo-c-for-windows-7-and-vista.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/magiblot/turbo/issues/9#issuecomment-737569867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO43GZLQLFITPRI5YZIDSS3IVJANCNFSM4ULCK3HA .

okbob avatar Dec 03 '20 04:12 okbob

https://github.com/caglartoklu/borlandp.vim

čt 3. 12. 2020 v 5:07 odesílatel Pavel Stehule [email protected] napsal:

čt 3. 12. 2020 v 1:03 odesílatel magiblot [email protected] napsal:

The main setback here is that I have to choose a configuration system, but I have never used one. Configuration files should be human-readable. Any suggestions?

https://turbo-c.soft32.com/screenshots/ http://gsntechnologies.net/blog/turbo-c-for-windows-7-and-vista.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/magiblot/turbo/issues/9#issuecomment-737569867, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO43GZLQLFITPRI5YZIDSS3IVJANCNFSM4ULCK3HA .

okbob avatar Dec 03 '20 04:12 okbob

The main setback here is that I have to choose a configuration system, but I have never used one. Configuration files should be human-readable. Any suggestions?

Why not to use well-known .ini file syntax? For example, this is ready to use code to work with it from far2l (GPLv2): https://github.com/elfmz/far2l/blob/master/utils/src/KeyFileHelper.cpp

unxed avatar Dec 03 '20 11:12 unxed

JSON!

exebook avatar Dec 23 '20 23:12 exebook

Hey exebook,

JSON!

Yeah, I also think JSON makes everything simpler. But I'm not sure plain JSON is good enough, as it doesn't support comments. libconfig not only is adapted to the use case of storing configuration, but also uses a syntax very similar to JSON: http://hyperrealm.github.io/libconfig/libconfig_manual.html#Configuration-Files.

magiblot avatar Dec 24 '20 00:12 magiblot

JSON allows /* */ AFAIK but not //. But anyway you can strip comments before calling JSONParse in your library of choice. Also you can put your comments in string properties like { comment: "blah" }

exebook avatar Dec 24 '20 19:12 exebook

JSON allows /* */ AFAIK but not //. But anyway you can strip comments before calling JSONParse in your library of choice. Also you can put your comments in string properties like { comment: "blah" }

I know for sure that a few JSON parsers recognize comments, but this does not seem to be in the standard; it is however supported by JSON5.

Another option could be to use TOML: it was designed specifically for configuration files written by humans, it looks reasonably similar to INI files, it is easy to support it in C++ because there are header-only libraries, it is widely used and so it's likely that people already know how to write TOML files.

ziotom78 avatar Dec 04 '23 11:12 ziotom78