Hi, At Fri, 17 Dec 2004 06:42:13 +0900, Bauduin Raphael wrote in [ruby-talk:123847]: > I modify it like that: > > hello = Qt::TextEdit.new( "", "", self) > hello.textFormat = Qt::LogText > > setCentralWidget hello > > Thread.new("/tmp/test") do |f| begin > tail = IO.popen("/usr/bin/tail -f #{f}","r") > > while line = tail.gets > hello.append line.chomp > #hello.refresh > end ensure Process.kill("INT", tail.pid) tail.close end > end -- Nobu Nakada