Thanks Thomas!  That did the trick...ncurses is working now.

All the best,
UQ

-----Original Message-----
From: Thomas Dickey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 12:03 PM
To: [EMAIL PROTECTED]
Subject: Re: lynx-dev Spawning an external curses-based program


On Tue, Sep 17, 2002 at 11:53:03AM -0700, Umar Qureshey wrote:
> Hmm my gut feeling sez it's not a memory problem (I tried the -curses_pads
> option to no avail).  However, I have belatedly realized that my app is
> piping data to stdout so stdout is probably not available.  Is there any
way
> to tell ncurses to use stderr or any other way to redirect ncurses
routines
> to the LCD?

use this rather than initscr():

       SCREEN *newterm(char *type, FILE *outfd, FILE *infd);

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to