Hi Mateusz, > On 17/01/2022 20:38, Robert Riebisch via Svardos-users wrote: >> CONFIG.SYS says "C:\SVARDOS\CONF\COUNTRY.SYS", when the file really is >> in "C:\SVARDOS\BIN\". >> >> (Yes, it's only a REMark by default, but it still should point to the >> right file location.) > > Now that you mention it I remember that this is something I wanted to > clean up, but eventually forgot about...
Ok > The thing is that the REMed line is correct (on my system), since I do > not use the COUNTRY.SYS provided by the FreeDOS project, but a custom > one that I create myself. The goal was to make this the "standard" way > of configuring COUNTRY settings in SvarDOS. > > This would rely on localcfg: > https://sourceforge.net/projects/localcfg/ > > It is a tiny program that generates a COUNTRY.SYS file based on user > preferences. I wrote it a couple of years ago because the default > COUNTRY settings were not matching exactly my preferences, and I always > had to test many of them to find something acceptable (typically, I like > dates in format "dd.mm.yyyy" time in 24h and having a thousand separator > set to "'"). Um, okay. That's a valid approach. I would have gone a different way by just changing FreeDOS country.asm to my needs and rebuild using NASM. Of course, the resulting COUNTRY.SYS would be (by default) larger than a COUNTRY.SYS created by your localcfg. Another idea of mine would have been to create a TUI-based COUNTRY.SYS browser/editor. 2/3 of the screen would present the list of COUNTRY.SYS data sets in short form: 001 437 . , ... 049 437 , . 1/3 would provide a detailed view of the currently selected/highlighted entry. Similar to the output of "localcfg mycntry.sys". > So the idea would be to pull localcfg into SvarDOS core and make it look > for %DOSDIR%\CONF\COUNTRY.SYS by default. %DOSDIR$\CFG... ;-) > Are there any reasons why such approach could be worse than relying on a > pre-compiled COUNTRY.SYS shipped with the system? >From what I see at <https://sourceforge.net/p/localcfg/code/HEAD/tree/trunk/country.c> you currently fully support codepage 437 only. There's no ucase/collate for other codepages. That will probably work for the majority of software, but might fail on some international software. Otherwise I currently see no problem. I tried localcfg on my VM and it worked fine, when I figured out that I could run it multiple times on the same mycntry.sys file to adjust all settings. (When I put all options in one line together before, I got "command line to long".) Cheers, Robert -- +++ BTTR Software +++ Home page: https://www.bttr-software.de/ DOS ain't dead: https://www.bttr-software.de/forum/ _______________________________________________ Svardos-users mailing list Svardos-users@lists.osdn.me https://lists.osdn.me/mailman/listinfo/svardos-users