Enter command, "genscn -f custscreen -o
custscreen". The result will be a source file named "custscreen.C"
containing all the C (and curses) code needed to compile and run
an entire program to allow collection of all the data fields you
specified in the screen lay out. (See the Example code .) Compile
it using, "gcc custscreen.C getfields.C -o custscreen -lncurses".
(getfields.C is a support module included which handles all input
editing of each field.).