Solved [Solved] No /dev/ptmx in FreeBSD 10

I'm testing a new math/matlab-installer on FreeBSD 10.0-BETA3 and Matlab produces the error below due to the absence of /dev/ptmx.

The pts(4) man page on 10.0 no longer mentions ptmx, so it appears to be deprecated. Any suggestions on how to work around this issue in Matlab? I'm using linux_base-f10 FWIW. Thanks.
Code:
>> ls
MATLAB was unable to open a pseudo-tty: No such file or directory [2,0]
Trying old style PTYs
Warning: MATLAB was unable to open the pseudo-tty master device /dev/ptmx.
The unix() and ! commands will not work in this MATLAB session.  Other
commands which depend upon unix() and ! will also fail.  Please check
with your system administrator and confirm that this device exists with
the proper permissions 
> In ls at 30 
Error using unix
The unix() and ! commands are disabled.

Error in ls (line 30)
        [s,listing] = unix('ls');
 
Re: No /dev/ptmx in FreeBSD 10

This is Matlab, a closed-source Linux application, so porting is not an option. The pty module seems to have done the trick, though. Thanks for the tip!
 
Back
Top