[erlang-bugs] R13B TTY bug on mac os x
Fri Apr 24 15:37:02 CEST 2009
Bjorn Gustavsson <> writes:
> On Thu, Apr 23, 2009 at 11:47 PM, Geoff Cant <> 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.
Apparently I managed to break my ncurses installation which stopped the
ttsl_drv from loading properly. It all works fine now.
Thanks very much for the pointer,
More information about the erlang-bugs