From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 27 Nov 2007 20:02:07 +0000 From: Derek Fawcus To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] segattach plan9port Message-ID: <20071127200207.A1742@edi-view2.cisco.com> References: <20071127160306.1243B1E8C22@holo.morphisms.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20071127160306.1243B1E8C22@holo.morphisms.net>; from rsc@swtch.com on Tue, Nov 27, 2007 at 11:03:02AM -0500 Topicbox-Message-UUID: 0cf31866-ead3-11e9-9d60-3106f5b1d025 On Tue, Nov 27, 2007 at 11:03:02AM -0500, Russ Cox wrote: > > But even if you do that, consctl depends on getting > terminal change (rawon, rawoff) events on /dev/consctl, > which doesn't exist on Unix. I've been working on and off on a 'pty slave' which sort of does that giving cooked/raw/cbreak messages based on pty changes. The idea being to convert the pty handling crud to a message protocol. The code is ugly, being a wip which has grown as I experimented, but does seem to work on Solaris/Linux/OSX. The major missing bit is support for completion, and then the proper driver program. One thought was to drive it from a suitable hacked p9p 9term. DF