[erlang-patches] Patch to run_erl

Sverker Eriksson <>
Mon Nov 24 14:02:49 CET 2008


Thanks a lot. I will have a look at that.

/Sverker, Erlang/OTP Ericsson


Oscar Hellström wrote:
> Hi,
>
> When starting a target system with bin/start and then connecting with
> run_erl, "winsize=X,Y" is printed in the shell and then interpreted as
> an shell command. This is true if the window has been resized since the
> shell was detached.
>
> 1. bin/to_erl
> 2. Ctrl+D
> 3. Resize window
> 4. Reconnect
>
> I assume that this is because several control messages are sent on the
> pipes, but only one is removed by extract_ctrl_seq/2. This patch removes
> all pending control messages before the command buffer is printed to the
> pty.
>
> Best regards
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-patches




More information about the erlang-patches mailing list