User interface basics / Special user interface features |
For compatibility with IBM® Informix® 4GL, Genero supports the DBSCREENDUMP and DBSCREENOUT environment variables for debugging purpose, to let you do a screen shot when running in TUI mode and write the result into a file.
To enable TUI screen shot, set either DBSCREENDUMP or DBSCREENOUT to the name of the output file, then run your Genero program with FGLGUI=0 set and press the Ctrl-P key to dump the current screen. Each time you press Ctrl-P the output file will be overwritten.
The DBSCREENDUMP variable writes the screen with escape sequences of TTY attributes, while DBSCREENOUT writes only the characters displayed on the screen, which makes the output more readable.
If both variables are set, the runtime will generate both output files. You should however use different file names, otherwise the output is undefined.