Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 10:23:53 +0200
From:      Niek Bergboer <niek@wit379119.student.utwente.nl>
To:        freebsd-stable@freebsd.org
Subject:   Re: matlab6  & /dev/ptmx
Message-ID:  <20020516102353.A82348@wit379119.student.utwente.nl>
In-Reply-To: <Pine.GSO.4.40.0205141804230.17040-100000@martens.math.ntnu.no>
References:  <20020514142128.O57972@wit379119.student.utwente.nl> <Pine.GSO.4.40.0205141804230.17040-100000@martens.math.ntnu.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 14, 2002 at 06:16:20PM +0200, Per Kristian Hove wrote:
> You can LD_PRELOAD a library that replaces open() and catches
> the open("/dev/ptmx") special case, then does a BSD opentty()
> [...]
> 
> 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/

This doesn't compile under BSD as /usr/include/asm/unistd.h doesn't
exist. The fake_ptmx.c file seems to use an __NR_open variable that is
defined in this asm/unistd.h file.

Any workarounds, Per?

Regards,

Niek

-- 
  "Those who dream by day are cognizant of many things which escape those
   who dream only by night."
                                   Edgar Allan Poe

PGP public key at http://www.bergboer.net

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?20020516102353.A82348>