Privacy issue: no function to clean the history

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Slavic
Senior Member
Senior Member
Posts: 297
Joined: 2006-02-26, 15:41 UTC
Location: Montenegro

Privacy issue: no function to clean the history

Post by *Slavic »

Some people using TC at job sometimes work with non-public data, e.g. files stored on removable drives etc. TC allows to control the saving of history (which it saved by default) in Configuration, Operation, Save on exit.

Unfortunately, there is no function to clean already stored history data, saved in wincmd.ini. User desiring to clean his/her tracks from TC history (folders list, command lines, search patterns etc) has to remove the matched lines from ini file manually. It's uncomfortable, unconventional, and also poses some risk to damage this file.

Could it be possible to create the cleaning function, similarly to web browsers, where history and cookies cleaning is a quite simple task? If adding a new button in Configuration is undesired now, user can add this function manually to menu or toolbar.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

There are several ways to achieve this.

1) Download the Ultra editors package. The History editor can be used to clean history entries.

2) In TC 7 you can redirect the sections to delete into another file. Then you could delete the History.ini file from time to time.

to be continued...
Slavic
Senior Member
Senior Member
Posts: 297
Joined: 2006-02-26, 15:41 UTC
Location: Montenegro

Post by *Slavic »

Sorry, didn't see the redirection of History in interface. Where it can be added?
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

You have to edit manually the main ini file, as instance :

[RightHistory]
RedirectSection=tchistory.ini

[LeftHistory]
RedirectSection=tchistory.ini

[MkDirHistory]
RedirectSection=tchistory.ini
Slavic
Senior Member
Senior Member
Posts: 297
Joined: 2006-02-26, 15:41 UTC
Location: Montenegro

Post by *Slavic »

Thanks, byblo! Something like this:

[MkDirHistory]
RedirectSection=tchistory.ini
[Selection]
RedirectSection=tchistory.ini
[SearchName]
RedirectSection=tchistory.ini
[SearchIn]
RedirectSection=tchistory.ini
[RightHistory]
RedirectSection=tchistory.ini
[LeftHistory]
RedirectSection=tchistory.ini

It's almost all history data that I have found.
Well, this has solved my problem, but the way to simplify this process for common users is still in question.
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Slavic
It's almost all history data that I have found.
Well, I personally have a little more in my history.ini:

[Selection]
RedirectSection=history.ini
[SearchName]
RedirectSection=history.ini
[SearchIn]
RedirectSection=history.ini
[SearchText]
RedirectSection=history.ini
[RenameTemplates]
RedirectSection=history.ini
[RenameSearchFind]
RedirectSection=history.ini
[RenameSearchReplace]
RedirectSection=history.ini
[left]
RedirectSection=history.ini
[right]
RedirectSection=history.ini
[lefttabs]
RedirectSection=history.ini
[righttabs]
RedirectSection=history.ini
[Command line history]
RedirectSection=history.ini
[RightHistory]
RedirectSection=history.ini
[LeftHistory]
RedirectSection=history.ini
[MkDirHistory]
RedirectSection=history.ini

I am even considering:
[attrplugin]
RedirectSection=history.ini
[rename]
RedirectSection=history.ini
[SyncOptions]
RedirectSection=history.ini
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
If you don't want to save any history information, and you redirect all sections to Tchistory.ini and make it readonly what will happen ?.

I'll prefer not to use History Editor.exe, but i'm not sure if redirecting to a readonly Tchistory.ini file will cause problems to Tc.

Thanks.
 
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

sas2000 wrote:If you don't want to save any history information, and you redirect all sections to Tchistory.ini and make it readonly what will happen ?.
About readonly attribute for tchistory.ini:
http://www.ghisler.ch/board/viewtopic.php?p=112396#112396
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

2Stance

That's what i wanted to know, thanks.
Slavic
Senior Member
Senior Member
Posts: 297
Joined: 2006-02-26, 15:41 UTC
Location: Montenegro

Post by *Slavic »

Thanks, petermad, very helpful list!
I copied it to my config (except strings [left] and [right]: I prefer to see at start the root on the left panel and document on right, let it be stored in main ini). And I think, this method and example with some explanations could be placed for other users somewhere in FAQ or TC wiki :D
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Post by *jb »

Lefteous wrote: 2) In TC 7 you can redirect the sections ...
That's good news for me. The section redirection mechanism is simple and compatible, but nevertheless quite powerful. To a great extent it helps to solve some of the issues that I stated here (4 years ago).
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

I agree, it's a great thing. It made my configs much cleaner.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

No chorus, grousing !

Post by *Clo »

2Lefteous

:) Hello Christian !

• Still tricks and workarounds…

- The most programmes which record historical lists have (a) button(s) in the Options as Purge¦Clear the list(s)…
- This can be set also as an entry on each list …
… but why not TC ? :?

• Sorry, I don't sing with the choir and would prefer (a) button(s)|List entr¦y¦ies, definitely ! :twisted:

:mrgreen: V.G.
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Re: No chorus, grousing !

Post by *jb »

Clo wrote:• Still tricks and workarounds…

- The most programmes which record historical lists have (a) button(s) in the Options as Purge¦Clear the list(s)…
- This can be set also as an entry on each list …
… but why not TC ?

• Sorry, I don't sing with the choir and would prefer (a) button(s)|List entr¦y¦ies, definitely !
To Clo:
These are good points, but I'm not sure whether you are aware of the whole story.
Section redirection is a general mechanism that can be used to achieve various goals.
Separating history data for easier deletion is only one them.
Making some sections read-only is another one.
The more homogeneous a section is regarding a desired criterion the more suitable it is for redirection.
EXAMPLE: If you want to separate history data then section redirection does not really help with sections containing a mixture of history data and other data.

Personally I would like to separate three kinds of ini-data:
  1. General settings. They are independent of local drives, the LAN and special programs. It should be easy to synchronize them on all computers I'm working with.
  2. Environment-specific settings. They depend on local drives, the LAN and special programs. Usually they must not be synchronized and they should not impede the synchronization of (1).
  3. History data (largely a subset of 2). It should be easy to delete them.
    Unfortunately "history data" is not a cleary defined term.
    EXAMPLE:
    Unlike petermad I don't consider [Selection] as history data but as user-defined filters similar to [searches].
Section redirection is not perfect to achieve my goals, but it helps a lot.
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

Clo is just asking for a single command/Button/item.
And for the reason of Data privacy, I agree.
Post Reply