NCurses Development

From Sharpfin
Jump to: navigation, search

The NCurses Development Environment enables the reciva applictions to be produced and tested on a Linux machine. The Libreciva library must be compiled in 'devel' mode.

Sharpfin-Sim.png

The Screen is split into 4 areas, the first being a representation of the radio's LCD display. To the right of that is an area where Icons and LEDs are shown. The last area on the top line is a help area.

The large window below is used to display the log messages, which are created with the logf() function. Note that these messages are also passed to syslog or stderr.

If the stderr option is selected, stderr must be re-directed in order to prevent screen corruption, for example:

./program 2>stderr.logfile.txt