On Wednesday 25 June 2008 15:20:07 Adrian Likins wrote: > Michael DeHaan wrote: > > Greg Swift wrote: > >> I > >> decided to take a look at newt because it is used by several pieces of > >> Fedora/RHEL already (such as system-config-network-tui). After > >> playing with it though I think the Newt Library needs some work as > >> well (I could just be to picky, but it looks like trying to use a > >> Widget with a Grid causes Segmentation Faults across multiple versions > >> which was the first example in a howto i found). > > > > Yikes :) I vote for using the one that doesn't segfault :) > > Newt is a pretty thin wrapper around slang/curses, so it tends to > do things like segfault if you try to add 5 widgets to a container widget > that can only hold 4. > > Makes doing newt apps loads of fun to debug. There are nicer python+curses modules than newt, which actually seem to work ok. I havedone a little work with urwid a while ago: http://excess.org/urwid/ -- ("\''/").__..-''"`-. . Roberto Alsina `9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH) (_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar _..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia (l)-'' ((i).' ((!.' according to alexa.com (27/5/2007) Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. --Brian W. Kernighan _______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list