For all people wants to run legacy DOS applications with Nafitha, this is that RIGHT way to run NAF.COM on Windows XP.
METHOD #1: CMD BASED CODEPAGE
1- Run cmd.exe, "Command Prompt",
2- type "chcp 708", it should say "Active code page: 708"
3- Now this is important, Right-click tab at task bar, choose "Properties".
4- On "Font" tab, change font from "Raster Font" to "Lucida Console".
5- Run your legacy application on DOS, it will show the right encoding.
NOTES:
1- Run this on Windowed Mode only!
2- Right-to-Left Orientation won't be available AS THIS IS ENCODING ONLY!
3- You may face unviewable characters on INPUT, which appear AS BOXES! that's Microsoft BUG!
--to RUN YOUR OWN NAFITHA PROCEED TO METHOD #2
METHOD #2: NAFITHA 4.2 on WINDOWS XP
--I recommend using NAFITHA 4.2, You should have it ALREADY. Version 4.0 works fine too.
--You need first ARABIC.COM TSR( Terminate and Stay Resident) from MS-DOS 6.22, Win95, Win98.
NOTE: I can NOT give you those, you should extract them from your OLD PC running Win98, thats my case where I got them, as this violates Microsoft licensing agreement.
What shall we have...
1- ARABIC.COM
2- COUNTRY.ARA
3- VIDEO.CPI
4- ARABIC.INI
You will find the 1,2,3 under C:\WINDOWS\COMMAND folder under Win98, bring those, and create a new file, thats #4 ARABIC.INI and write this into it
[ARABIC.COM]
WinFontPage=Default
CodePage=437
HwFontPages(s)=437
FontSize=2
UMB=Yes
FontFile=video.cpi
CountryFile=country.ara
--NOW, get this FULL SCREEN TOGGLE small utility, from this link,
http://www.columbia.edu/~em36/wpdos/fstoggle.zip
--PUT ALL FILEs IN ONE FOLDER, SAY "C:\AR".
--CREATE A BATCH FILE, "C:\AR\NAFXP.BAT", with these commands
REM ------------------------
REM --YAZAN-NAFXP-LAUNCHER--
REM ------------------------
@ECHO OFF
CHCP 437
MODE CON LINES=25
FSTOGGLE F
ARABIC.COM
COMMAND.COM
EXIT
REM --EOS
--NOW, FROM START MENU ON WINDOWS XP, CHOOSE RUN, TYPE "C:\AR\NAFXP.BAT"
-- AFTER MS-DOS RUNS IN FULL-SCREEN, JUST RUN "NAF.COM" FROM IT'S PATH.
NOTES:
1- IT WORKS PERFECTLY ON LCD AND CRT MONITORS.
2- TYPE EXIT TO CLOSE DOS WINDOW.
With best regards,
Yazan