Solved

DOS application codepage

Posted on 1997-12-23
14
788 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Determining the an SCCM package name from the Package ID
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

739 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