fog man page

Fog — The console Form Designer for GNU/Linux Version 1.4


Fog (Form Designer) is part of the GnuDOS package, which is a library of functions for use under the GNU/Linux console/xterm. It provides four utilities: Kbd (for keyboard handling), Screen (for screen handling), Dialogs (for drawing dialog and input boxes), and Strings (for string manipulation). GnuDOS is basically an idea of easing life for console users who came from a DOS-like environment and want to learn how to use the GNU system, and for programmers, who like to write console programs for such users. Some of the common problems that face console programs are handled by the library (like needing to get user input in terms of "keypress" not "keypress+ENTER" as is done with the basic C library functions. Another thing is the ease by which a programmer can draw complete informative dialog boxes and get user input through input boxes by simple call to a library function!. Other things like positioning the cursor and colorizing the screen from within your C programs is just a few function calls away!.


formname.fog An input file containing information about form design for use with fog.
main.c One of the output files of fog. Contains the main() function plus an event handler function for button clicks (or ENTERs) if there are buttons on the form.
fog_header.h One of the output files of fog. Contains the function declarations and global variable definitions.
form_design.c One of the output files of fog. Contains the function definitions of the following functions: init_form(), close_form(), refresh_form(), and input_loop().


- Add mouse support
- Add more key definitions to the Kbd utility
- Add printing functionality
- Testing and debugging!

See Also

info fog, info gnudos


Mohammed Isam <>


OCTOBER 2015 1.4 fog man page