Hi, On Thu, 2006-06-22 at 21:00 +0200, Øystein Johansen wrote: > I've just made a small glib code that read commands from from a command> line interface prompt. It uses g_main_loop and a g_io_channel. I've> attached the code.> > First:> It nearly works as expected. The callback is called each time I enter a> command, and it's parsed to the command handler. However, I want to> expand this to system to use automatic string completion, (the system> provided in glib), for all available commands. That sounds like fun. When you have something ready and are willing toput it under the GPL, I think it would be interesting to add this codefor the GIMP Script-Fu text console mode. The current code needs anoverhaul anyway and it would be sweet to have command completion. Sven _______________________________________________gtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list