Panel frame characters
Panel frame characters
I hope it is not a secret info request, but where in the far.exe file can I find the characters used for panel frame drawing and menu check mark ("v")? The far.exe I have in mind is built 2087, size 724992.
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...
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...
...or alternatively: can you make an option/setting that would change the frame drawing characters as follows (Unicode codes in hex)
-use 2550 instead of 2564
-use 2550 instead of 2567
-use 2551 instead of 255F
-use 2551 instead of 2562
-use something instead of 221A, can be 'x' or 'v' or '+' or '*'
That would fix the ugly look.
-use 2550 instead of 2564
-use 2550 instead of 2567
-use 2551 instead of 255F
-use 2551 instead of 2562
-use something instead of 221A, can be 'x' or 'v' or '+' or '*'
That would fix the ugly look.
See HKCU\Software\Far\System\BoxSymbols
(sorry, comments are in Russian)
(sorry, comments are in Russian)
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
Thanks again!
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?
Best wishes
-Urmel-
-=- A registered FAR user from switzerland -=-
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?
I use raster 6x8 font and 'central Europe' set as default locale: the 'root' character (Unicode 0x221A) is mapped to 0xFB in US, Cyrillic 2, and probably other encodings, but is not present in Central European encoding (hence the quesion mark). The Central European encoding has this double-accent-u as 0xFB code (and it shows in non-Unicode console).
It's cosmetics really, although annoying. I'll stay with question mark, but it would be great to have a possiblity (registry value? option? patch?) to change 0x221A into something else...
Try this
HKEY_CURRENT_USER\Software\Far\System\Oem2Unicode
it's a mapping of OEM special symbols to Unicode
the default is
HKEY_CURRENT_USER\Software\Far\System\Oem2Unicode
it's a mapping of OEM special symbols to Unicode
the default is
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.
In the same console window as the FAR, I use the console version of the semware editor professional. In this (and in 4NT too) I can produce the root symbole with Alt-2+5+1. So I think, the used raster font contains the root symbol. Especially in 4NT which is an unicode application too.
Now, I see in the internet, that this is an difficult matter...
What for practical restrictions does I have, when I use the "/8" command line switch?
Best wishers
-Urmel-
-=- A registered FAR user from switzerland -=-
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)
Best wishes
-Urmel-
-=- A registered FAR user from switzerland -=-
Default box symbols:
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
missing some frame characters
Hi
I have upgraded Far form 1.70 beta 5 to 1.70 and some frame drawing characters are missing, I have ? instead of them. Is there a way I can configure Far 1.70 to draw frames around panels in the same way beta 5 did it?
Thanks for any help
I have upgraded Far form 1.70 beta 5 to 1.70 and some frame drawing characters are missing, I have ? instead of them. Is there a way I can configure Far 1.70 to draw frames around panels in the same way beta 5 did it?
Thanks for any help