Re: [jasspa] Re: reread-file [another hack encl.]
- In the same vien, if anybody has time to write
a "watch" facility which continually re-reads
once every 10 seconds or so and scroll to the tail
then I need one of these !! Otherwise I will
have to do it myself (when I can find time) !!
Steven Phillips wrote:
> > 2. One thing I do a lot is look at logfiles in ME. It's fast loading and
> > searching speed and seemingly limitless capacity (unlike vi ["window too
> > wide"] and Notepad) make it wonderful for this. Naturally, as a power user, I
> > want it all, and in this case the feature I need is an ability to reload a
> > file. See below.
> You're not the first to want this so I've added a new macro definition to
> utils.emf (called reread-file), defined as follows:
> define-macro reread-file
> !if &seq $buffer-fname ""
> ml-write "[Invalid buffer]"
> read-file $buffer-fname @mna
- tail -f foo.log | me32
Yeah that would be something, wouldn't it! :-) :-)
[Jon Green 02:35 PM 5/8/00 +0000]
|In the same vien, if anybody has time to write
|a "watch" facility which continually re-reads
|once every 10 seconds or so and scroll to the tail
|then I need one of these !! Otherwise I will
|have to do it myself (when I can find time) !!