[erlang-bugs] R13B TTY bug on mac os x
Bjorn Gustavsson
bgustavsson@REDACTED
Fri Apr 24 11:09:14 CEST 2009
On Thu, Apr 23, 2009 at 11:47 PM, Geoff Cant <nem@REDACTED> wrote:
>
> Hi all, I've just realised that when I start erl on Mac OS X (10.5) I
> get erlang's oldshell instead of the regular shell.
Works fine for me, on two different Macs.
>
> How do I go about debugging this? Can I spawn the tty_sl driver manually
> to check to see if it's working?
I would check how the emulator was built first. The ttsl_drv.c file
has an #ifdef
testing on HAVE_TERMCAP. If HAVE_TERMCAP is undefined, the ttsl driver
will fail when opened and the old shell will be used. So I would check that
HAVE_TERMCAP is defined in config.h (generated by ./congfigure). If not
defined there, I would check the logs from configure or re-run configure to
see where it went wrong.
/Bjorn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-bugs
mailing list