The recent TIOCREMOTE removal

Pedro F. Giffuni giffunip at asme.org
Wed Dec 22 19:52:02 PST 2004


Hi;

I was trying to find out what went wrong with x11-toolkits/xview (and 
derived applications) and I found this thread in -current. XView is 
using termios (as it should) but the TIO_REMOTE removal indeed broke 
xview on Sat Jul  3 10:12:32 UTC 2004.

Patches welcome.

    Pedro.
_____________
In message <29087.62.3.32.33.1089889099.squirrel at www.kerneled.org>, 
samy at kerneled.org writes:
 >The changes committed with revision 1.127 of tty_pty.c and the appropriate
 >changes to the ttycom.h file remove the TIOCREMOTE ioctl. The commit
 >message was as follows:
 >   "It was added 22 years ago for emacs to use, but emacs gave up on it
 >    it 17 years ago."
 >
 >Ignoring the fact that many operating systems have TIOCREMOTE implemented
 >(meaning, FreeBSD provides a nice new portability issue for now and the
 >unknowing future), several ports are *already* broken due to this.

I'm only aware of two ?  And I'm currently investigating them.

 >This ioctl is widely implemented, and even though not a fad of any
 >sort, it is used where it should be. The functionality it provides is
 >of use. I think it would be feasible if someone was to roll-back the
 >both sys/ttycom.h and kern/tty_pty.c

Please provide better evidence of current usage.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the freebsd-ports mailing list