12-13-2018, 05:07 +0100
thommey  09-07-2010, 02:53   | [EGG/TCL] tail -f in the background Jabber
Member since 03/2004
62 Posts
set f [open "|tail -f /var/log/messages"]
fconfigure $f -blocking 0 -buffering line
fileevent $f readable [list foo $f]
proc foo {f} {puthelp "privmsg #chan :[gets $f]"}

(probably from demond on the egghelp.org forum)
Advanced options for this topic:

Ignore this topic (Do not list this topic in the "unread topics" search. You are currently not ignoring this topic.)
Hide this topic (Hidden topics are not displayed in the topics list. This topic is currently not hidden.)
Go to forum

Unclassified NewsBoard 1.5.3-d | © 2003-4 by Yves Goergen | Time: 176.8 msec, CPU time: 52.6 msec, 30 Database queries in 139.9 msec | 2.7 kB (9.8 kB) | Timezone: +0100