Lister - Wrap text max. 256 chars?

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
Hacker
Moderator
Moderator
Posts: 11396
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Lister - Wrap text max. 256 chars?

Post by *Hacker » 2019-09-08, 21:59 UTC

Hi all,
It seems the maximum value you can set for Wrap text in Lister is 256 chars. This has become inadequate for current widescreen displays.
Could this please be increased to at least 1024 or so?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: Lister - Wrap text max. 256 chars?

Post by *ts4242 » 2019-09-08, 23:54 UTC

Hacker wrote:
2019-09-08, 21:59 UTC
It seems the maximum value you can set for Wrap text in Lister is 256 chars.
It is 512 not 256, but long line is wrap at 1020 when the option Wrap text is unchecked.

User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: Lister - Wrap text max. 256 chars?

Post by *Usher » 2019-09-09, 16:31 UTC

It's:
* 256 for binary view;
* 512 for text view;
* 1024 for unwrap view, with option to change max length up to (unrecommended) 16384. 2048 is a safe limit, see:
viewtopic.php?f=28&t=51215
viewtopic.php?f=28&t=52665
Regards from Poland
Andrzej P. Wozniak

User avatar
Hacker
Moderator
Moderator
Posts: 11396
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Lister - Wrap text max. 256 chars?

Post by *Hacker » 2019-09-10, 19:13 UTC

Ahh, thanks for the clarification, everyone.
Could the binary view and text view values be increased to, say, 1024, please?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
Hacker
Moderator
Moderator
Posts: 11396
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Lister - Wrap text max. 256 chars?

Post by *Hacker » 2019-11-11, 20:44 UTC

Christian,
Just a small bump. Could this limit be increased, please?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: Lister - Wrap text max. 256 chars?

Post by *Usher » 2019-11-12, 00:54 UTC

I think all the listed limits may be set separately depending on screen size, font size and DPI, so they should be moved from [Lister] section to [1024x768 (10x20)] and other resolution-dependent sections.
Regards from Poland
Andrzej P. Wozniak

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister - Wrap text max. 256 chars?

Post by *ghisler(Author) » 2019-11-12, 21:08 UTC

Try this (needs TC 9.21 or newer):
wincmd.ini

[Lister]
UnwrapWidth=1024
Author of Total Commander
http://www.ghisler.com

User avatar
Usher
Power Member
Power Member
Posts: 630
Joined: 2011-03-11, 10:11 UTC

Re: Lister - Wrap text max. 256 chars?

Post by *Usher » 2019-11-12, 22:20 UTC

2ghisler(Author)
It's misunderstanding. We are talking about the other modes: text view with wrap and binary view.
Regards from Poland
Andrzej P. Wozniak

User avatar
Hacker
Moderator
Moderator
Posts: 11396
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Lister - Wrap text max. 256 chars?

Post by *Hacker » 2019-11-12, 23:14 UTC

Christian,
Indeed, like Usher says, this is about the wrapped views.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister - Wrap text max. 256 chars?

Post by *ghisler(Author) » 2019-11-13, 17:52 UTC

Can't you just view such files in unwrapped view with UnwrapWidth=1024? It's wrapped the same way, just at this larger limit.
Author of Total Commander
http://www.ghisler.com

User avatar
Hacker
Moderator
Moderator
Posts: 11396
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Lister - Wrap text max. 256 chars?

Post by *Hacker » 2019-11-13, 23:57 UTC

Christian,
Well, in principle, yes, but then I wouldn't know which line breaks are real and which are added for wrapping (the purpose of unwrapped view to me is to see only real line breaks).

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
Hacker
Moderator
Moderator
Posts: 11396
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Lister - Wrap text max. 256 chars?

Post by *Hacker » 2019-11-28, 22:09 UTC

Gentle bump.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

Post Reply