[erlang-patches] Patch to run_erl
Oscar Hellström
oscar@REDACTED
Mon Nov 24 13:41:23 CET 2008
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
--
Oscar Hellström, oscar@REDACTED
Office: +44 20 7655 0337
Mobile: +44 798 45 44 773
Erlang Training and Consulting
http://www.erlang-consulting.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: R12B-5_run_erl.patch
Type: text/x-patch
Size: 1999 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20081124/173f4976/attachment.bin>
More information about the erlang-patches
mailing list