Re: How to show system messages
- From: Mark Mackenzie <markm student unsw edu au>
- To: gtk-list gnome org
- Subject: Re: How to show system messages
- Date: Tue, 30 Jan 2001 05:50:09 +1100
On Sun, Jan 28, 2001 at 02:56:44PM -0700, Jeff Shipman wrote:
> 2) Use 'tail -f filename' and it will constantly
> update whenever something is added.
if you forked 'tail -f filename', you could monitor any new output with
something like:
outiomontag=gdk_input_add(stdout_pipe[0],GDK_INPUT_READ,
(GdkInputFunction)dispout,NULL);
check out the gtk tuts and gdk docs.
hth,
mark.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]