TTY Driver wanted

Guy Harris guy at gorodish.Sun.COM
Wed Apr 20 09:42:04 AEST 1988


> I know this is probably an outrageous request but I am wondering if anyone
> knows of any attempts to put the BSD job control, word editting (^r, ^w, tab
> deletion, etc.) into a traditional system v like tty driver?

Well, it depends on what you mean by "a traditional System V-like tty driver",
but if you're referring to the "ioctl" interface rather than the
implementation, well, "fixed in (SunOS) 4.0".  The 4.0 tty driver is a streams
driver (so the implementation isn't anything like the traditional S5 one), but
it directly supports the S5 "ioctl" interface and an extended S5-like interface
derived from early POSIX proposals; the latter supports all the BSD user
interface and job control features, except for the "delayed suspend" character
and the LTILDE mode bit.  Another streams module maps V7/BSD "ioctl"s into the
extended "ioctl"s.

That sort of stuff could be done to the traditional implementation of the S5
driver; I did it a long time ago when I was at CCI, but that version never got
released.



More information about the Comp.unix.wizards mailing list