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: 210
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Breaking the 6 characters of functional keys...

Post by Mauro72 » Thu 08 Aug, 2013 19:27

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 4143 times

User avatar
HaRT
Moderator
Posts: 8076
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 67 times
Been thanked: 100 times

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

Post by HaRT » Thu 08 Aug, 2013 19:44

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: 4624
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 122 times
Contact:

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

Post by DrKnS » Thu 08 Aug, 2013 19:55

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: 3474
Joined: Wed 16 Mar, 2005 11:01
Been thanked: 1 time

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

Post by Skirda » Thu 08 Aug, 2013 19:58

addons\SetUp\KeyBarLabels.farconfig
We are the Borg. You will be assimilated.
So Say We All!

User avatar
HaRT
Moderator
Posts: 8076
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 67 times
Been thanked: 100 times

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

Post by HaRT » Thu 08 Aug, 2013 20:02

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: 210
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 » Thu 08 Aug, 2013 20:31

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: 3474
Joined: Wed 16 Mar, 2005 11:01
Been thanked: 1 time

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

Post by Skirda » Fri 09 Aug, 2013 05:16

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: 3474
Joined: Wed 16 Mar, 2005 11:01
Been thanked: 1 time

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

Post by Skirda » Fri 09 Aug, 2013 05:17

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”