Subject: Re: bin/36999: systat refresh interval is limited
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Julian Coleman <jdc@coris.org.uk>
List: netbsd-bugs
Date: 09/20/2007 13:45:02
The following reply was made to PR bin/36999; it has been noted by GNATS.

From: Julian Coleman <jdc@coris.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/36999: systat refresh interval is limited
Date: Thu, 20 Sep 2007 14:40:42 +0100

 > 	                            This is because the curses
 > 	function timeout(3) is limited to 25500 seconds. I haven't
 > 	tried finding out why this is the case.
 
 If you look at src/lib/libcurses/timeout.c:wtimeout(), this is because we
 use VTIME, which is an 8-bit value (0-255) with a granularity of 0.1s.  We
 should probably look at making the libcurses code handle timeouts of more
 than 25.5s.
 
 J
 
 -- 
   My other computer also runs NetBSD    /        Sailing at Newbiggin
         http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/