ncurses tests

Eric Norum eric at cls.usask.ca
Thu Jun 1 22:08:35 UTC 2000


One reason for sure that you'll not see any output from the tests linked
against dummy.rel is that there's no TERM environment variable.  Also,
the tests provide a main function which conflicts with the RTEMS main
function.

The build procedure for the ncurses package was not intended to create
working tests.  Only the programs in the examples directory should be
expected to work.

When I compiled the tests with -Dmain=rtems_main and used the following
Init routine I was able to run the curses tests I tried.

void
Init (rtems_task_argument ignored)
{
        static char *argv[] = {
                "test",
                NULL
        };
        putenv ("TERM=xterm");
        rtems_main (1, argv);
}

-- 
Eric Norum                                 eric at cls.usask.ca
Canadian Light Source                      Phone: (306) 966-6308
University of Saskatchewan                 FAX:   (306) 966-6058
Saskatoon, Canada.



More information about the users mailing list