aboutsummaryrefslogtreecommitdiffstats
path: root/erts/example
diff options
context:
space:
mode:
authorRyan Tilder <[email protected]>2010-08-06 15:17:52 -0700
committerBjörn Gustavsson <[email protected]>2010-09-29 16:39:05 +0200
commit94399ba3a34e90a95a03117b3a6c8daf63090235 (patch)
tree6077edbe7cbc00401e08dae8bcb5d3c6f05a8933 /erts/example
parent9b6cd9712b34a1705fc1ec2dda4878d0bbb3b1e4 (diff)
downloadotp-94399ba3a34e90a95a03117b3a6c8daf63090235.tar.gz
otp-94399ba3a34e90a95a03117b3a6c8daf63090235.tar.bz2
otp-94399ba3a34e90a95a03117b3a6c8daf63090235.zip
Add corrected support for Solaris PTYs to run_erl
Two related but slightly separate issues: run_erl doesn't support Solaris's /dev/ptmx device and run_erl didn't load the necessary STREAMS modules so that to_erl can provide terminal echo of keyboard input. This patch adds ifdef'd support for Solaris and derivatives to open /dev/ptmx directly since adding the C99 defines to CFLAGS breaks all kinds of other things in the build. It also adds ifdef'd ioctl calls to load the necessary STREAMS modules to permit termios to work.
Diffstat (limited to 'erts/example')
0 files changed, 0 insertions, 0 deletions