On Wed, 21 Aug 2002, Mike Harding wrote:

> Can somebody tell me why if I run 'systat' in an x-window and then
> kill the window, systat chews up all the CPU?  Is there any way to fix

I only had a 30 second look but it seems that the problem is probably in
keyboard.c. It calls getch in an infinite loop and doesn't test for a
return value of ERR which is presumably what would be returned if stdin
had disappeared.

I only had a quick look though and there may be something else going
wrong. I can't actually reproduce the behaviour here.

Andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to