Breaking the 6 characters of functional keys...

You want to talk about Far Manager, but don't know where to turn?
Post Reply
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Breaking the 6 characters of functional keys...

Post by Mauro72 »

Hi,
I have a 22' monitor (1680x1050) and i want to extend the 6 characters max of functional keys.
Is this correct? Any problem with Far Manager works.
Example: Comple=6chars and i want to put Complementos=12chars
Pic attached.
Thanks.
6char.jpg
6char.jpg (20.54 KiB) Viewed 9860 times
User avatar
HaRT
Moderator
Posts: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Re: Breaking the 6 characters of functional keys...

Post by HaRT »

I recollect there was a discussion (in Russian; years ago) regarding ways to address this best.
IIRC, the dominant idea was to have several strings instead of one and use the longest that fits into the width. Maybe it was even filed to Mantis
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Re: Breaking the 6 characters of functional keys...

Post by DrKnS »

Mauro72 wrote:i want to extend the 6 characters max of functional keys.
Is this correct? Any problem with Far Manager works.
Feel free to extend it, it's correct and shouldn't lead to any problem.

Also, as I remember, there was some way to store these strings in configuration instead of editing lng files.
User avatar
Skirda
Posts: 3475
Joined: Wed 16 Mar, 2005 11:01
Been thanked: 8 times

Re: Breaking the 6 characters of functional keys...

Post by Skirda »

addons\SetUp\KeyBarLabels.farconfig
We are the Borg. You will be assimilated.
So Say We All!
User avatar
HaRT
Moderator
Posts: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Re: Breaking the 6 characters of functional keys...

Post by HaRT »

Skirda wrote:addons\SetUp\KeyBarLabels.farconfig
That's only half a solution, as when you run FAR within e.g. a telnet session with some typical terminal size settings, the long keybar labels will be truncated to useless prefixes.
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Re: Breaking the 6 characters of functional keys...

Post by Mauro72 »

HaRT wrote:
Skirda wrote:addons\SetUp\KeyBarLabels.farconfig
That's only half a solution, as when you run FAR within e.g. a telnet session with some typical terminal size settings, the long keybar labels will be truncated to useless prefixes.
So... the best way is to edit the .lng file?
User avatar
Skirda
Posts: 3475
Joined: Wed 16 Mar, 2005 11:01
Been thanked: 8 times

Re: Breaking the 6 characters of functional keys...

Post by Skirda »

Mauro72 wrote:So... the best way is to edit the .lng file?
No.
Otherwise, every time and you will fix the lng-file.
We are the Borg. You will be assimilated.
So Say We All!
User avatar
Skirda
Posts: 3475
Joined: Wed 16 Mar, 2005 11:01
Been thanked: 8 times

Re: Breaking the 6 characters of functional keys...

Post by Skirda »

HaRT wrote:
Skirda wrote:addons\SetUp\KeyBarLabels.farconfig
That's only half a solution, as when you run FAR within e.g. a telnet session with some typical terminal size settings, the long keybar labels will be truncated to useless prefixes.
Example?
We are the Borg. You will be assimilated.
So Say We All!
Post Reply

Return to “General Discussions”