FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » determine if ncurses is active
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: determine if ncurses is active [message #177271 is a reply to message #177269] Sat, 03 March 2012 00:26 Go to previous messageGo to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma:
Member
In article <jird1403h9(at)news4(dot)newsguy(dot)com>, crankypuss <no(at)email(dot)thanks>
wrote:

> Is there a function you can call to determine whether ncurses is between
> ncurses_init() and ncurses_end() without getting an error message?
>
> I'm using ncurses_baudrate() which returns false if uninitialized and
> ncurses_isendwin() to determine if ncurses_end() is done and that gives
> a correct answer as far as I can tell but ncurses_baudrate() issues a
> warning that it hasn't been initialized.

That depends on the library you're using and where you got it. Have you
done a google search on the ncurses library? Can you find a copy of the
source and paw through it? My guess is that's the only way you'll find
the answer.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to place an image within another image at a certain position while retaining transparency using gd
Next Topic: Save Earth.... Avoidable Doomsday...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 12:34:52 GMT 2024

Total time taken to generate the page: 0.05560 seconds