listening to stdin in the controlling terminal after gtk_main is called

2016-09-14 Thread Dan Hitt
HI All, I'm writing a gtk application and i would like it to listen to stdin in the controlling terminal after gtk_main() is called. So for example, when you type a carriage return in the controlling terminal, all the characters which have been typed since the last carriage return are gathered up

Re: listening to stdin in the controlling terminal after gtk_main is called

2016-09-14 Thread Ben Iofel
create a GIOChannel with g_io_channel_unix_new() and then add it to the main context with *g_io_add_watch() * On Thu, Sep 15, 2016 at

Re: listening to stdin in the controlling terminal after gtk_main is called

2016-09-14 Thread Dan Hitt
Well thank you Ben for your very speedy reply. I'll see what i can do with it. dan On Wed, Sep 14, 2016 at 10:06 PM, Ben Iofel wrote: > create a GIOChannel with g_io_channel_unix_new() and then add it to the main > context with g_io_add_watch() > > On Thu, Sep 15, 2016 at 12:52 AM Dan Hitt wro