Re: Main Loop, IO Channels and my CLI

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

 



On Sun, Jun 25, 2006 at 10:41:43PM +0200, ?ystein Johansen wrote:
> 
> But, it doesn't work on linux.... How can I get character-at-a-time
> input from a linux console?

Wouldn't it be better to use GNU readline, at least on
Linux?  It would give users all the editing operations they
are used to and honour their settings.

I admit the integration of readline to GLib main loop can be
tricky (I think about a second thread which whould just feed
complete lines to a pipe managed with GIOChannel on the
receiving end), but it can be still more elegant than
reimplementation of line editting from scratch.

Yeti


--
Anonyms eat their boogers.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux