Hi Does anyone know why TIOCSCTTY isn't implemented in compat/linux_ioctl.c? The last change in this area was back in 1999 when the ioctl handling was revamped, but this ioctl was not implemented. Do controlling terminals work okay in the linuxulator?
Implementing this might solve a problem with Matlab, where it refuses to exit. Matlab issues calls to two unimplemented ioctls on the tty side of a pty/tty pair. linux: 'ioctl' fd=4, cmd=0x1 ('',1) not implemented linux: 'ioctl' fd=4, cmd=0x1 ('',1) not implemented linux: 'ioctl' fd=4, cmd=0x540e ('T',14) not implemented 0x540e is TIOCSCTTY, and according to /compat/linux/usr/include/asm/ioctls.h 0x1 is TIOCSER_TEMT (Transmitter physically empty)? I'm using 4.6-PRERELEASE linux_base-6.1_1 linux_devtools-6.1 linux_kdump-1.4 Thanks Duncan -- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, [EMAIL PROTECTED] | the alcoholics, and the permanently stoned. [EMAIL PROTECTED]| Steven King To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message