Re: [Freedos-user] Cyrillic charset.

2008-10-26 Thread Aitor Santamaría
Hello,

2008/10/17 Eric Auer <[EMAIL PROTECTED]>:
 the BIOS will never return E0 as the char code
>
> AL is the ASCII value, AH is the scan code. And in my tests,
> the cursor keys returned "ASCII E0, scancode depending on key"
> so E0 can be returned. Special key combos such as right alt q
> (altgr-q in qwertz: @ sign) return ASCII 0, scancode depending
> on key if no German keyboard driver is loaded...
>
> So what is CON supposed to return when a cursor key is pressed?
> In the current kernel, the keypress is ignored, I would say.

The same that MS-DOS CON device does...

Aitor

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-17 Thread D.A.
Fri, 17 Oct 2008 Eric Auer wrote:

> By the way, the kernel will probably show that ASCII E0 if you
> use Alt-2-2-4 to enter that character (using the numpad digits).

Kernel will show empty space. But 'echo [EMAIL PROTECTED]' will show E0.

-- 
D.A.
id 0xC4D22CDD
fp 8F52 8619 6918 DAE3 5E61  3146 C89F BDB8 C4D2 2CDD

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-17 Thread Tom Ehlert

> Unfortunately I was unable to convince MKEYB RU to activate the
> "Cyrillic shift state", maybe somebody can tell me how that is
> supposed to work. Something related to right ctrl apparently?
press and release right control to activate/deactivate

Tom


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-16 Thread Eric Auer

Hi Tom,

 relevant bit of code from kernel readkey / ConRead / KbdRdChar:
 - if AL is returned as E0, return AL as 0 if AH is not 0 else

>>> the BIOS will never return E0 as the char code

AL is the ASCII value, AH is the scan code. And in my tests,
the cursor keys returned "ASCII E0, scancode depending on key"
so E0 can be returned. Special key combos such as right alt q
(altgr-q in qwertz: @ sign) return ASCII 0, scancode depending
on key if no German keyboard driver is loaded...

So what is CON supposed to return when a cursor key is pressed?
In the current kernel, the keypress is ignored, I would say.

I also wonder whether Cyrillic keyboard drivers would actually
return "ASCII E0, scancode 0" in some situations - which seems
to be what the kernel expects them to do.

Unfortunately I was unable to convince MKEYB RU to activate the
"Cyrillic shift state", maybe somebody can tell me how that is
supposed to work. Something related to right ctrl apparently?

By the way, the kernel will probably show that ASCII E0 if you
use Alt-2-2-4 to enter that character (using the numpad digits).

Eric


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-14 Thread D.A.
Tue, 14 Oct 2008 16:30:24 -0400 Henrique Peron wrote:

> under VMWare Server 1.0.7) and it worked fine. I've typed cyrillic
> "р" (Latin "r") both under the DOS prompt and under applications
> such as EDIT.COM.

No problem with 'р' (Latin 'r') in EDIT or any other applications,
except command promt.

> I see that the discussion here runs around kernel, command

Yes. Look on cyrillic "alphabet" at 08d8 in kernel.sys.
There is the muddle with latin and cyrillic characters, 
especially in capital letters row.

-- 
D.A.
id 0xC4D22CDD
fp 8F52 8619 6918 DAE3 5E61  3146 C89F BDB8 C4D2 2CDD

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-14 Thread Henrique Peron
Hi all,

Eric requested me on this thread but all I have to say is that I have 
tested (once again) the main russian keyboard layout (keyb 
ru,,keybrd2.sys) for FreeDOS (under Win98SE's DOS Prompt running under 
VMWare Server 1.0.7) and it worked fine. I've typed cyrillic "р" (Latin 
"r") both under the DOS prompt and under applications such as EDIT.COM.

I see that the discussion here runs around kernel, command interpreters, 
programming and stuff. Unfortunately I can be of no help on that. I can 
say, though, that Aitor's KEYB is able to handle E0h characters much 
like any other DOS KEYB program (otherwise there would be no russian 
support at all). One could think on trading cp808/cp866 for cp872/cp855. 
The problem would just change: the affected character (E0h) then is "Я", 
also needed in russian.

Henrique

Tom Ehlert escreveu:
> Hallo Herr Eric Auer,
>
>
>   
 That was not clear from your previous mail. However, here is the
 relevant bit of code from kernel readkey / ConRead / KbdRdChar:
 
 - if AL is returned as E0, return AL as 0 if AH is not 0 else
 
>>> that's simply a bug.
>>>
>>> the BIOS will never return E0 as the char code
>>>   
>
>   
>> Well okay but somebody added this special e0 code handling
>> and he probably had some reasons to do this...? What will
>> the BIOS return for extended keys such as "numpad *", will
>> it return the ASCII for * and e0 as the scancode or...?
>> 
>
> write a small program, test yourself ;)
>
> Tom
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>   
> 
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.173 / Virus Database: 270.8.0/1724 - Release Date: 14/10/2008 
> 02:02
>
>   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-14 Thread Tom Ehlert
Hallo Herr Eric Auer,


>>> That was not clear from your previous mail. However, here is the
>>> relevant bit of code from kernel readkey / ConRead / KbdRdChar:
>> 
>>> - if AL is returned as E0, return AL as 0 if AH is not 0 else
>> that's simply a bug.
>> 
>> the BIOS will never return E0 as the char code

> Well okay but somebody added this special e0 code handling
> and he probably had some reasons to do this...? What will
> the BIOS return for extended keys such as "numpad *", will
> it return the ASCII for * and e0 as the scancode or...?

write a small program, test yourself ;)

Tom


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-14 Thread Eric Auer

Hi Tom,

>> That was not clear from your previous mail. However, here is the
>> relevant bit of code from kernel readkey / ConRead / KbdRdChar:
> 
>> - if AL is returned as E0, return AL as 0 if AH is not 0 else
> that's simply a bug.
> 
> the BIOS will never return E0 as the char code

Well okay but somebody added this special e0 code handling
and he probably had some reasons to do this...? What will
the BIOS return for extended keys such as "numpad *", will
it return the ASCII for * and e0 as the scancode or...?

Eric


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-14 Thread Tom Ehlert

>> 2) I see no way for type cyrillic char 'р' (hex E0) in
>> the command prompt. Got empty space instead of desired 'р'.

 In 4dos.

>> And FreeCOM too. By the way, in DR-DOS with the same 4dos I have
>> desired char in command promt.
>> What make you think this command interpreter bug?
>> I'm sure on 100% - this is kernel bug.


> That was not clear from your previous mail. However, here is the
> relevant bit of code from kernel readkey / ConRead / KbdRdChar:

> - if AL is returned as E0, return AL as 0 if AH is not 0 else
that's simply a bug.

the BIOS will never return E0 as the char code, unless the russian
KEYB wants to return 'Rubelsign'.

Tom


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-14 Thread Eric Auer
Hi D.A.,

(Aitor, Henrique, Tom, maybe you can comment on this, too? Thanks!)

> 2) I see no way for type cyrillic char 'р' (hex E0) in
> the command prompt. Got empty space instead of desired 'р'.

>>> In 4dos.

> And FreeCOM too. By the way, in DR-DOS with the same 4dos I have
> desired char in command promt.
> What make you think this command interpreter bug?
> I'm sure on 100% - this is kernel bug.

That was not clear from your previous mail. However, here is the
relevant bit of code from kernel readkey / ConRead / KbdRdChar:

- if keyboard is 84 key, call int 16.0 or
- for 102/105 key call int 16.10
- if AL is returned as E0, return AL as 0 if AH is not 0 else
- return AL and AH unchanged
- if AX is Ctrl-PrtScr then turn it into Ctrl-P
- if AX is 0 then repeat (to handle extended keys)

The peek / nondestructive read functions work similar but use
int 16.1 and int 16.11 instead of int 16.0 and int 16.10 ...

Which AX value is returned by int 16 when you type the e0 char?
You may have to report two consecutive int 16 return values here.

The e0 handling in the kernel is meant to process BIOS encoding
of extended keys which does something with "e0 as a prefix" but
of course it could have a bug. The int 9 and int 15.4f RBIL info
says that e0, e1 and f0 are "prefix scancodes", but note that
int 16 returns ASCII in AL and scancode in AH, so I wonder why
the kernel checks for e0 in the AL register?

RBIL says:

> prefix code E0h indicates that the following make/break code is for a
> "gray" duplicate to a key which existed on the original PC keyboard;
[...and also for the Windows keys... e1 is only for the pause key...]
[...f0 can be used as release key prefix but this is normally off...]

Eric




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-13 Thread D.A.
Mon, 6 Oct 2008 10:50:10 +0200 (MEST) Eric Auer wrote:

> > > > 2) I see no way for type cyrillic char 'р' (hex E0) in
> > > > the command promt. Got empty space instead of desired 'р'.
> 
> > In 4dos.
And FreeCOM too. By the way, in DR-DOS with the same 4dos I have
desired char in command promt.

> Ask on the 4dos webpage / forum, I am not sure
> whether the 4dos people read freedos-user often.

What make you think this command interpreter bug?
I'm sure on 100% - this is kernel bug.

-- 
D.A.
id 0xC4D22CDD
fp 8F52 8619 6918 DAE3 5E61  3146 C89F BDB8 C4D2 2CDD

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-06 Thread D.A.
Wed, 1 Oct 2008 22:55:00 +0200 (MEST)  Eric Auer пишет:

> > 1) I have discover strange behaviour in the 'FreeDOS Edit 0.7d'.
> It would be really nice if you could let me know if that helps :-)
Looks like 'edit 0.9' free from this bug.

-- 
D.A.
id 0xC4D22CDD
fp 8F52 8619 6918 DAE3 5E61  3146 C89F BDB8 C4D2 2CDD

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-06 Thread Eric Auer

Hi!

> Tomorrow I will see on 'edit 0.9'.

Thanks

> > > 2) I see no way for type cyrillic char 'р' (hex E0) in
> > > the command promt. Got empty space instead of desired 'р'.

> In 4dos.

Ask on the 4dos webpage / forum, I am not sure
whether the 4dos people read freedos-user often.

> I'm on http://rugxulo.googlepages.com/. Where is hyperlink for 2038?
> Keyword '2038' appears there only once: #1 uses the latest 386+
> "2038pre".

For example the disk 1 of the ruffidea freedos floppy
distro contains the kernel. Disk 1 is available as a
zip with files and as one with a floppy image. You can
also use the "fatsecurity" kernel on the same homepage.

Eric

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-05 Thread D.A.
Wed, 1 Oct 2008 22:55:00 +0200 (MEST)  Eric Auer пишет:

> I have a suggested patch for that but you can use it for
> EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
> Edit the dflat.h file and modify the following two lines:

Tomorrow I will see on 'edit 0.9'.

> > 2) I see no way for type cyrillic char 'р' (hex E0) in the command
> > promt. Got empty space instead of desired 'р'.
> 
> Both with FreeCOM 0.82pl3 and FreeCOM 0.84 you mean...? You can

In 4dos.

> > FreeDOS kernel build 2036 cvs [version Sep 09 2005 compiled May 21
> > 2006]
> 
> You can also try a kernel 2038 preview as the kernels
> which are used in the rugxulo distro, see above :-).
> Thanks for testing :-).

I'm on http://rugxulo.googlepages.com/. Where is hyperlink for 2038?
Keyword '2038' appears there only once: #1 uses the latest 386+
"2038pre".

-- 
D.A.
id 0xC4D22CDD
fp 8F52 8619 6918 DAE3 5E61  3146 C89F BDB8 C4D2 2CDD

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-05 Thread Aitor Santamaría
Hello Alain,

You'll have to recompile EDIT for that (but not DFlat+).
I think all you'd need is at menus.c from EDIT. So you'll have to pick
DFlat+ binaries, EDIT sources, make the change and recompile.

Let me know if that troubles you.

Aitor

2008/10/2 Alain M. <[EMAIL PROTECTED]>:
> Hi Aitor,
>
> How difficult is it to change menu and controlkeys in Edir 0.9 to mimic
> M$ Edit in Portuguese?
>
> Alain
>
> Aitor Santamaría escreveu:
>> Hello,
>>
>> 2008/10/1 Eric Auer <[EMAIL PROTECTED]>:
>>> Hi!
>>>
 1) I have discover strange behaviour in the 'FreeDOS Edit 0.7d'. When I
 type cyrillic 'п' (hex AF), then 'п' will disapper and 1-5 following
 symbols will stay invisible.
>>> I have a suggested patch for that but you can use it for
>>> EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
>>> Edit the dflat.h file and modify the following two lines:
>>
>>
>> If you read the release notes, EDIT 0.9a does already have your patch,
>> so easiest thing: just use EDIT 0.9a.
>>
>> Regards,
>> Aitor
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-04 Thread Alain M.
Hi Aitor,

How difficult is it to change menu and controlkeys in Edir 0.9 to mimic 
M$ Edit in Portuguese?

Alain

Aitor Santamaría escreveu:
> Hello,
> 
> 2008/10/1 Eric Auer <[EMAIL PROTECTED]>:
>> Hi!
>>
>>> 1) I have discover strange behaviour in the 'FreeDOS Edit 0.7d'. When I
>>> type cyrillic 'п' (hex AF), then 'п' will disapper and 1-5 following
>>> symbols will stay invisible.
>> I have a suggested patch for that but you can use it for
>> EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
>> Edit the dflat.h file and modify the following two lines:
> 
> 
> If you read the release notes, EDIT 0.9a does already have your patch,
> so easiest thing: just use EDIT 0.9a.
> 
> Regards,
> Aitor
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-02 Thread Aitor Santamaría
Hello,

#define CHANGECOLOR  (unsigned char) 19 /* prefix to change colors
(old: 174) */
#define RESETCOLOR   (unsigned char) 23 /* reset colors to default
(old: 175) */

no need to make PR, but just have in mind that for users it is far
easier to use binaries rather than compiling themselves.

Aitor


2008/10/2 Eric Auer <[EMAIL PROTECTED]>:
>
> Hi Aitor,
>
>> > I have a suggested patch for that but you can use it for
>> > EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
>> > Edit the dflat.h file and modify the following two lines:
>
>> If you read the release notes, EDIT 0.9a does already have your patch,
>> so easiest thing: just use EDIT 0.9a.
>
> Nice, but which of the two suggested settings did you select? :-)
>
> Of course you are right, people with old EDIT problems should use
> a newer EDIT before complaining about the old one, and I should
> make more PR for the new EDIT, sorry about neglegting that...
>
> Eric
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-01 Thread Eric Auer

Hi Aitor,

> > I have a suggested patch for that but you can use it for
> > EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
> > Edit the dflat.h file and modify the following two lines:

> If you read the release notes, EDIT 0.9a does already have your patch,
> so easiest thing: just use EDIT 0.9a.

Nice, but which of the two suggested settings did you select? :-)

Of course you are right, people with old EDIT problems should use
a newer EDIT before complaining about the old one, and I should
make more PR for the new EDIT, sorry about neglegting that...

Eric



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-01 Thread Aitor Santamaría
Hello,

2008/10/1 Eric Auer <[EMAIL PROTECTED]>:
>
> Hi!
>
>> 1) I have discover strange behaviour in the 'FreeDOS Edit 0.7d'. When I
>> type cyrillic 'п' (hex AF), then 'п' will disapper and 1-5 following
>> symbols will stay invisible.
>
> I have a suggested patch for that but you can use it for
> EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
> Edit the dflat.h file and modify the following two lines:


If you read the release notes, EDIT 0.9a does already have your patch,
so easiest thing: just use EDIT 0.9a.

Regards,
Aitor
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Cyrillic charset.

2008-10-01 Thread Eric Auer

Hi!

> 1) I have discover strange behaviour in the 'FreeDOS Edit 0.7d'. When I
> type cyrillic 'п' (hex AF), then 'п' will disapper and 1-5 following
> symbols will stay invisible.

I have a suggested patch for that but you can use it for
EDIT 0.9 not for EDIT 0.7 now ;-). Please do the following:
Edit the dflat.h file and modify the following two lines:

#define CHANGECOLOR  (unsigned char) 174 /* prefix to change colors  */
#define RESETCOLOR   (unsigned char) 175 /* reset colors to default  */

Replace them by either suggestion one:

#define CHANGECOLOR  (unsigned char) 28 /* prefix to change colors  */
#define RESETCOLOR   (unsigned char)  8 /* reset colors to default  */

Or by the alternative suggestion two:

#define CHANGECOLOR  (unsigned char) 23 /* prefix to change colors  */
#define RESETCOLOR   (unsigned char) 19 /* reset colors to default  */

Then recompile. That should make cyrillic display work.
If you cannot recompile (0.7d compiles with Turbo C 2,
0.9 compiles with OpenWatcom which is even more free?)
then please say so on the list, I hope somebody can do
the compiling for you :-).

It would be really nice if you could let me know if that helps :-)



You can also try my more thorough / complete patch which
should make EDIT even more nice about displaying things:

www.coli.uni-saarland.de/~eric/stuff/soft/mixed/tough-color-edit.diff.gz

This is only for EDIT 0.7d but you could adapt it for 0.9 :-)
I have not tested the tough-color-edit.diff.gz but you can ;-)



> 2) I see no way for type cyrillic char 'р' (hex E0) in the command promt.
> Got empty space instead of desired 'р'.

Both with FreeCOM 0.82pl3 and FreeCOM 0.84 you mean...? You can
get 0.82 on sourceforge and 0.84 on http://rugxulo.googlepages.com/
http://sourceforge.net/project/showfiles.php?group_id=5109&package_id=9826
(select com082pl3-xmsswap.zip to get the right command.com file)
You can also try 4dos: http://4dos.zzl.org/ as far as I remember.



> display.exe con=(ega,,1)
> mode.com con codepage prepare=((866) %dosdir%\cpi\ega3.cpx)
> mode.com con codepage select=866
> keyb.exe ru,,%dosdir%\bin\keybrd2.sys

Sounds correct.

> FreeDOS kernel build 2036 cvs [version Sep 09 2005 compiled May 21 2006]

You can also try a kernel 2038 preview as the kernels
which are used in the rugxulo distro, see above :-).
Thanks for testing :-).

Eric

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user