>>>>> "Galen" == Galen Seitz <[email protected]> writes:

Tim> Is there a way to use less, or a less-like viewer, to view a
Tim> growing file such that as the file grows, paging down will get me
Tim> more and more content?

Tim> As far as I can tell, just running 'less myfile.txt', when
Tim> myfile.txt is being written to by another app, seems to just take
Tim> a snapshot of myfile.txt -- I want to be able to look at the full
Tim> extent of the file AS IT GROWS, to monitor ongoing long
Tim> computations to see how they're doing.

Tim> If you're tempted to just answer with "you don't want to do that"
Tim> -- no, I do indeed want to do that, and I have good reason.


Galen> When I want to do that, I typically press 'G', followed by 'F'.
Galen> From the man page:

Galen> F Scroll forward, and keep trying to read when the end of file
Galen> is reached.  Normally this command would be used when already
Galen> at the end of the file.  It is a way to monitor the tail of a
Galen> file which is growing while it is being viewed.  (The behavior
Galen> is similar to the "tail -f" command.)

+1


-- 
Russell Senior, President
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to