Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Jim Hall
> On Sun, Aug 1, 2021 at 1:39 PM tom ehlert wrote: > >[..] > > KITTENC - catgets/kittengets compatible resource compiler > > > > KITTENC 'compiles' language resources to strings and attaches > > these strings to the executable program such that the program can > > retrieve these strings at

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Jim Hall
Hi Tom On Sun, Aug 1, 2021 at 1:39 PM tom ehlert wrote: >[..] > KITTENC - catgets/kittengets compatible resource compiler > > KITTENC 'compiles' language resources to strings and attaches > these strings to the executable program such that the program can > retrieve these strings at execu

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread tom ehlert
>> I think using language catalogs is a very flexible way to provide >> internationalization in a program. YES (see below) >> The tradeoff is a bit of >> performance (reading the catalog) and some extra code to manage >> everything. it makes no difference if you load your messages from your exe

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Jim Hall
> On 8/1/2021 10:03 AM, Robert Riebisch wrote: > > > > If we would streamline the build process for most of the FreeDOS tools, > > creating per-language binaries will be a breeze. On Sun, Aug 1, 2021 at 12:55 PM Ralf Quint wrote: > > It would be as simple as putting all files that do have transla

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Robert Riebisch
Hi Ralf, >> If we would streamline the build process for most of the FreeDOS tools, >> creating per-language binaries will be a breeze. > It would be as simple as putting all files that do have translations for > a specific language in a designated folder for that language, replace > the text to

Re: [Freedos-devel] CHAR: echo ascii characters

2021-08-01 Thread Jim Hall
Well, I originally said the use case was "how to get a list of extended ASCII characters into a file on FreeDOS" .. so really, I mean *extended* ASCII here. And yes, any code less than 0 or greater than 255 is not valid extended ASCII, so that's why I print those invalid code requests as '?' to ind

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Ralf Quint
On 8/1/2021 10:03 AM, Robert Riebisch wrote: If we would streamline the build process for most of the FreeDOS tools, creating per-language binaries will be a breeze. It would be as simple as putting all files that do have translations for a specific language in a designated folder for that lang

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Andrew Bird via Freedos-devel
Hi Robert, > > Could you please specify the "some extra code to manage everything" in > bytes? Just curious. Is it ~500 or ~2,500? > I just did a quick compile of the kitten test program with gcc-ia16 and found that without upx packing the sizes were as follows: With kitten 11264 bytes With

Re: [Freedos-devel] CHAR: echo ascii characters

2021-08-01 Thread Robert Riebisch
Hi Jim, > So if you want to print out the degree symbol (ASCII decimal 248) you > would type: > > char 248 > > (ASCII codes not in 0-255 are printed as '?' instead.) Would ASCII codes "not in 0-255" still be ASCII codes? ;-) Original ASCII is only 128 chars, by the way. Cheers, Robert --

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Robert Riebisch
Hi Ralf, >> But for a modern DOS that needs to support different languages by >> different users in different countries, I think language catalogs (the >> "Kitten" method) provide the best solution. > > Well, the problem is that this can increase the size of a lot of > executables by a lot. And

Re: [Freedos-devel] Devel-Philosophy [was: blocking bugs/issues for FreeDOS 1.3]

2021-08-01 Thread Robert Riebisch
Hi Jim, > I think using language catalogs is a very flexible way to provide > internationalization in a program. The tradeoff is a bit of > performance (reading the catalog) and some extra code to manage > everything. The benefit is you end up with *one* compiled program that > you use in every la