character problem on turbo pascal 7.0 running on windows vista

G

gilevgi

hi.
I am using windows vista as operating sytem in my computer. I also
want to use Turbo Pascal 7.0. But in pascal characters are not written
properly. for example i am preesing "," bu it write ":".
When I was using windows 98, I have solved this problem by changing
line
Country=090,857,C:\WINDOWS\COMMAND\country.sys
in config.sys (tab) in sytem configuration utility.

but I don't how I can do this in vista. Can you help me on this
issue?
Note: to change keyboard language is not usefull.
thanks in advance.
 
A

Andre Da Costa[ActiveWin]

My recommendation would be install this in a Virtual Machine machine with a
Compatible OS such as Windows 98 as you mentioned or 95.
 
A

Andrew McLaren

I am using windows vista as operating sytem in my computer. I also
want to use Turbo Pascal 7.0. But in pascal characters are not written
properly. for example i am preesing "," bu it write ":".
When I was using windows 98, I have solved this problem by changing
line
in config.sys (tab) in sytem configuration utility.
but I don't how I can do this in vista. Can you help me on this
issue?
Note: to change keyboard language is not usefull.

I guess you are running the DOS version of Turbo Pascal 7.0? For DOS
applications running on Vista, you can still configure COUNTRY.SYS, as in
previous versions.

Vista itself has far better multilingual abilities than earlier versions of
Windows. But for compatibility, the NTVDM ("NT Virtual DOS Machine") in
Vista behaves just like the MS-DOS of old. You configure Vista's NTVDM to
run a Turkish codepage just like you did on a "real" MS-DOS machine long
ago.

On Windows NT (including 2000, XP and Vista) a DOS application takes its
startup environment from the files C:\Windows\System32\Config.NT and
C:\Windows\System32\Autoexec.NT. To activate a Turkish codepage for a DOS
application, add the Turkish code page commands to
C:\Windows\System32\CONFIG.NT:

In CONFIG.NT add to the end of the file:

COUNTRY=090,857,C:\Windows\System32\COUNTRY.SYS

Now to test, open a Command Prompt.

Then run the command "command.com".

This will start an instance of the MS-DOS Command processor.

Run the command "edit", to start the DOS editor.

Try typing in a few words in Edit, to see if the "," and ";" are in effect
("Edit" is a DOS application)

If it works okay in Edit but not in Turbo Pascal, then the problem is
specific to Turbo Pascal. If Edit has the same problem as Turbo Pascal, you
know the problem is in the settings configured for your NTVDM.

Hope it helps. Selamlar :)
 
G

gilevgi

Andrew Mclaren wrote: I guess .......Selamlar :).

your reply is exactly what i want. I will try it. many many Thanks.

Also thanks for your greetings in Turkish :)

Gültekin T naztepe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top