Increase contents of history sections
Moderators: Hacker, petermad, Stefan2, white
Increase contents of history sections
Currently all history sections are limited to 20 items only (from 0 to 19), it will be great if this can configured via global setting that apply for all history sections.
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Sounds reasonable, but you may take in account that INI files have a 64K file size limit.
By using a increased limit, you are forced to use a redirection for each section, otherwise it gets unusable after a short time.
To overcome this drawback a (often discussed) design change is needed to write the "dynamic" entries to a separate file, while the "static" options remain at wincmd.ini ...
By using a increased limit, you are forced to use a redirection for each section, otherwise it gets unusable after a short time.
To overcome this drawback a (often discussed) design change is needed to write the "dynamic" entries to a separate file, while the "static" options remain at wincmd.ini ...
#5767 Personal license
Not quite true
2sqa_wizard
Hello !
• I support an enhancement of the current items number, that might not make so big files…
VG
Claude
Clo

• That is true with FAT32 only. With NTFS, there is no limit about the file size, only each [Section] is limited to 64 KiB (65,536 Bytes).Sounds reasonable, but you may take in account that INI files have a 64K file size limit. …
• I support an enhancement of the current items number, that might not make so big files…


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
I'd rather see a .css like approach wherein you can define (i.e.) maxhistory=100 item that would be applied to any history section that tracks via numeric items (1=foo\n 2=bar\n 3=foobar\n). But each section could in turn put an alternate (i.e.) maxhistory=10sqa_wizard wrote:To overcome this drawback a (often discussed) design change is needed to write the "dynamic" entries to a separate file, while the "static" options remain at wincmd.ini ...
It would be nice if this setting had to be within wincmd.ini, much like the redirect line has to be within the wincmd.INI.
--> Like css as it allows a global setting that can be further customized for each child item, or child-of-child...
I have since redirected all of the following to wincmdHistory.ini
For ease of non-SAVY users it would be nice if redirecting ALL history-related .ini sections could be accomplished from TC's config GUI with a simple editBox[left]
[right]
[Command line history]
[MkDirHistory]
[RenameTemplates]
[SearchText]
[Selection]
[RenameSearchReplace]
[SearchName]
[SearchIn]
[RenameSearchFind]
[lefttabs]
[righttabs]
[RightHistory]
[LeftHistory]
--> AlternateHistoryFile: [ wincmdHistory.ini ]
That would internally do the "work" of inserting the redirect-lines into each related wincmd.ini section. And move the contents of the sections to said file.