|
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. How to Download LinuxLedgers Home |
||
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:
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.
(Download the Sample code output of
genscreen. Note: download does not include all support
files necessary to compile the sample are included.)
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 -- pressing CTL-P at run time
will automatically generate a picture of the screen suitable to include
in documentation, -- Other features include, "# 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.
Genscreen is available
in source code form only. Source code includes modules for
managing and editing
input from each field, definition files,
and header files, all in source form.
A special C++ class, "moncls.h",
designed for handling decimal denominated
monetary amounts (any currency) is also included.
The "moncls.h" class 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.
Genscreen
program size is approximately 38,000 bytes.
You must have a C++
compiler with
the ncurses development library installed.
You should understand the C programming language.
How to Download
To Download Genscreen follow this
Download Link
.