Batch Mode


Webkit works on several levels depending on the task at hand.

At its most basic, you can merely link in Webkit to allow your FlagShip programs to bypass ncurses even when you are developing a program that will never be used in connection with the World Wide Web.

This feature is valuable for batch-type programs that you'd like to run in the background via batch or cron, or for reporting-type programs that you want to redirect to a file or pipeline. To do this, you need to add libwebkit.a to the linker command line, and run the program with the TERM environment variable set to fsdumb for the "FlagShip dumb terminal" type.

Note that you cannot use the Get or TBrowse classes with the libwebkit.a library linked, and the appearance of your @..SAY output might be substandard. Some of these limitations are design features that will be improved in future releases of Webkit.

Output from QOUT() and QQOUT() is written directly to standard output. You can easily write a complex report using no output other than the ? command.

Next: Direct Mode
Previous: Introduction to Webkit and CGI
Webkit Index