Hi,

  The ncurses HOWTO (http://en.tldp.org/HOWTO/NCURSES-Programming-HOWTO/)
says that curses programs typically start with a call to initscr().

Venkatesh

> 
> I am trying to get curses working correctly under LINUX 8.0, but am
> having SIGSEGV errors.
> 
> A simple test program:
> 
> #include <curses.h>
> 
> int main () {
>       int help;
>       help=getch();
>       printf("%c\n",help);
> }
> 
> compiled with 
> 
> gcc tst2.c -lcurses
> 
> yields segmentation fault.  What am I doing wrong?
> Cursed curses...
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> 



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to