Solved

DOS application codepage

Posted on 1997-12-23
14
778 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:Bing CISM / CISSP
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:Bing CISM / CISSP
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
 

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:Bing CISM / CISSP
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
Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

 

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:Bing CISM / CISSP
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:
Bing CISM / CISSP 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:Bing CISM / CISSP
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now