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
