Date: Wed, 15 May 2002 09:21:54 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: freebsd-stable@freebsd.org Subject: Re: matlab6 & /dev/ptmx Message-ID: <E177sAc-0006c6-00@cse.cs.huji.ac.il> In-Reply-To: Your message of Tue, 14 May 2002 18:16:20 %2B0200 (MET DST) .
next in thread | raw e-mail | index | archive | help
[...] > You can LD_PRELOAD a library that replaces open() and catches > the open("/dev/ptmx") special case, then does a BSD opentty() > and returns the file descriptor of the tty. (Of course you'll > have to compile this library on Linux for the LD_PRELOADing to > work, and modify the Matlab startup script to set LD_PRELOAD > right before it exec's the binary. That makes it a bit more of a > hassle). > > A colleague of mine has written a small library to do this. > For a short period of time, you can find it at this address: > > http://www.math.ntnu.no/~perhov/public/tmp/fake_ptmx/ > > Btw: Matlab 6.1 seems to work better than 6.0 in this respect, > as no LD_PRELOADing is necessary. thanks!, danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E177sAc-0006c6-00>