On Mon, Apr 29, 2002 at 09:10:42PM +0100, Patrick Kirk wrote: > Hi all, > > I'm trying to teach myself C and am writing as little PIM to go with > mutt in console mode. > > To date, my only programming type experience has been developing > mult-user databases for contact management in VBA. > > In VBA, forms have fields and fields have events like OnEnter() and > OnExit(). I can create very nice forms in ncurses but I can't seem to > find the equivalent functions for me to manipulate. So I end up with > good forms, a good data structure but no a good way of passing data > from the forms to the tables (I like the use of writing fields > OnExit() ). > > Two questions: > 1. Is there a C programming tutor list that's recommended?
Maybe news:comp.os.linux.development.apps ? > 2. Does anyone know of a ncurses C program that really uses forms > and is well commented? Well, I know of a simplistic form/dialog interface library that is used in GRASS (sure there are better examples around). It's fairly small and pretty well commented. It's not exactly event driven with callbacks and such (either the user "submits" or "cancels" the whole page). It might give you some ideas (even things not to do ;) But it works okay, and is easy to program with. http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/libes/vask/ -- Eric G. Miller <egm2@jps.net> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]