Date: Wed, 4 Sep 2002 04:56:49 -0600 From: John E Hein <jhein@timing.com> To: "Duncan Barclay" <dmlb@dmlb.org> Cc: "Mark Santcroos" <marks@ripe.net>, <emulation@FreeBSD.ORG> Subject: Re: TIOCSCTTY not implemented in linuxulator? Message-ID: <15733.59121.143526.699051@brain.timing.com> In-Reply-To: <000801c253f7$2cae8ea0$6d6020c2@pc598cam> References: <XFMail.20020903224917.dmlb@computer.my.domain> <20020904020952.GB7157@dhcp01.pn.xcllnt.net> <20020904064620.GA713@laptop.6bone.nl> <000801c253f7$2cae8ea0$6d6020c2@pc598cam>
next in thread | previous in thread | raw e-mail | index | archive | help
Duncan Barclay wrote at 10:40 +0100 on Sep 4: > > Hi Duncan, > > > > Can you find out (ktrace) to which devices it is sending these ioctls? > > It's the tty side of a pty/ttp pair. Matlab spawns a subprocess, and it's > the subprocess that issues these ioctls. See this freebsd-emulation thread ("can't quit matlab"): http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=206ec3e38e06e5d2&seekm=15218.39637.311548.512594_localhost.econ.vt.edu%40ns.sol.net#link1 Note that the 540e is TIOCSCTTY: /usr/src/linux-2.2.19/include/asm-i386/ioctls.h:#define TIOCSCTTY 0x540E Particularly look at the 3rd message in the thread that talks about the /dev/ptmx workaround and unix98 ptys. If someone could solve this, it'd be great. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15733.59121.143526.699051>