redirect [Configuration] section

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author)
The sentence says:
an entry RedirectSection= will instruct tc to redirect(or not) this section to other ini: Values (implied: values of the RedirectSection): 0=no redirect, 1=redirect to AlternateUserIni (implied: to the ini-file specified by AlternateUserIni), <ininame>=redirect to that specific ini
So, <ininame> is just one of the possible values of the RedirectSection key, along with 0 and 1. That's why it need the '=' sign too.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
It is the syntax I don't think is right. Look at it - it is a sentence with 3 parts listing the possible values for RedirectSection:

As it is now:
Values:
0=no redirect,
1=redirect to AlternateUserIni=,
<ininame> redirect to that specific ini
suggested:
Values:
0=no redirect,
1=redirect to AlternateUserIni,
<ininame>=redirect to that specific ini
You cannot have a equal sign (=) pointing at a comma (,) that makes no sense IMHO.

Well, the wincmd.ini entry is
AlternateUserIni=something

and not

<ininame>=something..
Well, it is actually RedirectSection=1 we are talking about.

Maybe writing:
Values: RedirectSection=0 means no redirect, RedirectSection=1 means redirect to AlternateUserIni, RedirectSection=<ininame> means redirect to that specific ini
would make less confusion.
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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try to find a better description.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
This was added for ini file editors for TC. These programs are usually updated to work with the latest ini file options anyway, so the authors can add support for redirection too.
If ini file editors have been the reason to add %commander_ini% then please also add %commander_ftp_ini% as this cannot be detected dependably by current ini file editors like this one:
http://www.ghisler.ch/board/viewtopic.php?p=107072#107072
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

I asked for this before http://www.ghisler.ch/board/viewtopic.php?t=11102&highlight=commanderini

but Ghisler seems not interested :(
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Not changed in the history.txt of TC7pb3...
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
Post Reply