Turning COMPAT_43TTY into a binary-only compatibility

Ed Schouten ed at fxq.nl
Wed Jan 30 09:17:18 PST 2008


* Dag-Erling Smørgrav <des at des.no> wrote:
> None of that stuff should be using sgtty.  Linux, for instance, only has
> termios, not sgtty, so anything that runs on Linux must necessarily
> already support termios, and it's just a matter of fixing it so it
> doesn't insist on using sgtty instead.

That only partially true. Linux supports termios and termio, but it's
not hard to port termio apps to termios. I ported a lot of them last
year. In the most simple cases, it was just a matter of replacing
ioctl() with tc[gs]etattr() and you're finished.

-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080130/f075d83b/attachment.pgp


More information about the freebsd-current mailing list