Solved [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Solved [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *petermad »

Not yet because I just mentioned a few more issues.
Good - because I have one more issue - probably why I thought the bug still persisted.

If I make a button with either:
cm_list /T1S
or
cm_list /S=L:T1S

Then Lister opens ANSI txt files in ASCII mode as expected - but if I then close Lister and press F3 or use cm_List without any parameter then ANSI files are STILL opened in ASCII mode - the only way to make F3 use ANSI mode again is to restart TC - so what I wrote in my very first post in this thread still stands - Using the S parameter makes TC get stuck in ASCII mode - and that applies to both 32bit and 64bit TC 10.50b8.

Using either /S=L:S of just /S or /S=L also causes the problem, but not using /S=L:

In the first post it was the fact that using /S=L: in TC 10.50b7 was interpreted as using the S parameter as in /S that was the main issue - that part is fixed now - but the part where intentionally using the S (for ASCII) parameter, leaves TC stuck in ASCII mode until restarted, still persists.

Even opening a jpg file with plugin by using cm_list /S, cm_list /S=L or cm_list /S=L:S will get TC stuck in ASCII mode when afterwards opening ANSI files with F3
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 4596
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Solved [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *white »

petermad wrote: 2022-06-02, 15:45 UTC Using the S parameter makes TC get stuck in ASCII mode
It makes sense if the stickyness is bound to the Lister window (when you use menu File/Open to open another file). The stickyness should be gone when you close Lister and open another Lister window. When using TC as a standalone Lister, stickyness to the TC instance or stickyness to the Lister window amounts to the same thing. Because when you close the Lister window, the TC instance is also closed. It does not amount to the same thing if you start Lister using the internal commands.

Quite a sticky subject. I hope I make myself clear ;)
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *petermad »

The stickyness should be gone when you close Lister and open another Lister window.
But it doesn't.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48026
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *ghisler(Author) »

Unlike running TC with parameter /S=L:, when you use more than 1 space between the parameters, the sh** breaks and things get messy
Sorry, only one space allowed. I will not change that.
And there are 2 mistakes in the HISTORY.TXT entry in the text "/Spluginame".
I can only see one mistake: /Spluginame -> /SpluginName
Where is the other?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4596
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *white »

ghisler(Author) wrote: 2022-06-03, 08:35 UTC I can only see one mistake: /Spluginame -> /SpluginName
Where is the other?
/P<plugin_name>
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48026
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *ghisler(Author) »

Ah, I must have shortened /S=L:Ppluginname to /Spluginname instead of /Ppluginname, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4596
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *white »

HISTORY.TXT fixed OK in TC10.50rc1.

Options A, S and V still change the font setting in the configuration of Lister until TC is restarted. Autodetect is the default font setting. After using one of the mentioned options, autodetect no longer works until you restart TC.
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *petermad »

If I make a button with either:
cm_list /T1S
or
cm_list /S=L:T1S

Then Lister opens ANSI txt files in ASCII mode as expected - but if I then close Lister and press F3 or use cm_List without any parameter then ANSI files are STILL opened in ASCII mode - the only way to make F3 use ANSI mode again is to restart TC - so what I wrote in my very first post in this thread still stands - Using the S parameter makes TC get stuck in ASCII mode - and that applies to both 32bit and 64bit TC 10.50b8.

Using either /S=L:S or just /S or /S=L also causes the problem, but not using /S=L:
.
.
.
Even opening a jpg file with plugin by using cm_list /S, cm_list /S=L or cm_list /S=L:S will get TC stuck in ASCII mode when afterwards opening ANSI files with F3
Still not fixed in TC 10.50rc1 :!:

And as White writes - this also applies to using the V and the A parameter.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48026
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *ghisler(Author) »

Sorry, I must have missed your report. There were too many reports in this thread. I will fix it in RC2.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *petermad »

history.txt wrote:10.06.22 Fixed: Lister: Do not remember ASCII override set via parameter cm_list /S, it was used in all later opened listers too (32/64)
Confirmed fixed in TC 10.50rc2 :-) also fixed for /V and /A parameter.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 4596
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.50b7] /S=L: works differently from command line as a parameter for cm_List

Post by *white »

petermad wrote: 2022-06-15, 17:39 UTC Confirmed fixed in TC 10.50rc2 :-) also fixed for /V and /A parameter.
Confirmed.
Post Reply