Solved

DOS application codepage

Posted on 1997-12-23
14
785 Views
Last Modified: 2013-12-21
There's a font file called DOSAPP.FON which NT uses to display full-screen DOS applications. But that font file is codepage 437. Where do I find a version of DOSAPP.FON that is codepage 850 and/or codepage 865?
0
Comment
Question by:jke
  • 6
  • 6
  • 2
14 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 1788107
You may find these files at NT CD-ROM's \i386 directory.

APP775   FO_
APP850   FO_
APP852   FO_
APP857   FO_
APP866   FO_

Use NT's Expand utility to decompress them to your hard disk.
0
 

Author Comment

by:jke
ID: 1788108
First of all, these are application window fonts and not DOS application fonts. Secondly, I need the 865 codepage, since it contains danish/norwegian o-slash characters (ASCII 155 & 157), but still has graphics where codepage 850 contains international characters. The proposed files are for codepages 775, 850, 852, 857 & 866 which is pretty useless to me. Sorry.
0
 
LVL 37

Expert Comment

by:bbao
ID: 1788109
Sorry, I dont think these fonts are for Windows, they are for DOS applications, I have checked their content for verifying this, you may also do it.

As for the file to assist code page 865, could you tell me what version of NT 4 you have? English version of Danish version? Maybe you need right version and specify which language you are using during NT setup.

BTW, you mentioned you need  a version of DOSAPP.FON that is codepage 850 and/OR codepage 865. :-)

Hope this helps.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:jke
ID: 1788110
Yup, APPxxx.FON and DOSAPP.FON looks pretty much the same, but they're still only codepages 850 and 437.

The NT version is danish, BUT it's the same problem on the english version. Same files, same everything except for the language that it's using. The danish version is one, that I'm setting up for a friend of mine, but I'm running the english version myself.the danish is
0
 
LVL 37

Expert Comment

by:bbao
ID: 1788111
At first, codepage 865 uses app850.fon as its DOS application font, the description is:

865= 2:xlat865.bin, 2:vga865.fon, 2:app850.fon, "Nordic (865)"

Secondly, these files are for DOS prompt, although they stays at WINNT\Fonts directory. There are many Windows fonts at there.

You may change your MSDOS prompt's codepage by do the following:

1. Change the language to Danish in Control Panel/Regional Settings,
2. Add Danish to Control Panel/Keyboard/Input Locales,
3. Open MS-DOS prompt,
4. Change Language to Danish by clicking task bar's EN  icon,
5. Type "mode con: cp select=850" or  "mode con: cp select=865" to change the codepage.

Hope this helps. :-)
0
 

Author Comment

by:jke
ID: 1788112
But that only works if the DOS application is started in windowed state and THEN changed to full-screen via <Alt-Enter>.

If I set the program's properties to start in full-screen mode, it uses codepage 437! Unfortunately, the mode con cp select=865 doesn't work here.

I cannot believe that this is something I just have to live with.
0
 
LVL 5

Expert Comment

by:cer
ID: 1788113
What if you specify these settings in the default DOS-startup file AUTOEXEC.NT / CONFIG.NT ?

0
 

Author Comment

by:jke
ID: 1788114
Just putting "mode con cp select=865" into the AUTOEXEC.NT file doesn't work unless you start the DOS application in windowed state and THEN press <Alt Enter> to go into full-screen mode.
0
 
LVL 5

Expert Comment

by:cer
ID: 1788115
I remember an old question where one wanted to have hebrew font in the fullscreen dos-box. Don't remember if he succeeded, but you may want to look in the PAQ's of NT-setup or NT-general.
0
 
LVL 37

Expert Comment

by:bbao
ID: 1788116
Only works in full-screen mode? Maybe caused by some character re-mapping could not be done in Windowed DOS prompt, which is a simulated text mode. If so, how about  set the MS-DOS properties with full-screen mode?

Let me know how it works.
0
 

Author Comment

by:jke
ID: 1788117
The MS-DOS properties with full-screen mode is exactly what does not work. If it is set to window at startup and then converted into full-screen with <Alt-Enter>, it'll work. But surely, that cannot be the way to do it?
0
 
LVL 37

Accepted Solution

by:
bbao earned 100 total points
ID: 1788118
It is not a normal way, but it maybe work: copy app850.fon overwrite the existing dosapp.fon, force NT use this font file. :-)
0
 

Author Comment

by:jke
ID: 1788119
Nope, that didn't work. Still codepage 437. I've just found out, that my DOS application initializes the graphics adaptor to a screen mode, that is defined within the application. That unfortunately causes the screen mode to go back to the ga's default, which is 437.

I have closed this question as it suddenly appeared to me, that my problem is with the DOS application, really, so I have to find a way to workaround it from here.

Sorry for the time I took but thank you for the suggestions as they've taught me a little bit more about how NT handles it's textmode fonts.
0
 
LVL 37

Expert Comment

by:bbao
ID: 1788120
It seems that I did not answer your question, so it is not necessary to accept this question.

Anyway, glad to hear that you have known the cause.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
extend monitor issues 6 29
Set a time range for screen lockout for Windows 10/7 OS 2 18
Do hyper-v and VMware clash 4 59
Pay to 支付宝 12 30
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question