On Sat, May 23, 2009 at 05:54:52AM +1200, Ralph Versteegen wrote:
> 2009/5/23 James Paige <[email protected]>:
> > On Fri, May 22, 2009 at 10:34:29AM -0700, James Paige wrote:
> >> On Fri, May 22, 2009 at 10:16:51AM -0700, [email protected] 
> >> wrote:
> >> > teeemcee
> >> > 2009-05-22 10:16:51 -0700 (Fri, 22 May 2009)
> >> > 316
> >> > Fix something that been annoying me forever: the uselessness of 
> >> > c/g_debug.txt. These files are now deleted when you quit if they don't 
> >> > contain anything interesting. They are capped at 2MB. If they exist when 
> >> > you open Game/Custom, the previous contents are appended to 
> >> > c/g_debug_archive.txt, which is capped at 128kB.
> >>
> >> While I like what you did here, this totally breaks the only method I
> >> had to monitor these files in real-time while playing.
> >>
> >> I always run:
> >>
> >>   tail -f ?_debug.txt &
> >
> > Ah! False alarm!
> >
> > I read the manual for the tail command and discovered that I can run:
> >
> >  tail --follow=name ?_debug.txt &
> >
> > to make it track the file by name instead of by file handle. So now it
> > works perfectly in spite of deleting and recreating the debug files.
> >
> > ---
> > James
> 
> Ah, great.
> We could also echo all debug messages to stderr.
> 
> I was actually thinking of building something like tail into
> Game/Custom (or more likely, the wxOHR GUI wrapper) by printing to a
> free floating window, but I must have forgotten about tail. Why do all
> that when tail does the same thing?

tail is great :)

Have you mentioned wxOHR before?

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to