how to get data into text view



Hello friends,

I am developing a application where-in I have to
display the output of the command "tail -f
/var/log/messages" into a text view.
Now the problem is I know system() to execute the
command but how do I re-direct the output of the
command into Textbuffer so textview can display it.
Once I do the above I also want the data displayed to
be dynamically change when the file data increases
(note I am using tail -f).

So please help me friends.

Regards
Deependra Singh Shekhawat
-------------------------
Be Open By Source

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]