On Wed, Aug 27, 2008 at 07:10:40PM -0700, Christopher Joyner wrote:
> I do not get the OK from beep, and flash crashes the program.
> This is my code:
> 
> #include <curses.h>
> 
> int main(int argc,char** argv)
> {

      initscr();        /* see also filter() and newterm() */

>     if(beep()!=OK)

//>         printf("No OK\n"); fflush(stdout);
            printw("No OK\n");

>     if(flash()!=OK)

//>         printf("No Flash\n"); fflush(stdout);
            printw("No Flash\n");
      getch();
      endwin();

> return 0;
> }

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpFLzadHJUGi.pgp
Description: PGP signature

Reply via email to