The reason for asking is simple: with my selected locale and font, the panel frames are not drawn properly, there are question marks in some line joints and menu check marks. Patching the .exe would fix that...
So, what are the offsets? Pleeease...

Thank you, this is exactly what I needed! If anybody else experiences the same problem with frame drawing (question marks in some parts of frames), copy this to blahblah.reg and "run" it:HaRT wrote:See HKCU\Software\Far\System\BoxSymbols
(sorry, comments are in Russian)
Code: Select all
REGEDIT4
[HKEY_CURRENT_USER\Software\Far\System]
"BoxSymbols"=hex:\
91,25,92,25,93,25,02,25,24,25,61,25,51,25,56,25,\
55,25,63,25,51,25,57,25,5D,25,5C,25,5B,25,10,25,\
14,25,34,25,2C,25,1C,25,00,25,3C,25,5E,25,51,25,\
5A,25,54,25,69,25,66,25,60,25,50,25,6C,25,50,25,\
68,25,50,25,65,25,59,25,58,25,52,25,53,25,6B,25,\
6A,25,18,25,0C,25,88,25,84,25,8C,25,90,25,80,25
For this unexpected behaviour see the topic http://enforum.farmanager.com/viewtopic.php?t=193Konrad wrote:Is there a similar value defining the menu check character?
Normally I see a question mark as a menu check character, using 'far /8' I get double-accent-u instead of a question mark. It is a change, but not really satisfactory.Urmel wrote:For this unexpected behaviour see the topic http://enforum.farmanager.com/viewtopic.php?t=193Konrad wrote:Is there a similar value defining the menu check character?
Code: Select all
static WCHAR _Oem2Unicode[256] = {
/*00*/ 0x0000, 0x263A, 0x263B, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022,
0x25D8, 0x0000, 0x25D9, 0x2642, 0x2640, 0x266A, 0x266B, 0x263C,
/*10*/ 0x25BA, 0x25C4, 0x2195, 0x203C, 0x00B6, 0x00A7, 0x25A0, 0x21A8,
0x2191, 0x2193, 0x2192, 0x2190, 0x221F, 0x2194, 0x25B2, 0x25BC,
/*20*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*30*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*40*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*50*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*60*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*70*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2206,
/*80*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*90*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*A0*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*B0*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*C0*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*D0*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*E0*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
/*F0*/ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x221A, 0x0000, 0x0000, 0x0000, 0x0000,
};
Thanks again, worked perfectly. I've replaced 0x221A with 0x00BB (which is included in most of code pages and looks good, ">>"), no more question marks in frames and menus. If anybody want to correct the whole problem, here is the complete file (copy to foo.reg), the first part corrects the frame, the second part -- the menu check character.t-rex wrote:Try this
HKEY_CURRENT_USER\Software\Far\System\Oem2Unicode
Code: Select all
REGEDIT4
[HKEY_CURRENT_USER\Software\Far\System]
"BoxSymbols"=hex:\
91,25,92,25,93,25,02,25,24,25,61,25,51,25,56,25,\
55,25,63,25,51,25,57,25,5D,25,5C,25,5B,25,10,25,\
14,25,34,25,2C,25,1C,25,00,25,3C,25,5E,25,51,25,\
5A,25,54,25,69,25,66,25,60,25,50,25,6C,25,50,25,\
68,25,50,25,65,25,59,25,58,25,52,25,53,25,6B,25,\
6A,25,18,25,0C,25,88,25,84,25,8C,25,90,25,80,25
[HKEY_CURRENT_USER\Software\Far\System]
"OEM2Unicode"=hex:\
00,00,3A,26,3B,26,65,26,66,26,63,26,60,26,22,20,\
D8,25,00,00,D9,25,42,26,40,26,6A,26,6B,26,3C,26,\
BA,25,C4,25,95,21,3C,20,B6,00,A7,00,A0,25,A8,21,\
91,21,93,21,92,21,90,21,1F,22,94,21,B2,25,BC,25,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,06,22,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,BB,00,00,00,00,00,00,00,00,00
I can't understand this right now.t-rex wrote:Well, now I understand why Urmel and others doesn't see the root symbol. Well FAR can not know which font supports which symbols. So we'll need to add both those "secret" settings to the TechInfo file.
Is this the default BoxSymbols setting for FAR. If not so, can anyone post the deffault setting for this?HaRT wrote:See HKCU\Software\Far\System\BoxSymbols
(sorry, comments are in Russian)
Default OEM-to-Unicode table:REGEDIT4
[HKEY_CURRENT_USER\Software\Far\System]
"BoxSymbols"=hex:\
91,25,92,25,93,25,02,25,24,25,61,25,62,25,56,25,\
55,25,63,25,51,25,57,25,5D,25,5C,25,5B,25,10,25,\
14,25,34,25,2C,25,1C,25,00,25,3C,25,5E,25,5F,25,\
5A,25,54,25,69,25,66,25,60,25,50,25,6C,25,67,25,\
68,25,64,25,65,25,59,25,58,25,52,25,53,25,6B,25,\
6A,25,18,25,0C,25,88,25,84,25,8C,25,90,25,80,25
REGEDIT4
[HKEY_CURRENT_USER\Software\Far\System]
"OEM2Unicode"=hex:\
00,00,3A,26,3B,26,65,26,66,26,63,26,60,26,22,20,\
D8,25,00,00,D9,25,42,26,40,26,6A,26,6B,26,3C,26,\
BA,25,C4,25,95,21,3C,20,B6,00,A7,00,A0,25,A8,21,\
91,21,93,21,92,21,90,21,1F,22,94,21,B2,25,BC,25,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,06,22,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,1A,22,00,00,00,00,00,00,00,00