From owner-freebsd-bugs Mon Dec 10 4:40: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D679B37B405 for ; Mon, 10 Dec 2001 04:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBACe2c17326; Mon, 10 Dec 2001 04:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 10 Dec 2001 04:40:02 -0800 (PST) Message-Id: <200112101240.fBACe2c17326@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/32667: systat waste too much time reading input Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/32667; it has been noted by GNATS. From: Sheldon Hearn To: "Vladimir B.Grebenschikov" 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