The C/C++ Code Generator for building I/O screens using ncurses library functions.
What is Genscreen?
How does it Work?
What is included with Genscreen?
System Requirements.
Pricing and How to Order
Home

What is Genscreen?

Genscreen is a C/C++ code generator for building screens using the ncurses library.  It allows you to lay out screen designs using any text editor, then run the text file through Genscreen to create a ready-to-compile C/C++ source file.

Use it for application building, prototyping, and as a great time saver.  In any application using curses under UNIX or Linux the largest part of coding time is spent setting up the screen prompting, input and data presentation fields.  Genscreen automates all this.  Genscreen eliminates the tedium and time used in writing curses code for input fields.

Ever design an application you thought was just right only to have the customer say they want it in a different way?  "Just a few small changes..."? No problem with Genscreen .  It's easy to change a screen by simply retyping the lay out file and regenerating the screen. In minutes you can return with the changed prototype lay-out ready to run and ready for approval (or more changes!).

Even if you've never used curses this is the chance to get started and learn as you go. You don't need to know curses to use Genscreen.  Using the generated code, man reference pages, and examples from Genscreen makes it easy to learn, understand, and use the abundant capabilities of the curses library.

How it Works
Three Easy Steps:

Use any text editor to lay out the screen as you want it to appear. (See the Example screen lay-out .)

 Add as many different fields as needed on the screen to get the data you need.

Store the lay-out text file (any name is OK, our example is named, "custscreen").

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.)


Now run "custscreen" and enter the data. (See Example run time screen).

It's that simple and it saves hours of coding time on any project using the ncurses library.  All the generated code is modularized, well documented, and is easily edited.  Additional options allow extensive documentation of the code, "# include" style screens, secondary screens, auto fill of data fields, auto compile and, auto run. If you're coding a project with curses or ncurses you MUST have Genscreen.
 

What is Included?

Genscreen includes additional source modules for managing and editing input from each field, definition files, and header files, all in source form.  A special, Open Source, C++ class, "moncls.h", designed for handling decimal denominated monetary amounts (any currency) is also included.  moncls.h performs all I/O, math and calculation functions needed for entering, managing and manipulating money amounts.  It is easy to add special features to the class to meet any local requirements (e.g. local currencies).
The distribution also includes examples of other curses features and capabilities.
 

System Requirements

Genscreen program size is approximately 38,000 bytes.
You must have either the GNU or UNIX C++ compiler with the ncurses development library installed.
Program is delivered either by email zip file or on diskette.
You should understand the C programming language.
 See the ordering details below for availability on different hardware platforms.

Pricing and How to Order

To review the Genscreen license Pricing click here .
To order Genscreen follow this Order Link .