From owner-freebsd-hackers Wed Jan 5 17:12:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 9E4BA154E9 for ; Wed, 5 Jan 2000 17:12:33 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id LAA23906; Thu, 6 Jan 2000 11:37:39 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200001052345.PAA26271@biggusdiskus.flyingfox.com> Date: Thu, 06 Jan 2000 11:37:39 +1030 (CST) From: "Daniel O'Connor" To: Jim Shankland Subject: Re: Reading kbd scancodes from userland Cc: lyndon@orthanc.ab.ca, freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 05-Jan-00 Jim Shankland wrote: > (void) tcsetattr(fd, 0, &old_t); > if (ioctl(fd, KDSKBMODE, oldmode) < 0) { > (void) fprintf(stderr, > "Danger, Will Robinson! Can't restore keyboard: > %s\n", You know I *really* wish there was a way to make sure that when your app closed the keyboard was unborked again.. Its really annoying having to find another machine when your app coredumps so you can restore the keyboard to sanity :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message