From: Melvin H. <mha...@us...> - 2002-12-15 18:26:51
|
Update of /cvsroot/libetpan/xetpan In directory sc8-pr-cvs1:/tmp/cvs-serv25702 Modified Files: ChangeLog Log Message: Preliminary TTY main loop. Abstracted IO traffic watching. Launching and monitoring external commands Index: ChangeLog =================================================================== RCS file: /cvsroot/libetpan/xetpan/ChangeLog,v retrieving revision 1.26 retrieving revision 1.27 diff -u -d -r1.26 -r1.27 --- ChangeLog 13 Dec 2002 01:13:17 -0000 1.26 +++ ChangeLog 15 Dec 2002 18:26:48 -0000 1.27 @@ -1,3 +1,38 @@ +2002-12-15 [melvin] + Preliminary TTY main loop. Abstracted IO traffic watching. + Launching and monitoring external commands. + + * src/gtk-ui.[ch] + Abstraction layer for IO traffic watching + UI initialization function now need XetPan structure. + a_GtkUI_init_check() now returns -1 on error + a_GtkUI_init() now uses a_GtkUI_init_check() and aborts if + it fails. + + * src/tty-ui.[ch] + Abstraction layer for IO traffic watching + TTY main loop implemented by using poll() system call. + UI initialization functions now need XetPan structure. + a_TtyUI_init_check() implemented and returns error if + standard input is not a terminal. + + * src/ui-types.h + XePUI_s: Added structure for the watched file descriptor. + XePUI_s: Added structure for UI specific global data + XePUIIOWatcher_s: Structure that holds IO watcher data + + * src/ui.[ch] + a_UI_new(): take care of new members + a_UI_init(): don't take the existance of a terminal for + granted. Abort when no UI is available. + a_UI_add_io_watch(): abstraction layer for IO multiplexing. + a_UI_remove_io_watch(): idem + a_UI_exec_cmd(): run a command and supply the 3 standard + file descriptors. + + * src/xetpan.c + Exit when no UI is available. + 2002-12-12 [melvin] Preliminary TTY interface. Preliminary support of remote clients. |