aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl23
-rw-r--r--lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl23
2 files changed, 46 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl b/lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl
new file mode 100644
index 000000000000..f329d3512bae
--- /dev/null
+++ b/lang/erlang/files/patch-lib_ssh_src_ssh__cli.erl
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- lib/ssh/src/ssh_cli.erl.orig
++++ lib/ssh/src/ssh_cli.erl
+@@ -161,17 +161,12 @@
+ handle_info({ssh_cm, _CM,
+ {window_change, _Channel, Width, Height, PixWidth, PixHeight}},
+ State) ->
+- erlang:display(?LINE),
+ #state{buf = Buf, pty = Pty, cm = CM, channel = Channel} = State,
+- erlang:display(?LINE),
+ NewPty = Pty#ssh_pty{width = Width, height = Height,
+ pixel_width = PixWidth,
+ pixel_height = PixHeight},
+- erlang:display(?LINE),
+ {Chars, NewBuf} = io_request({window_change, Pty}, Buf, NewPty),
+- erlang:display(?LINE),
+ write_chars(CM, Channel, Chars),
+- erlang:display(?LINE),
+ {noreply, State#state{pty = NewPty, buf = NewBuf}};
+ handle_info({Group, Req}, State) when Group==State#state.group ->
+ ?dbg(?DBG_IO_REQUEST, "io_request: ~w\n", [Req]),
diff --git a/lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl b/lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl
new file mode 100644
index 000000000000..f329d3512bae
--- /dev/null
+++ b/lang/erlang14/files/patch-lib_ssh_src_ssh__cli.erl
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- lib/ssh/src/ssh_cli.erl.orig
++++ lib/ssh/src/ssh_cli.erl
+@@ -161,17 +161,12 @@
+ handle_info({ssh_cm, _CM,
+ {window_change, _Channel, Width, Height, PixWidth, PixHeight}},
+ State) ->
+- erlang:display(?LINE),
+ #state{buf = Buf, pty = Pty, cm = CM, channel = Channel} = State,
+- erlang:display(?LINE),
+ NewPty = Pty#ssh_pty{width = Width, height = Height,
+ pixel_width = PixWidth,
+ pixel_height = PixHeight},
+- erlang:display(?LINE),
+ {Chars, NewBuf} = io_request({window_change, Pty}, Buf, NewPty),
+- erlang:display(?LINE),
+ write_chars(CM, Channel, Chars),
+- erlang:display(?LINE),
+ {noreply, State#state{pty = NewPty, buf = NewBuf}};
+ handle_info({Group, Req}, State) when Group==State#state.group ->
+ ?dbg(?DBG_IO_REQUEST, "io_request: ~w\n", [Req]),