[Lister:] option to auto-reload the changed text files?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 92
- Joined: 2004-06-27, 15:24 UTC
[Lister:] option to auto-reload the changed text files?
Hi!
I'm really missing an option in Lister to auto-reload the text file if it is changed. This can be really useful to monitor the log-files in real-time (smth like logtail Unix tool).
I know, there is a LogTail TC plugin, but I think it is a good idea to have such a functionality implemented in Lister...
What do you think?
Thank you!
I'm really missing an option in Lister to auto-reload the text file if it is changed. This can be really useful to monitor the log-files in real-time (smth like logtail Unix tool).
I know, there is a LogTail TC plugin, but I think it is a good idea to have such a functionality implemented in Lister...
What do you think?
Thank you!
CU
VK
VK
Basic tail feature is nice but not really useful if you do not have filters to highlight lines remove some.... a nice java app for this is smart-tailwanderer wrote:Support it, as long as it asks before reloading the file.
I Support AutoReload option in the text lister with Yes,No, on Demand....
Re: [Lister:] option to auto-reload the changed text files?
I could not find LogTail plugin.Valery_Kondakoff wrote:Hi!
I'm really missing an option in Lister to auto-reload the text file if it is changed. This can be really useful to monitor the log-files in real-time (smth like logtail Unix tool).
I know, there is a LogTail TC plugin, but I think it is a good idea to have such a functionality implemented in Lister...
What do you think?
Thank you!

Can anyone post a link?
Total Commander - Wish I had it on my solaris installation.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Lister: automatic reload on focus, automatic move to tail?
It would be convenient to have a setting for Lister (which I'd keep always on) to allow automatic reload (performed now with F2) of the text file viewed in the lister each time the given view gets the focus again.
The second setting for Lister (auto move to tail, which I'd always keep on) would function the following way: if the user moved to the end of the file, lister remembers that it's "at the end", so when F2 event occurs, after the new file is reloaded, the lister automatically moves to the end of the reloaded file.
Reason: at the moment, it often happens to me that I open some file, then some program generates a new version or adds something to the end. With these features, the view would adjust "automatically". Very convenient for observing log files, for example.
Third nice feature would be "refresh on change", and that would, for example, once in a second or two, check the attributes of the viewed file and if they are changed, the file is reloaded the same way as already described. This would allow viewing text files like logs "live".
I believe all the infrastructure already exists, so that a small amount of code would get big difference.
The second setting for Lister (auto move to tail, which I'd always keep on) would function the following way: if the user moved to the end of the file, lister remembers that it's "at the end", so when F2 event occurs, after the new file is reloaded, the lister automatically moves to the end of the reloaded file.
Reason: at the moment, it often happens to me that I open some file, then some program generates a new version or adds something to the end. With these features, the view would adjust "automatically". Very convenient for observing log files, for example.
Third nice feature would be "refresh on change", and that would, for example, once in a second or two, check the attributes of the viewed file and if they are changed, the file is reloaded the same way as already described. This would allow viewing text files like logs "live".
I believe all the infrastructure already exists, so that a small amount of code would get big difference.
(user licence #64081)
Support++ to all 3 suggestions.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- StickyNomad
- Power Member
- Posts: 1933
- Joined: 2004-01-10, 00:15 UTC
- Location: Germany
- Motorocker
- Member
- Posts: 105
- Joined: 2006-07-19, 10:52 UTC
- Location: Perm, Russia
- Contact:
Support all.
Also it needs small code.
Also it needs small code.
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
KillOK – Cease to press OK!
NSCopy – copy unreadable
Up. 
Sometimes it is really useful to have possibility to follow actual line of log files. FAR has such feature in its base viewer, UV also has it. But Lister is small and quick, so I prefer to use it. And, as Motorocker said, this things doesn't require hard work and/or large code. IMHO, refresh rate and auto-reload on focus may be specified in INI, but follow tail and auto-reload items should be added somewhere in menu, e.g. after 'Show text cursor' item.

Sometimes it is really useful to have possibility to follow actual line of log files. FAR has such feature in its base viewer, UV also has it. But Lister is small and quick, so I prefer to use it. And, as Motorocker said, this things doesn't require hard work and/or large code. IMHO, refresh rate and auto-reload on focus may be specified in INI, but follow tail and auto-reload items should be added somewhere in menu, e.g. after 'Show text cursor' item.
Internal Viewer: option to "auto reload" (e.g. monitor logfiles) ?
Would it be possible to have an option for the internal viewer to automatically load changes, for instance to be able to monitor logfiles as they change in realtime?
Atm, the only option is to close and open the viewer repeatedly.
Atm, the only option is to close and open the viewer repeatedly.
Re: Internal Viewer: option to "auto reload" (e.g. monitor logfiles) ?
For this (like gnu tail -f ) use tools like baretail under windows. It is specialized to and perfect for this. (e.g. supports colors)
http://www.baremetalsoft.com/baretail/
Re: Internal Viewer: option to "auto reload" (e.g. monitor logfiles) ?
I support the suggestion to have an auto-reload feature for Lister.
Is F2 (Reload file) not working for you?
Moderator message from: white » 2023-07-13, 09:51 UTC
Merged 3 threads about the same suggestion into 1.
Re: [Lister:] option to auto-reload the changed text files?
you know - sometimes it does NOT ((( without any obvious reason.Is F2 (Reload file) not working for you?
#146217 personal license