Add options for KB/MB etc. in addition to KiB, MiB, etc. ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
olivier.houdas
Junior Member
Junior Member
Posts: 6
Joined: 2007-06-05, 07:23 UTC
Location: France

Add options for KB/MB etc. in addition to KiB, MiB, etc. ?

Post by *olivier.houdas »

The subject was raised a couple of years ago (in 2007 on this forum), but actually I'd like to raise it again in a new form:

Early in computer sciences (some 50 years ago...), it was much easier to count in base 2.
We ended up announcing file sizes, memory available, etc. in multiple of 2^10= 1024, which was easier to calculate for pre-historic computers. OK.

Now we're in 2016, and computers can make operations in base 10 without slowing down anything visibly :)

For example, I bought a microSD card for my phone recently, and at the back of that SANDisk card, it goes "*1GB= 1,000,000,000 bytes", when it is written on the front "64GB*" (take note of the star).
The card ends up showing 58.27GiB available... (when 64GB = 64,000,000,000B actually equals 59.60 GiB, by the way).

Hence my question: how difficult/costly would it be to add 5 entries in the size display options of TotalCommander to have both KiB, MiB, GiB AND kB, MB, GB available?

I tried the DirSizeCalc plugin, but it requires configuring and adding a user column, + it does not support dynamic units.

It wouldn't be such a big issue if not possible, but why not take a step towards normalization of computer arithmetics? And maybe in another 15 years, we'll default settings to kB...)

Best regards all.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2olivier.houdas
I tried the DirSizeCalc plugin, but it requires configuring and adding a user column
That's true.
it does not support dynamic units.
That's of course wrong. It's actually quite flexible when it comes to dynamic units. Feel free to ask if you are interested in a plugin-based solution and need help configuring DirSizeCalc.
olivier.houdas
Junior Member
Junior Member
Posts: 6
Joined: 2007-06-05, 07:23 UTC
Location: France

Post by *olivier.houdas »

@Lefteous : thank you, I had indeed missed the Edit window in the configuration tool...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC9 will support units as multiples of 1000 instead of 1024 (via ini), with one execption: The "Properties" dialog is part of the Explorer, and cannot be modified to show multiples of 1000s.
Author of Total Commander
https://www.ghisler.com
olivier.houdas
Junior Member
Junior Member
Posts: 6
Joined: 2007-06-05, 07:23 UTC
Location: France

Post by *olivier.houdas »

Cool, that's good news !
It's good to give a chance to standards which make sense, even though we can see with miles, pounds , Farenheit degrees... or old French francs that change is difficult.
smartwork
Junior Member
Junior Member
Posts: 5
Joined: 2010-11-07, 09:38 UTC

Post by *smartwork »

ghisler(Author) wrote:TC9 will support units as multiples of 1000 instead of 1024 (via ini), with one execption: The "Properties" dialog is part of the Explorer, and cannot be modified to show multiples of 1000s.
Great! I already had given up hope to see that implemented anywhere, especially because 1k = 1024 is technically wrong anyway (as it must be KiB etc.). I just can't calculate with these 2-based sizes so I switched to byte display which is quite spacious obviously.

BUT where can I find this new option? I've checked all option tabs carefully and looked into the ini too. If it is an ini-setting, what's the name of it?
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

smartwork,
SizeStyle1000=0
0: Use binary units: 1k=1024bytes, 1M=1024k, 1G=1024M, 1T=1024G
1: Use decimal units: 1k=1000bytes, 1M=1000k, 1G=1000M, 1T=1000G
HTH
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.
smartwork
Junior Member
Junior Member
Posts: 5
Joined: 2010-11-07, 09:38 UTC

Post by *smartwork »

Thanks, works perfectly! :)

There was already another option "SizeStyle=1" - is that obsolete?
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

smartwork,
Thanks, works perfectly!
You're welcome. ;)
There was already another option "SizeStyle=1" - is that obsolete?
Nope.

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