Lister for text/hex formats

Support for Android version of Total Commander

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8252
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Lister for text/hex formats

Post by *MVV » 2019-01-17, 07:49 UTC

It is a big problem on Android to show binary contents for files, especially for large ones, so it would be very nice to have a HEX viewer in TC allowing to see files of arbitrary size (also search for hex sequences).

Also often I need a text viewer, but currently I have to open text files in TC editor, scroll them down, send some curses to the popped on-screen keyboard, remove accidentally typed characters and view file in a half of screen because of the keyboard... So it would be great to have read-only viewer for text files by default, and then to switch to edit mode (or to an editor) on demand (there is a Color Notes app that opens notes as read-only first, and then switches to edit mode on tap, and it is a very nice feature).

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

Re: Lister for text/hex formats

Post by *ghisler(Author) » 2019-01-17, 15:44 UTC

Currently it's not planned. There are already hex viewers/editors for Android, which you could put on a button in TC.

The way Lister works isn't feasible on Android because it's based on a fixed length (in characters, not pixels) line. But 80 character lines are usually too long for Android devices. Making word breaks based on pixel width is very slow - you can see it by the load times in the editor for larger files...
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1265
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Lister for text/hex formats

Post by *DrShark » 2019-03-20, 18:18 UTC

ghisler(Author) wrote:
2019-01-17, 15:44 UTC
The way Lister works isn't feasible on Android because it's based on a fixed length (in characters, not pixels) line. But 80 character lines are usually too long for Android devices.
What about different default line length (maybe 30 characters instead of 80)?
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

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

Re: Lister for text/hex formats

Post by *ghisler(Author) » 2019-03-21, 09:03 UTC

This would rip apart many documents like source code.
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1265
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Lister for text/hex formats

Post by *DrShark » 2019-03-21, 10:30 UTC

Maybe for certain types of documents it won't look nice, but if it will make it possible to see text files of larger size than currently allowed by Editor, I think implementing Lister worth it.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

Post Reply