From owner-freebsd-hackers Mon Mar 23 19:47:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26815 for freebsd-hackers-outgoing; Mon, 23 Mar 1998 19:47:06 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sendero.simon-shapiro.org (sendero-fddi.Simon-Shapiro.ORG [206.190.148.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA26796 for ; Mon, 23 Mar 1998 19:46:53 -0800 (PST) (envelope-from shimon@simon-shapiro.org) Received: (qmail 6554 invoked from network); 24 Mar 1998 03:52:00 -0000 Received: from localhost.simon-shapiro.org (HELO sendero-fxp0.simon-shapiro.org) (@127.0.0.1) by localhost.simon-shapiro.org with SMTP; 24 Mar 1998 03:52:00 -0000 Message-ID: X-Mailer: XFMail 1.3-alpha-031798 [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: <199803240308.UAA15837@harmony.village.org> Date: Mon, 23 Mar 1998 19:52:00 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Warner Losh Subject: Re: Serial Keyboards Cc: Tom , hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 24-Mar-98 Warner Losh wrote: .. > Yup. I want to present the same interface to the kernel that the > current PC keyboard interface so it would work with things like X as > well (this may require a lot of translation on my part, which is > cool). There is also a cool chording keyboard that I'd like to give a > go at running as my system keyboard, but that one is also a RS-232 > device.... I think modifying getty to split stdin from std{out,err} is easy. Once this is done, the rest will follow. Maybe getty already knows how to do that, or the BSD equivalent of inittab (/etc/ttys?) Console is not a problem, unless you want to re-direct the input. If you go for serial console, you will be sending the output there too. Again, the kernel may be smark enough to split the two. ... >: Why would anyone want that, is a good question. A NEW PC KB is $15. > > It is a laptop machine that doesn't have a keyboard port. I have a > small, light weight serial (aka RS323) keyboard (from a newton) that > I'd like to connect to its serial port. I do ahve a port replicator > which has a keyboard interface, but that is too bulky and fragile to > carry with me. Never underestimate the real use (when compared to design goals). This is all quite doable. Some code hacking may be needed, but you have the sources :-) ---------- Sincerely Yours, Simon Shapiro Shimon@Simon-Shapiro.ORG Voice: 503.799.2313 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message