aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2007-02-20 19:38:32 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2007-02-20 19:38:32 +0000
commitf794385d8f028107b2e53f0d92d82bed19236d28 (patch)
tree99ddc65bc481c48f469ea7f2f221d7d37b039c23 /lang
parente8aa8b71398d44a96675083dca4519c5e9c4a153 (diff)
downloadports-f794385d8f028107b2e53f0d92d82bed19236d28.tar.gz
ports-f794385d8f028107b2e53f0d92d82bed19236d28.zip
Notes
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]),