Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!zazen!zazen!thomson From: thomson@zazen.macc.wisc.edu (Don Thomson) Newsgroups: comp.unix.questions Subject: Curses-based editing routines Message-ID: Date: 25 Mar 91 13:54:40 GMT Sender: news@macc.wisc.edu (USENET News System) Organization: University of Wisconsin Academic Computing Center Lines: 22 A couple of weeks ago I posted the following query to comp.lang.c. I received lots of responses, all of them saying "I'm looking for the same thing, so please send me whatever you find out", but not a single answer to the question! Since there seem to be so many of us looking for the same thing, I'm posting this to comp.unix.questions instead, hoping to catch a slightly different (albeit overlapping) audience and perhaps turn up a few suggestions: > In the spirit of not reinventing the wheel, I'm looking for public domain C > source on which to base a set of generic editing routines for entering > fields of data of different types: string, multiple-row text, integer, > float, choice of scalar values (i.e. Yes/No), etc. The routines would need > to be as portable as possible and would presumably be curses based. The > string/text fields would allow modification of existing text and choice of > insert/overtype modes. The numeric and scalar fields would check for entry > of legal values (i.e. digits and decimal point) with each key stroke (as > opposed to verifying legality after pressing ). Any > recommendations for code that implements these kind of routines well and is > available via anonymous ftp? Thanks. -- ----- Don Thomson ----- MACC, 1210 W. Dayton, Madison, WI 53706 ------------- (608) 262-0138 thomson@macc.wisc.edu / thomson@wiscmacc.bitnet