Re: [Freedos-user] Codepage and keyboard setting for Czech language

2023-12-19 Thread Bret Johnson via Freedos-user
FYI, in MS-DOS divided the Internationalization aspect into four different 
subcategories: Keyboard Layout, Code Page, Country, and Language (which also 
includes dialects).  While they all overlap and inter-relate to some degree, 
they are distinct and are all handled separately.  The more "modern" operating 
systems also have the same issues but handle it differently than MS-DOS 
did/does, in part because of limited resources (like hard drive and memory 
space).


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Codepage and keyboard setting for Czech language

2023-12-19 Thread Lukáš Kotek via Freedos-user
-- Původní e-mail --Od: Mateusz Viste via Freedos-user <
freedos-user@lists.sourceforge.net>
Komu: freedos-user@lists.sourceforge.net
Kopie: Mateusz Viste 
Datum: 19. 12. 2023 21:46:02
Předmět: Re: [Freedos-user] Codepage and keyboard setting for Czech language
"On 19/12/2023 18:18, Lukáš Kotek via Freedos-user wrote:
> display con=(ega,852,1)
> mode con codepage prepare ((852) C:\freedos\cpi\ega.cpx)
> mode con codepage select=852
>
> All czech-specific letters are printed correctly now.
>
> Is this the recommended way?

Yes, it is the "official" way, as Microsoft intended. Essentially
loading the set of CP852 characters into the EGA/VGA memory, otherwise
the video hardware usually defaults to CP437.
"



Thanks! Now I also noticed these commands from above are also part of
FDAUTO.BAT. I should have checked it earlier.


 
"
> Or is there some a bit more straightforward
> approach possible, please?

Back in the day it was common in Poland to use hacky TSRs to display
Polish characters in the Mazovia format, which was a national standard
superior in many aspects to the Microsoft 852 proposition. Our Pepíci
brothers had a very similar solution, albeit the standard of course had 
to be different because we use different glyphs: on your side of the
border you used the Kamenicky encoding, and there were TSRs floating
around on floppies to support Kamenicky on EGA screens, just like there 
were TSRs for Mazovia on our side.
"



Ah yeah, Kamenicky! For me, this is a part of history I don't really
remember. I mean I am (somehow) aware about these things existed, but that's
it. When I was growing up, the "big thing" regarding codepages was cp1250 vs
iso 8859-2, and soon utf-8. The time I spent with any type of DOS in the 
past was actually quite short, so all the aspects of FreeDOS project are 
currently very new to me (and I find it to be factinating).


 
"
A couple of links so you can get a good idea what to look for:

http://www.cestina.cz/pocestovani/dos/system/display.html
http://www.cestina.cz/kodovani/#KEYBCS2
https://vitsoft.info/ (Podpora češtiny)
"



Thanks for the links! I will check them out.




Lukas


 
"

Mateusz


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user
"___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Codepage and keyboard setting for Czech language

2023-12-19 Thread Mateusz Viste via Freedos-user

On 19/12/2023 18:18, Lukáš Kotek via Freedos-user wrote:

display con=(ega,852,1)
mode con codepage prepare ((852) C:\freedos\cpi\ega.cpx)
mode con codepage select=852

All czech-specific letters are printed correctly now.

Is this the recommended way?


Yes, it is the "official" way, as Microsoft intended. Essentially 
loading the set of CP852 characters into the EGA/VGA memory, otherwise 
the video hardware usually defaults to CP437.


Or is there some a bit more straightforward 
approach possible, please?


Back in the day it was common in Poland to use hacky TSRs to display 
Polish characters in the Mazovia format, which was a national standard 
superior in many aspects to the Microsoft 852 proposition. Our Pepíci 
brothers had a very similar solution, albeit the standard of course had 
to be different because we use different glyphs: on your side of the 
border you used the Kamenicky encoding, and there were TSRs floating 
around on floppies to support Kamenicky on EGA screens, just like there 
were TSRs for Mazovia on our side.


A couple of links so you can get a good idea what to look for:

http://www.cestina.cz/pocestovani/dos/system/display.html
http://www.cestina.cz/kodovani/#KEYBCS2
https://vitsoft.info/ (Podpora češtiny)


Mateusz


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Codepage and keyboard setting for Czech language

2023-12-19 Thread Lukáš Kotek via Freedos-user

OK, so I figured out how to resolve it literally moments after I sent the 
previous email :-) It is based on the docs:





- https://github.com/FDOS/cpi/blob/master/Readme.txt

- http://wiki.freedos.org/wiki/index.php/Mode





Following solution works:




display con=(ega,852,1)

mode con codepage prepare ((852) C:\freedos\cpi\ega.cpx)

mode con codepage select=852




All czech-specific letters are printed correctly now.




Is this the recommended way? Or is there some a bit more straightforward 
approach possible, please? I guess this is something probably any user who
wishes to use some Czech with FreeDOS must hit. (Is it worth documenting?)




Or maybe it is only me :-)





Lukas




-- Původní e-mail --
Od: Lukáš Kotek via Freedos-user 
Komu: freedos-user@lists.sourceforge.net
Kopie: Lukáš Kotek 
Datum: 19. 12. 2023 18:03:46
Předmět: [Freedos-user] Codepage and keyboard setting for Czech language
"Hello everyone,

I am trying to use Czech keyboard layout on FreeDOS, but I guess I am doing
some, probably obvious, mistake here. Can you help or point me to what I am
doing wrong, please?

I am running FreeDOS on Fedora 39 using qemu 8.1 (but behaviour is fully 
reproducible also with VirtualBox). My full qemu command is:

qemu-system-i386 -m 64 -k cz -rtc base=localtime -display gtk -hda dos.img -
cdrom FD13LGCY.iso -boot order=c -enable-kvm -device sb16 -device adlib -
drive file=fat:rw:share/

I set keyboard layout via `keyb cz,852`, but some czech-specific letters are
shown incorrectly (letters with hooks etc). Czech keyboard uses following 
letters ;+ěščřžýáíé=´ (on keys where US layout has `1234567890-= chars). The
most of these is always printed incorrectly, I also tried with DosBOX which
show it just fine (see pictures bellow to compare).

- https://lukaskotek.eu/static/dosbox_correct_chars.png
- https://lukaskotek.eu/static/freedos_incorrect_chars.png
- https://lukaskotek.eu/static/freedos_multiple_codepages.png

I also experimented with different codepages like cp858, cp867, but with no
luck.

I tried to save these special chars via echo command to the text file on 
drive shared with my Linux host and then, on the host, I converted the file
to utf8 with iconv by:

iconv -f cp852 -t utf8 -o czech_ch_converted.txt czech_ch.txt

...and in that case all the letters in the output file are completely fine :
-)

Any idea what can be wrong? I noticed there is app Blocek which is
definitely expected to work properly with Czech language, so the problem is
very probably on my side. I just cannot see it. I'll be glad for any advice
here.

Best regards,
Lukas___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user
"___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Codepage and keyboard setting for Czech language

2023-12-19 Thread Lukáš Kotek via Freedos-user
Hello everyone,

I am trying to use Czech keyboard layout on FreeDOS, but I guess I am doing
some, probably obvious, mistake here. Can you help or point me to what I am
doing wrong, please?

I am running FreeDOS on Fedora 39 using qemu 8.1 (but behaviour is fully 
reproducible also with VirtualBox). My full qemu command is:

qemu-system-i386 -m 64 -k cz -rtc base=localtime -display gtk -hda dos.img -
cdrom FD13LGCY.iso -boot order=c -enable-kvm -device sb16 -device adlib -
drive file=fat:rw:share/

I set keyboard layout via `keyb cz,852`, but some czech-specific letters are
shown incorrectly (letters with hooks etc). Czech keyboard uses following 
letters ;+ěščřžýáíé=´ (on keys where US layout has `1234567890-= chars). The
most of these is always printed incorrectly, I also tried with DosBOX which
show it just fine (see pictures bellow to compare).

- https://lukaskotek.eu/static/dosbox_correct_chars.png
- https://lukaskotek.eu/static/freedos_incorrect_chars.png
- https://lukaskotek.eu/static/freedos_multiple_codepages.png

I also experimented with different codepages like cp858, cp867, but with no
luck.

I tried to save these special chars via echo command to the text file on 
drive shared with my Linux host and then, on the host, I converted the file
to utf8 with iconv by:

iconv -f cp852 -t utf8 -o czech_ch_converted.txt czech_ch.txt

...and in that case all the letters in the output file are completely fine :
-)

Any idea what can be wrong? I noticed there is app Blocek which is
definitely expected to work properly with Czech language, so the problem is
very probably on my side. I just cannot see it. I'll be glad for any advice
here.

Best regards,
Lukas___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS 2024 calendar coming soon

2023-12-19 Thread Jim Hall via Freedos-user
Jim Hall wrote:
[..]
>>> The anniversary is coming up in June 2024. I'm trying to finish a
>>> 2024 calendar that you can buy (at low cost, if you want it in print)
>>> or download (if you just want the images). I'm trying to finish
>>> grading a bunch of university classes that I teach, so I haven't had
>>> time to finish the calendar - but grades are due soon and the calendar
>>> will follow shortly after.
>>>


FYI: I've finished grading so now I'm starting on the calendar.

The calendar will be a series of screenshots of FreeDOS programs, and
possibly a little "info box" on each to talk about it. I'm open to
suggestions! Currently I'm thinking about these (not in order):

- FreeDOS command.com ("FreeCOM") version 0.60 [screenshot from FreeDOS Alpha 5]

- FreeDOS kernel 0.92 [screenshot from FreeDOS Beta 1]

- "Welcome to the FreeDOS install program (version 2.2)" [screenshot
from FreeDOS Beta 2]

- installing FreeDOS Kernel 2010 [screenshot from FreeDOS Beta 5]

- screenshot of FreeDOS Beta 9 boot CD menu

- screenshot of Block Drop

- screenshot of the standard 16-color (8 background colors) screen test

- screenshot of Edlin 2.23 [probably for May, because that was the
month Gregory released the first version of Edlin]

- screenshot of FreeDOS installer [from FreeDOS 1.0]

- screenshot of FDIMPLES [from FreeDOS 1.3]

- screenshot of "FreeDOS 1.3 - Install" [from FreeDOS 1.3]

- screenshot of FreeDOS 1.3 after it's booted to the command line



Of these, 5 are basically black with gray text (alpha 5 command.com,
beta 1 kernel, beta 2 install, edlin, and FreeDOS 1.3 after boot). And
4 are basically blue with text (beta 3 install, FreeDOS 1.0 install,
FDIMPLES, and FreeDOS 1.3 install). That might not be very visually
interesting - but probably interesting historically. Would you
recommend *not* using any of the above screenshots? Are there other
screenshots that you'd like to see instead?


Jim


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS 2024 calendar coming soon

2023-12-19 Thread robert roper via Freedos-user
If the calendar is a bunch of engineers in bathing suits, then I'll take 10.

On Tue, Dec 19, 2023 at 9:02 AM Gabriele Barbone via Freedos-user <
freedos-user@lists.sourceforge.net> wrote:

> Merry Christmas guys and Happy 2024
>
> Il dom 17 dic 2023, 20:43 Jim Hall via Freedos-user <
> freedos-user@lists.sourceforge.net> ha scritto:
>
>> (I'm re-sharing this item from my virtual get-together "followup"
>> email so it gets seen by others)
>>
>>
>> The anniversary is coming up in June 2024. I'm trying to finish a
>> 2024 calendar that you can buy (at low cost, if you want it in print)
>> or download (if you just want the images). I'm trying to finish
>> grading a bunch of university classes that I teach, so I haven't had
>> time to finish the calendar - but grades are due soon and the calendar
>> will follow shortly after.
>>
>>
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] FreeDOS 2024 calendar coming soon

2023-12-19 Thread Gabriele Barbone via Freedos-user
Merry Christmas guys and Happy 2024

Il dom 17 dic 2023, 20:43 Jim Hall via Freedos-user <
freedos-user@lists.sourceforge.net> ha scritto:

> (I'm re-sharing this item from my virtual get-together "followup"
> email so it gets seen by others)
>
>
> The anniversary is coming up in June 2024. I'm trying to finish a
> 2024 calendar that you can buy (at low cost, if you want it in print)
> or download (if you just want the images). I'm trying to finish
> grading a bunch of university classes that I teach, so I haven't had
> time to finish the calendar - but grades are due soon and the calendar
> will follow shortly after.
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user