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


Groups > comp.lang.php > #5085

determine if ncurses is active

Path csiph.com!usenet.pasdenom.info!news.lightlink.com!news.cmpublishers.com!news.ripco.com!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news4
From crankypuss <no@email.thanks>
Newsgroups comp.lang.php
Subject determine if ncurses is active
Date Fri, 02 Mar 2012 14:10:59 -0700
Organization NewsGuy - Unlimited Usenet $19.95
Lines 7
Message-ID <jird1403h9@news4.newsguy.com> (permalink)
NNTP-Posting-Host pbc9ca8454ccb6ee30437a58bbac59c16a93cbc74ce98d94d.newsdawg.com
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
User-Agent Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Received-Bytes 1040
Xref csiph.com comp.lang.php:5085

Show key headers only | 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