>This is *exactly* what a streams module does in SVR3 and beyond. And what a line discipline did/does in other UNIX releases, except that, as I noted elsewhere, the Multics stuff didn't live in the kernel, while line disciplines and streams modules do.