Re: [Freedos-user] Russian by UTF-8 in FreeDOS...

2006-07-28 Thread Ladislav Lacina
Thank you very much for FoxType!
I really need some DOS viewer which can show combined czech/russian text
files.
The support for czech chars isn't perfect yet, however.
And I have a suspision that the russian big K (К) isn't shown (The small
one
is).
So please, add the missing czech chars: áéíóúůýěščřžňďť and
ÁÉÍÓÚŮÝĚŠČŘŽŇĎŤ
And at last would be very welcome to speed up this program.

(I haven't succeed to send this message on your email, so I have to send it
on this maillist)



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-14 Thread Carl Spitzer
On Wed, 2006-07-05 at 18:11 +0200, Fox wrote:
 Hi people!
 
 Is there any software wich gives UTF-8 support to DOS? I often copy Linux 
 text 
 files (which are UTF8 encoded) to my DOS computer and have *big* problems to 
 read them. Not only because of the LF/CR difference between DOS and Unix 

In linux there is unix2dos and dos2unix included with some distros.
Then there is Perl which can search and replace characters in files.
for changing names there is tr see script below.  Might as well use the
unix tools it provides since that is where your starting.

cat /home/cwsiv/MyBash/space.sh
# Loop over all files in a directory
for i in * ; do
 
 # $i = current filename
 
 #  translate $i (filename) the string upper to lowercase and
  # emit the result
 LOWERNAME=`echo -n $i| tr ' ' '_'`

# for lower case
#  LOWERNAME=`echo -n $i| tr 'A-Z ' 'a-z'`
 
 # mv = rename file
  mv $i $LOWERNAME
 
done


Someday we will have a dos perl but since I figure most of us multiboot
with linux we can get by mixing the two and having the best of both.
CWSIV



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-10 Thread Arkady V.Belousov
Hi!

9-Июл-2006 23:39 [EMAIL PROTECTED] (Aitor Santamarэa) wrote to
freedos-user@lists.sourceforge.net:

AS Here I am sending to you the links to the binary utilities, (both exec
AS and source) with the latest versions. Both have accompaining
AS information files.
[...]

 Thank you.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Henrique Peron
Hi Mateusz,

basically, the difference between the many codepages suitable for russian is 
that they are suitable for other languages as well.
cp771 and 772, for instance, are meant to assist both lithuanian and russian 
while cp872 and 855 are meant for serbian, macedonian and russian.
As far as I know, cp866 is the most commonly used codepage for russian; 
cp808 was a slight IBM enhancement for russian users to have the Euro sign.
With the exception of cp872 and cp855, all 3-, 4- and 5-digit cyrillic 
codepages present the russian letters in the same codepoints where they are 
found on cp866. (Please remember that while you continue to read this 
message.)

3-digit and 4-digit codepages available for FreeDOS exactly match their 
major industry counterparts. That means that, for instance, FreeDOS cp866 is 
identical to MS-DOS cp866 or IBM-DOS cp866.

In what regards 5-digit codepages (for instance, cp61282), they present 
encodings not provided by the major industry on those days.

Codepages on the 3 range (cp3 ~ cp30030) were designed by me, in 
accordance to an idea I discussed with Jim Hall a long time ago: FreeDOS 
could fill the gap left by the major industry. There are several languages 
which were never assisted. Among them, the official languages of all the 21 
russian republics.

Codepages out of that range (for instance, cp61282) are actually encodings 
used by programmers on those days which needed to type languages for which 
there was no support by the major industry as well. I have run their 
programs, analyzed the contents of the codepoints and encoded new codepages. 
cp61282, for instance, is meant to assist latvian and russian. It seems that 
encoding was named RusLat on those days. Actually, when I provided 5-digit 
codepages like those (I mean, out of the 3 range), I wanted them to be 
temporary. If anyone told me that there was a major-industry-official (3- or 
4-digit) codepage provided by MS, IBM or anyone else to assist any language, 
I would have liked to receive a message detailing its encoding and its 3- 
(or 4-)digit CP number.

If you want details, the documentation which you already browsed can tell 
you which codepage is meant for which language(s).

If you want even more details or want to discuss suggestions, please contact 
me directly; my e-mail address is found on the documentation. I know that 
there are several languages for which I still didn't provide support; just 
bear in mind that, for the time being, I can only handle plain-and-simple, 
left-to-right alphabets requiring no special handling, such as the latin, 
cyrillic, greek, georgian and armenian alphabets.

Henrique

- Original Message - 
From: Mateusz Viste [EMAIL PROTECTED]
To: freedos-user freedos-user@lists.sourceforge.net
Sent: Saturday, July 08, 2006 1:34 PM
Subject: Re: [Freedos-user] Russian by UTF-8 in FreeDOS?


Dnia środa 05 lipiec 2006 19:52, Henrique Peron napisał:
 It should work for you in your AUTOEXEC.BAT file:

 DISPLAY CON=(,,3)
 MODE CON CODEPAGE PREPARE=((858,852) C:\FDOS\BIN\EGA.CPX)
 MODE CON CODEPAGE PREPARE=((,,808) C:\FDOS\BIN\EGA3.CPX)

 Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for 
 polish
 or 808 for russian.

Indeed, it worked! It seems that my problem was that I was loading DISPLAY 
the
wrong way. It could supports max. two codepages (polish and french), so when
I tried to add the third (russian) it was just ignoring it. By the way, I
don't knew that I could prepare several codepages, and then just selected
which I needed. I usually stupidly repeated all the procedure every time I
wanted to change the language (DISPLAY, PREPARE, SELECT...).
Anyway, thanks a lot!

I noticed that there are many various codepages for russian language in
FreeDOS: 771, 772, 855, 872, 866, 808, 61282.
Could someone tell me what is the difference between them, and what should I
use (which one is the most popular in Russia)?

Best regards,
Mateusz Viste Fox



Twórcy Strasznego filmu przedstawiają opowieść
o miłości, romantycznych porywach i tym podobnych
ściemach: Komedia romantyczna - w kinach od 7 lipca!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Faliasdlajustyny2.htmlsid=809



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere

Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Arkady V.Belousov
Hi!

5-Июл-2006 13:52 [EMAIL PROTECTED] (Henrique Peron) wrote to
freedos-user@lists.sourceforge.net:

HP Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for polish
HP or 808 for russian.

 808?

HP Please refer to the documentation available on DISPLAY, MODE, the codepage
HP and keyboard layout packages for further details and if you still run into
HP trouble, please contact me.

 BTW, Henrique, may you give me links to all latest editions of these
utilities and links to documentation for them (which not included into
packages)?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Arkady V.Belousov
Hi!

9-Июл-2006 13:22 [EMAIL PROTECTED] (Henrique Peron) wrote to
freedos-user@lists.sourceforge.net:

HP As far as I know, cp866 is the most commonly used codepage for russian;

 Yes.

HP cp808 was a slight IBM enhancement for russian users to have the Euro sign.

 I first time hear about it. :)

HP which were never assisted. Among them, the official languages of all the 21
HP russian republics.

 In USSR was 15 republics.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Arkady V.Belousov
Hi!

6-Июл-2006 22:17 [EMAIL PROTECTED] (Bart Oldeman) wrote to
freedos-user@lists.sourceforge.net:

BO As for converting, and then displaying the result in your favourite
BO DOS character set, recode will do; search for rcode35b.zip in the v2gnu
BO directory of your local DJGPP mirror.

 I was try it. I create test file, where in UTF-8 was present russian
word test:

D1 82 D0 B5  D1 81 D1 82  0D 0A

Then I run recode (http://clio.rice.edu/djgpp/win2k/rcode35b.zip):

recode.exe test outf
Exiting due to signal SIGSEGV
Page fault at eip=623a, error=0004


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread dima
On Sat, 8 Jul 2006, Mateusz Viste wrote:

  DISPLAY CON=(,,3)
  MODE CON CODEPAGE PREPARE=((858,852) C:\FDOS\BIN\EGA.CPX)
  MODE CON CODEPAGE PREPARE=((,,808) C:\FDOS\BIN\EGA3.CPX)
 
  Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for polish
  or 808 for russian.

 FreeDOS: 771, 772, 855, 872, 866, 808, 61282.
 Could someone tell me what is the difference between them, and what should I 
 use (which one is the most popular in Russia)?

This is example of fdauto.bat:
LH %dosdir%\BIN\display.exe con=(ega,,1)
%dosdir%\BIN\mode.com con codepage prepare=((866) %dosdir%\CPI\ega3.cpx)
%dosdir%\BIN\mode.com con codepage select=866
LH %dosdir%\BIN\keyb.exe RU,,%dosdir%\BIN\keybrd2.sys

and fdconfig.sys:
COUNTRY=007,866,D:\FDOS\BIN\country.sys

--
Take care. Your friend,
dima 7509107*mail,ru 2:550/112



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Henrique Peron
Hi Arkady,

thanks for the information on the USSR's 15 republics; however, according to 
information I found in the web, Russia comprehends nowadays 21 republics 
(республики), 48 regions (областей), 7 territories (краёв), 9 autonomous 
districts (автономных округов), 1 autonomous province (автономная область) 
and 2 federal cities (города федерального значения), Moscow and Saint 
Petersburg.

Also according to the same source (Wikipedia), 6 former non-republics were 
promoted into republics after the dissolution of the Soviet Union:

1) Adygea, on July 3, 1991 (It was a region)
2) Khakassia received republic status on 1991.

Other regions received republic status on the last days of the Soviet Union, 
perhaps for a very short period of time before turning into republics of the 
new Russian Federation.

Anyway, you're russian, I am not; perhaps the source I found is either 
outdated or simply wrong. If you know this to be the case, please let me 
know. :-)

Henrique


- Original Message - 
From: Arkady V.Belousov [EMAIL PROTECTED]
To: freedos-user@lists.sourceforge.net
Sent: Sunday, July 09, 2006 3:23 PM
Subject: Re: [Freedos-user] Russian by UTF-8 in FreeDOS?


 Hi!

 9-Июл-2006 13:22 [EMAIL PROTECTED] (Henrique Peron) wrote to
 freedos-user@lists.sourceforge.net:

 HP As far as I know, cp866 is the most commonly used codepage for 
 russian;

 Yes.

 HP cp808 was a slight IBM enhancement for russian users to have the Euro 
 sign.

 I first time hear about it. :)

 HP which were never assisted. Among them, the official languages of all 
 the 21
 HP russian republics.

 In USSR was 15 republics.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user
 




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Henrique Peron
Hi Arkady,

Yes, 808. IBM-DOS has released that CP on those old IBM-DOS days. It is an 
enhancement over cp866. It provides the Euro sign on codepoint FDh instead 
of the international currency sign. All the rest is the same.

Because of the Euro sign, IBM-DOS codepages were adopted instead of their 
MS-DOS counterparts as official for the following languages on FreeDOS. In 
some cases, the CPxxx number is the same, but the IBM-DOS codepages 
presented the Euro sign on codepoints which were left blank on their MS-DOS 
counterparts:

1) Codepage 808 for Russian instead of cp866 (IBM-DOS/MS-DOS Cyrillic II);
2) Codepage 858 for Latin-1 (Western Europe) instead of cp850 
(IBM-DOS/MS-DOS Latin-1);
3) Codepage 872 for serbian and macedonian instead of cp855 (IBM-DOS/MS-DOS 
Cyrillic);
4) Codepage 848 for ukrainian instead of cp1125 (IBM-DOS/MS-DOS Ukrainian);
5) Codepage 849 for belarusian instead of cp1131 (IBM-DOS/MS-DOS 
Belarusian);
6) IBM-DOS codepage 852 was adopted instead of MS-DOS cp852 for Latin-2 
(Central Europe);
7) IBM-DOS codepage 857 was adopted instead of MS-DOS cp857 for Latin-5 
(with turkish letters replacing icelandic ones);
8) IBM-DOS codepage 869 was adopted instead of MS-DOS cp869 for Greek;
9) When the time comes, IBM-DOS codepage 856 will be adopted instead of 
MS-DOS cp856 for Hebrew;
10) When the time comes, IBM-DOS codepage 864 will be adopted instead of 
MS-DOS cp864 for Arabic.

Links for DISPLAY, MODE and any other FreeDOS program are found at the 
FreeDOS website, as usual.

Link for those IBM-DOS codepages, all available on PDF files:
http://www-03.ibm.com/servers/eserver/iseries/software/globalization/codepages.html

Henrique

- Original Message - 
From: Arkady V.Belousov [EMAIL PROTECTED]
To: freedos-user@lists.sourceforge.net
Sent: Sunday, July 09, 2006 3:08 PM
Subject: Re: [Freedos-user] Russian by UTF-8 in FreeDOS?


 Hi!

 5-Июл-2006 13:52 [EMAIL PROTECTED] (Henrique Peron) wrote to
 freedos-user@lists.sourceforge.net:

 HP Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for 
 polish
 HP or 808 for russian.

 808?

 HP Please refer to the documentation available on DISPLAY, MODE, the 
 codepage
 HP and keyboard layout packages for further details and if you still run 
 into
 HP trouble, please contact me.

 BTW, Henrique, may you give me links to all latest editions of these
 utilities and links to documentation for them (which not included into
 packages)?


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user
 




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Arkady V.Belousov
Hi!

9-Июл-2006 16:11 [EMAIL PROTECTED] (Henrique Peron) wrote to
freedos-user@lists.sourceforge.net:

 HP which were never assisted. Among them, the official languages of all the 
 21
 HP russian republics.
 In USSR was 15 republics.
HP thanks for the information on the USSR's 15 republics; however, according to
HP information I found in the web, Russia comprehends nowadays 21 republics
[...]
HP new Russian Federation.

 Sorry, may mistake - when sayed about Russian republics, ex-USSR with
its 15 republics (which all now independent countries) comes into my mind.
:) Russian Federation clarifies this ambiguity.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Arkady V.Belousov
Hi!

9-Июл-2006 16:15 [EMAIL PROTECTED] (Henrique Peron) wrote to
freedos-user@lists.sourceforge.net:

 BTW, Henrique, may you give me links to all latest editions of these
 utilities and links to documentation for them (which not included into
 packages)?
HP Links for DISPLAY, MODE and any other FreeDOS program are found at the
HP FreeDOS website, as usual.

  :(  Link to www.freedos.org is too generic. May you specify precise
links to latest archives?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread Aitor Santamaría
Hi Arkady,

Here I am sending to you the links to the binary utilities, (both exec
and source) with the latest versions. Both have accompaining
information files.

Some KEYB documentation may deem a bit incomplete, the ability for
hot switching layouts and/or codepages (for example in Russian to
skip from Latin to Cyrilic alphabets) (and also the support for
Japanese keyboards) made things a bit more complex, and I know that
the KEYB data files documentation is definitely to be improved.

For the data files (that is, codepage files for DISPLAY, layout files
for KEYB), I let this to Henrique, who knows better than me.

Finally, I simply warn that DISPLAY 0.13 (forthcomming soon) has a
hard source re-structure and some rewrite, so if you plan to read
sources, I'd recommend to wait.

Latest DISPLAY (currently DISPLAY.COM) 0.12:
Source: 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/display/disp012s.zip
Binary:http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/display/disp012x.zip

Latest KEYB 2.0 pre-4:
Source: 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kb2pre4s.zip
Binary: 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kb2pre4x.zip

Latest KC (Keyboard Compiler) and KLIB (Keyboard librarian), to
compose binary layout data files and pack them, ver 2.00:
Source: 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kc200s.zip
Binary: 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/keyb/kc200x.zip

Aitor

2006/7/9, Arkady V.Belousov [EMAIL PROTECTED]:
 Hi!

 9-Июл-2006 16:15 [EMAIL PROTECTED] (Henrique Peron) wrote to
 freedos-user@lists.sourceforge.net:

  BTW, Henrique, may you give me links to all latest editions of these
  utilities and links to documentation for them (which not included into
  packages)?
 HP Links for DISPLAY, MODE and any other FreeDOS program are found at the
 HP FreeDOS website, as usual.

  :(  Link to www.freedos.org is too generic. May you specify precise
 links to latest archives?



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-09 Thread dima
On Mon, 10 Jul 2006, Arkady V.Belousov wrote:

 BO DOS character set, recode will do; search for rcode35b.zip in the 
 v2gnu BO directory of your local DJGPP mirror.
 
  I was try it. I create test file, where in UTF-8 was present russian 
 word test: D1 82 D0 B5 D1 81 D1 82 0D 0A Then I run recode 
 (http://clio.rice.edu/djgpp/win2k/rcode35b.zip):

Drop it! Try iconv.

 recode.exe test outf
 Exiting due to signal SIGSEGV
 Page fault at eip=623a, error=0004

:-)
iconv will convert from utf-8 to cp866 without faults.
The licv19[xx].zip can be found on djgpp ftp.

--
Take care. Your friend,
dima 7509107*mail,ru 2:550/112



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-08 Thread Mateusz Viste
Dnia środa 05 lipiec 2006 19:52, Henrique Peron napisał:
 It should work for you in your AUTOEXEC.BAT file:

 DISPLAY CON=(,,3)
 MODE CON CODEPAGE PREPARE=((858,852) C:\FDOS\BIN\EGA.CPX)
 MODE CON CODEPAGE PREPARE=((,,808) C:\FDOS\BIN\EGA3.CPX)

 Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for polish
 or 808 for russian.

Indeed, it worked! It seems that my problem was that I was loading DISPLAY the 
wrong way. It could supports max. two codepages (polish and french), so when 
I tried to add the third (russian) it was just ignoring it. By the way, I 
don't knew that I could prepare several codepages, and then just selected 
which I needed. I usually stupidly repeated all the procedure every time I 
wanted to change the language (DISPLAY, PREPARE, SELECT...).
Anyway, thanks a lot!

I noticed that there are many various codepages for russian language in 
FreeDOS: 771, 772, 855, 872, 866, 808, 61282.
Could someone tell me what is the difference between them, and what should I 
use (which one is the most popular in Russia)?

Best regards,
Mateusz Viste Fox



Twórcy Strasznego filmu przedstawiają opowieść 
o miłości, romantycznych porywach i tym podobnych
ściemach: Komedia romantyczna - w kinach od 7 lipca!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Faliasdlajustyny2.htmlsid=809



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-06 Thread Bart Oldeman
Hi,

On Wed, 5 Jul 2006, Henrique Peron wrote:

 DISPLAY CON=(,,3)
 MODE CON CODEPAGE PREPARE=((858,852) C:\FDOS\BIN\EGA.CPX)
 MODE CON CODEPAGE PREPARE=((,,808) C:\FDOS\BIN\EGA3.CPX)

 Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for polish
 or 808 for russian.

UTF-8 is codepage 65001 but I doubt that'll work. Maybe, once somebody 
implements CP932 and other double-byte character sets (DBCS) support, then 
UTF-8 will be easier. But displaying all those characters requires 
graphics mode, text mode won't do. It just needs some serious developer's 
interest from East Asia to get that working.

As for converting, and then displaying the result in your favourite 
DOS character set, recode will do; search for rcode35b.zip in the v2gnu 
directory of your local DJGPP mirror.

With the DJGPP port of GNU Emacs you may also be able to view and 
edit UTF-8 files.

Bart


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-05 Thread Florian Xaver
Hi Fox, I know two programs: Setedit http://setedit.sf.net and 
Necromancer DOS Navigator.
Bye
  Flo

Fox wrote:
 Hi people!
 
 Is there any software wich gives UTF-8 support to DOS? I often copy Linux 
 text 
 files (which are UTF8 encoded) to my DOS computer and have *big* problems to 
 read them. Not only because of the LF/CR difference between DOS and Unix 
 worlds, by mostly because of the different support of extended characters. I 
 often use french, polish and russian characters in one file, that why the 
 UTF8 standard is pretty usefull to me...
 It would be ideal if there were such a DOS codepage available, which would 
 be able to do an instant translation of the two-bytes linux special 
 characters and display them on the DOS display in a human-readable way...
 
 I'm also trying to set up a cyrillic support in my FreeDOS instalation (i'm 
 currently learning russian), but I couldn't set it :( I tried the standard 
 stuff with MODE CON CP PREPARE  MODE CON CP SELECT and a EGA?.CPX file 
 (don't remember exactly which CPX file, but it was described as supporting 
 russian), but it don't seem to change anything... Maybe is there a russian 
 guy who might give me his FreeDOS autoexec / config files?
 
 Thanks in advance!
 
 Best regards,
 Fox
 
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user

-- 
Florian Xaver http://www.flox.at.tf

Dr-DOS  Wiki http://www.drdos.org
oZone-a GUI operating system for DOS,Linux,Win
SWORD-a nice GUI library for DOS/DJGPP
http://www.flox.at.tf








Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-05 Thread Henrique Peron
Hi Fox,

Unfortunately, I can't tell you anything about UTF-8. The following info 
goes for the regular codepage approach.

It should work for you in your AUTOEXEC.BAT file:

DISPLAY CON=(,,3)
MODE CON CODEPAGE PREPARE=((858,852) C:\FDOS\BIN\EGA.CPX)
MODE CON CODEPAGE PREPARE=((,,808) C:\FDOS\BIN\EGA3.CPX)

Then, you'll type MODE CON CODEPAGE SELECT=858 for french or 852 for polish 
or 808 for russian.

If you use FreeDOS KEYB, you'll run KEYB like that:
* For russian, according to your keyboard: KEYB RU,,KEYBRD2.SYS or KEYB 
RU,,KEYBRD2.SYS /ID:443
* For polish, according to your keyboard: KEYB PL or KEYB PL /ID:214
* For french: KEYB FR (If you have a plain-and-simple US-layout keyboard, 
you'll run KEYB UX,,KEYBRD3.SYS instead).

If you need to print data and your printer does not provide cp858 and cp808, 
trade them for cp850 and cp866, respectively. All you'll miss is the Euro 
sign. If your printer's cp852 meets MS-DOS instead of IBM-DOS standards, 
you'll see empty spaces where you would expect to see the Euro sign.

Please refer to the documentation available on DISPLAY, MODE, the codepage 
and keyboard layout packages for further details and if you still run into 
trouble, please contact me.

Regards,
Henrique

- Original Message - 
From: Fox [EMAIL PROTECTED]
To: freedos-user@lists.sourceforge.net
Sent: Wednesday, July 05, 2006 12:11 PM
Subject: [Freedos-user] Russian by UTF-8 in FreeDOS?


 Hi people!

 Is there any software wich gives UTF-8 support to DOS? I often copy Linux 
 text
 files (which are UTF8 encoded) to my DOS computer and have *big* problems 
 to
 read them. Not only because of the LF/CR difference between DOS and Unix
 worlds, by mostly because of the different support of extended characters. 
 I
 often use french, polish and russian characters in one file, that why the
 UTF8 standard is pretty usefull to me...
 It would be ideal if there were such a DOS codepage available, which 
 would
 be able to do an instant translation of the two-bytes linux special
 characters and display them on the DOS display in a human-readable way...

 I'm also trying to set up a cyrillic support in my FreeDOS instalation 
 (i'm
 currently learning russian), but I couldn't set it :( I tried the standard
 stuff with MODE CON CP PREPARE  MODE CON CP SELECT and a EGA?.CPX file
 (don't remember exactly which CPX file, but it was described as supporting
 russian), but it don't seem to change anything... Maybe is there a russian
 guy who might give me his FreeDOS autoexec / config files?

 Thanks in advance!

 Best regards,
 Fox

 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user

 



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-05 Thread Fox
Dnia środa 05 lipiec 2006 18:17, Florian Xaver napisał:
 Hi Fox, I know two programs: Setedit http://setedit.sf.net and
 Necromancer DOS Navigator.

Hi Flo,
I checked Setedit, but it seems to deal just with the LF/CR problem, and my 
problem consist basically in the translation of UTF8 to a human-readable text 
under DOS... :(

Best regards,
Fox

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Russian by UTF-8 in FreeDOS?

2006-07-05 Thread Florian Xaver
Hi, you are right. It can convert many codepages (tools menu), but not 
UTF8... :-(

Bye
  Flo

 Hi Flo,
 I checked Setedit, but it seems to deal just with the LF/CR problem, and my 
 problem consist basically in the translation of UTF8 to a human-readable text 
 under DOS... :(

-- 
Florian Xaver http://www.flox.at.tf

Dr-DOS  Wiki http://www.drdos.org
oZone-a GUI operating system for DOS,Linux,Win
SWORD-a nice GUI library for DOS/DJGPP
http://www.flox.at.tf








Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user