Page 1 of 1

"Tail" a file using TextPad

Posted: Wed Jul 17, 2002 9:30 pm
by Joel Ransom
I wonder if there's any way to use TextPad to Tail (as in the unix command line utility) a file, i.e. refresh automatically when the file is changed, for monitoring log fules and such. There are command line utilities available for Windows that do this, but I haven't found a windows based one, and it seems like a natural function for TextPad.

Thanks,

Joel

Re: "Tail" a file using TextPad

Posted: Thu Jul 18, 2002 3:32 am
by Steve Lieberman
>There are command line utilities available for Windows that do this, but I haven't >found a windows based one, and it seems like a natural function for TextPad.

Well, I'm not sure I completely understand that sentence, but a Windows port of the UNIX version of tail can be found within Cygwin at:

http://www.cygwin.com/

Cygwin also makes working a bit nicer by adding other commands like mv, cp, cat, ls, etc. to your Windows system.

Hope this helps,
Steve Lieberman

Re: "Tail" a file using TextPad

Posted: Thu Jul 18, 2002 5:46 am
by Jens Hollmann
Textpad can automatically reload a file that is changed by another application. You find this option in the settings-dialog.

This works quite well with a log-file. I just tried it out.

I'm working with Windows NT. I don't know if W98 or W95 have the same ability to inform other applications about a file-change!

HTH

Jens