I wanted to run the terminal emulator in utf-8, to set
internal_codepage to CP866 for LANG = ru and I implement CP866 <->
utf-8 conversions (it's not difficult to correct array
convert_cp437_to_UTF8 for CP866):
convert_cp866_to_UTF8:array[#127..#255] of WideChar=(
#8962, { $7f }
#1040,#1041,#1042,#1043,#1044,#1045,#1046,#1047, { $80..$87 }
#1048,#1049,#1050,#1051,#1052,#1053,#1054,#1055, { $88..$8f }
#1056,#1057,#1058,#1059,#1060,#1061,#1062,#1063, { $90..$97 }
#1064,#1065,#1066,#1067,#1068,#1069,#1070,#1071, { $98..$9f }
#1072,#1073,#1074,#1075,#1076,#1077,#1078,#1079, { $a0..$a7 }
#1080,#1081,#1082,#1083,#1084,#1085,#1086,#1087, { $a8..$af }
#9617,#9618,#9619,#9474,#9508,#9569,#9570,#9558, { $b0..$b7 }
#9557,#9571,#9553,#9559,#9565,#9564,#9563,#9488, { $b8..$bf }
#9492,#9524,#9516,#9500,#9472,#9532,#9566,#9567, { $c0..$c7 }
#9562,#9556,#9577,#9574,#9568,#9552,#9580,#9575, { $c8..$cf }
#9576,#9572,#9573,#9561,#9560,#9554,#9555,#9579, { $d0..$d7 }
#9578,#9496,#9484,#9608,#9604,#9612,#9616,#9600, { $d8..$df }
#1088,#1089,#1090,#1091,#1092,#1093,#1094,#1095, { $e0..$e7 }
#1096,#1097,#1098,#1099,#1100,#1101,#1102,#1103, { $e8..$ef }
#1025,#1105,#8805,#8804,#8992,#8993,#0247,#8776, { $f0..$f7 }
#0176,#8729,#0183,#8730,#8319,#0178,#9632,#0160 { $f8..$ff }
);
But it does not work.
Now I run terminal emulator in CP866, but I have many problems with
#0..#31 codes. fp works with #0..#31, but #0..#31 are unvisible for
me.
I corrected patch and I use for #0..#31: converted:=convert_vga_to_acs(c);
video.pp is better from fpc-2.4.0, I use it also.
I don't know how to fix work with #0..#31.
<<attachment: xdf042.png>>
------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512
_______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

