On Thu, Aug 14, 2025 at 01:49:24PM -0400, Bill Gray wrote:
> On 8/14/25 12:21, G. Branden Robinson wrote:
> > While already documented in the "DESCRIPTION" section, this is "an
> > implementation detail[] of significance to the programmer but which [is]
> > not standardized" (ncurses(3X)).
> 
>    Just out of idle curiosity... (quoting from the man page, 'portability'
> section) :
> 
>    "If interrupted by a signal, ncurses restarts napms.  That,  and the
> limitation to 30 seconds, differ from other implementations."
> 
>    Why the restart?  Why the 30-second limit?
> 

/*
 * Limit delay-times to 30 seconds, which is consistent with signed 16-bit
 * numbers in legacy terminfo.
 */
#define MAX_DELAY_MSECS 30000

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to