bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is ncurses library reentrant?


From: Thomas Dickey
Subject: Re: is ncurses library reentrant?
Date: Tue, 13 Feb 2007 07:25:18 -0500 (EST)

On Tue, 13 Feb 2007, Francesco Esposito wrote:

Dear Thomas,
thanks for your support!
My specific problem is that: I must to develop a ncurses application that
show a clock sub-window, with current time(auto-update), in a main-window
without block the user UI interaction.
Do you need any tips(or C/C++ code) that made this?

You can use nonblocking I/O, e.g., setup getch() to read with a short blocking time, and wrap getch() in a function that periodically updates
the clock.  Several of the test programs in ncurses use nonblocking I/O,
e.g., nodelay() with napms() or wtimeout() to poll for keyboard input
while updating the display.



2007/2/13, Thomas Dickey <address@hidden>:

On Tue, 13 Feb 2007, Francesco Esposito wrote:

> Hi Thomas&all,
> I need to know if other peoples have already made this and if they could
> send me the  ncurses library updated.

If they have, they haven't made it available, afaik.


>
> BR,
> Francesco
>
>
>
> 2007/2/13, Thomas Dickey <address@hidden>:
>>
>> On Tue, 13 Feb 2007, Francesco Esposito wrote:
>>
>> > Hi all,
>> > is ncurses library reentrant? There is a ncurses version e/o
>> > project(beta,...) that implements this feature?
>>
>> no - that (modifying so it can be compiled into a reentrant flavor) is
>> something that I'm considering, but it's not done.
>>
>> > I need to know(asap) this info in order to choose the best
architectural
>> > solution.
>> >
>> > Thanks in advance,
>> > Francesco
>> >
>>
>> --
>> Thomas E. Dickey
>> http://invisible-island.net
>> ftp://invisible-island.net
>>
>

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



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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]