I've had a quick look, and it appears that it shouldn't be overly hard to port libutempter to OS X (which has setutxent, pututxline etc. instead of "x-less" counterparts on Linux). Question is, how useful is this in KPty? R.