How Genscreen Works
Three Easy Steps
  1. 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").
  2. 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.).
  3. Now run "custscreen" and enter the data.
    (See Example run time screen).

 

HOME BASIC BOOKS LINUX GENERAL LEDGER GEN SCREEN CODE GENERATOR CONTACT US