Curses-based editing routines
Don Thomson
thomson at zazen.macc.wisc.edu
Mon Mar 25 23:54:40 AEST 1991
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 <RETURN>). 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 at macc.wisc.edu / thomson at wiscmacc.bitnet
More information about the Comp.unix.questions
mailing list