[erlang-patches] Disable flow control for beam started via run_erl

Björn Gustavsson <>
Sun Mar 7 11:47:11 CET 2010

On Sat, Mar 6, 2010 at 2:58 PM, Jonas Falkevik
<> wrote:
> git fetch git://github.com/falkevik/otp.gitopt_disable_of_flowctrl_for_run_erl_shell

Thanks! I will include in 'pu'.

In the future, please refer to:


I have edited the commit message to make it clearer and easier to read
in gitk. Also I think you meant stdout when you wrote stdin. The revised
commit message looks like this:

"Teach run_erl RUN_ERL_DISABLE_FLOWCNTRL for disabling flow control

Flow control can cause several problems. On Linux, if you
accidentally hit Ctrl-S (instead of Ctrl-D to detach) and
then some other key, the entire beam process will hang when
attempting to write to stdout. On Solaris, the beam process
will hang on writing if ScrollLock is on.

Fix this problem by making it possible to turn off flow
control by setting the environment variable RUN_ERL_DISABLE_FLOWCNTRL."

Is that OK?

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list