Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5085

determine if ncurses is active

From crankypuss <no@email.thanks>
Newsgroups comp.lang.php
Subject determine if ncurses is active
Date 2012-03-02 14:10 -0700
Organization NewsGuy - Unlimited Usenet $19.95
Message-ID <jird1403h9@news4.newsguy.com> (permalink)

Show all headers | View raw


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.

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

determine if ncurses is active crankypuss <no@email.thanks> - 2012-03-02 14:10 -0700
  Re: determine if ncurses is active Michael Vilain <vilain@NOspamcop.net> - 2012-03-02 16:26 -0800
  Re: determine if ncurses is active Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-02 22:25 -0500
    Re: determine if ncurses is active crankypuss <no@email.thanks> - 2012-03-03 01:12 -0700

csiph-web