From owner-freebsd-hackers Mon Mar 23 19:55:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28992 for freebsd-hackers-outgoing; Mon, 23 Mar 1998 19:55:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA28977 for ; Mon, 23 Mar 1998 19:55:53 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id OAA20097; Tue, 24 Mar 1998 14:25:43 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id OAA18221; Tue, 24 Mar 1998 14:25:42 +1030 (CST) (envelope-from grog) Message-ID: <19980324142542.22945@freebie.lemis.com> Date: Tue, 24 Mar 1998 14:25:42 +1030 From: Greg Lehey To: shimon@simon-shapiro.org, Warner Losh Cc: Tom , hackers@FreeBSD.ORG Subject: Re: Serial Keyboards References: <199803240308.UAA15837@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Simon Shapiro on Mon, Mar 23, 1998 at 07:52:00PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 23 March 1998 at 19:52:00 -0800, Simon Shapiro wrote: > > 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. The way I see it, getty's the wrong level. This is the system console, and it should be able to handle X, for example. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message