On Thu, Nov 29, 2012 at 3:25 AM, thraex <thr...@numericable.fr> wrote:
> On 28/11/12 01:50, Rugxulo wrote:
>> P.S. More specifically, it would be nice to know which codepage(s) and
>> keyboard layouts you personally intend to use for your language. (Or
>> did I miss that part?)   :-)
> You did not. In fact, I just decided to give FreeDOS a try before
> installing it for real someday for the sake of the good old days. I
> normally use the French AZERTY layout -- for which the install process
> works perfectly in FreeDOS btw.

Ah, okay.

> But when I saw Turkish options, I thought I'd check them out and report it
> if they didn't work. As I speak Turkish and know the Turkish QWERTY
> layout the idea was to provide feedback about features that may be
> less well tested than others (and learn a bit in the process). So I
> fired up VirtualBox and... here I am :)

Good, yes, thanks for testing. Unfortunately, I'm not sure any fixes
like this are guaranteed, esp. since we're low on volunteers and thus
have no concrete timelines. But it's still good to know.

>> The installer is just a "best guess" type of thing, not perfect by any
>> stretch. It may be trite to assume users are already familiar with
>> DOS, but that's somewhat implied.
> I understand that, but OTOH the keyboard layout shouldn't have to be
> guessed IMHO. If the installer provides a choice, the result probably
> shouldn't need anything additional from the user.

Yes, I know, but it's hard to test every (sub)option under the sun,
esp. regarding (hundreds of) languages.  ;-)

>> http://help.fdos.org/en/hhstndrd/base/mode.htm
>> But here's a partial (better?) solution:
>> =======================================
>> set CPIDIR=%DOSDIR%\cpi
>> display con=(ega,,3)
>> mode con cp prep=((853) %CPIDIR%\ega.cpx)
>> mode con cp prep=((,737,869) %CPIDIR%\ega5.cpx)
>> mode con cp sel=%DEFAULT%
>> set CPIDIR=
>> if "%DEFAULT%"=="853" keyb us,,%DOSDIR%\keyboard.sys
>> if not "%DEFAULT%"=="853" keyb gk,,%DOSDIR%\keybrd2.sys
>> echo.
>> echo KEYB: Ctrl-Alt-F1 to disable or Ctrl-Alt-F2 to re-enable!
>> echo.
>> =======================================
> I added these lines just before the alias commands at the bottom of
> autoexec.bat. Here's what I got:

That was just a rough suggestion at a similar way to manually fix your
own. My personal install isn't official 1.1 based, so it's a bit
unorthodox. In particular, my layout isn't the same. (I'm not sure
%CPIDIR% is set for them, and %DOSDIR% for me lacks "\bin\" at the
end. I also have FreeDOS under VirtualBox, but it's less comfortable.)

Anyways, sorry for the silly snippet, just wanted to show a better
example than MODE.

> Buffers allocated: 000 in TPA, 003 in XMS
> Uncompressing and loading UPXed CPI (CPX) file :-).
> Uncompressing and loading UPXed CPI (CPX) file :-).
> MODE: Codepage was not found in CPI file
> MODE select codepage 61 function failed
> MODE: Specified codepage was not found in file
> FreeDOS KEYB 2.01   - (c) Aitor Santamaria Merino - GNU GPL 2.0
> C:\FDOS\keybrd2.sys: Specified file could not be opened.
> KEYB: Ctrl-Alt-F1 to disable or Ctrl-Alt-F2 to re-enable!
> Done processing startup files C:\FDCONFIG.SYS and C:\AUTOEXEC.BAT

It's not too hard to understand the whole idea. It's just split into a
few utils with varying syntax. The real odd potential case is KEYB
getting confused or refusing to load at code page switch, but even
that can be overriden, I think.

> Note that I installed FreeDOS 1.1 on VirtualBox 3.1.6_OSE r59338 which
> itself runs on Ubuntu 10.04.4 amd64, so AUTOEXEC.BAT is the standard one
> created when the keyboard layout 19 (Turkish) is chosen. Should I have
> deleted something? (I see LH KEYB TR,,keybrd2.sys just on top of the
> block I typed)

You'll have to manually fiddle with it a bit, mine was just a rough
example at slightly more powerful (complex) loading of multiple code
pages from multiple files. ("gk" was Greek, which I don't grok, heh,
which is a remnant of some other user I once tried to help, hence I
tested it a bit for him.)

Just FYI, but I dunno if 10.04 is still supported (is it?). Wasn't
that Lucid? I think my Puppy Linux 5.28 is based upon that (but 32-bit
only). Anyways, latest VirtualBox from upstream is 4.2.4 (though I
doubt that affects you much). You could also run DOSEMU x64 if desired
(multiverse?), it's very good for at least 32-bit DJGPP-ish stuff.

> (btw, if translations in French or Turkish for FreeDOS would be useful,
> I can happily try my best to contribute).

Maybe Turkish would be nice, but I have no idea where to suggest you
start. It can be overwhelming, which is probably why we don't have
lots of (current) translations. Maybe just testing and playing around
with Blocek editor would be a good enough way to start.

P.S. Before I forget, you can edit UTF-8 (etc.) in various editors,
e.g. GNU Emacs (23.1 for DJGPP), Mined (use -u and it autodetects
codepage) and Blocek, etc. I'm not familiar with Turkish / Latin-5 /
whatever, but I know that cp853 is the preferred "Latin-3" (variant)
in FreeDOS. Unfortunately, it's not encoding compatible with ISO
8859-3, has the glyphs at different places. The "real" Latin-3 is
cp913, so if that is important, you'll have to grab Kosta Kostis'
ISOLATIN.CPI (isocp101.zip):  http://www.kostis.net/en/index.htm
(EDIT: It also says it has cp920 / ISO Latin-5 / 8859-9.)

Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
Freedos-user mailing list

Reply via email to