Date: Mon, 10 Dec 2001 04:40:02 -0800 (PST) From: Sheldon Hearn <sheldonh@starjuice.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/32667: systat waste too much time reading input Message-ID: <200112101240.fBACe2c17326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/32667; it has been noted by GNATS. From: Sheldon Hearn <sheldonh@starjuice.net> To: "Vladimir B.Grebenschikov" <vova@sw.ru> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/32667: systat waste too much time reading input Date: Mon, 10 Dec 2001 14:35:16 +0200 On Mon, 10 Dec 2001 14:32:24 +0300, "Vladimir B.Grebenschikov" wrote: > >Number: 32667 > >Category: bin > >Synopsis: systat waste too much time reading input The problem is a very tight loop around getch() in non-delay mode, in the keyboard() function in keyboard.c. This should probably be changed to half-delay mode. Someone who knows ncurses(3X) (or who is willing to learn) will have to look at this. Well-spotted. Interested in trying to come up with a patch, based on a squizz at the getch(3) and ncurses(3X) manual pages? Cioa, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112101240.fBACe2c17326>