[erlang-questions] weird problem with erl and ouput to stdout(?)

Claes Wikstrom klacke@REDACTED
Thu Jan 25 08:44:59 CET 2007


Justin Heesemann wrote:
> On Wednesday, January 24, 2007 07:52:17 PM you wrote:
>> try
>>
>> # erl -oldshell
>>
>> Does that work??
>>
>> /klacke
> 
> it does.
> /me stares at the erl prompt.
> how did you do that???
> 
> how and why does it work??
> 
> 

since it worked when you tried it through a pipe. The oldshell option
doesn't use the so called ttsl_drv.c driver to handle the terminal -
it just uses read/write to fd 0/1

Hence there is a problem with the terminal driver.

You may try to check
which version/variant you have of the ncurses libs

/klacke



More information about the erlang-questions mailing list