aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2013-12-03 16:41:39 +0100
committerHans Nilsson <[email protected]>2013-12-03 16:41:39 +0100
commit9f997aadc86eb5620beb0d92777a8fdd1b95ab1b (patch)
treed9d34bb34f7902985b3b5d2e874b81e6172f7922 /lib
parent197fab5e0caae5233411acbc8cdd82b7f539bb4c (diff)
parent95d8bd7377401f663ab5419df02174a42eddea2e (diff)
downloadotp-9f997aadc86eb5620beb0d92777a8fdd1b95ab1b.tar.gz
otp-9f997aadc86eb5620beb0d92777a8fdd1b95ab1b.tar.bz2
otp-9f997aadc86eb5620beb0d92777a8fdd1b95ab1b.zip
Merge branch 'hans/ssh/cli_delays' into maint
* hans/ssh/cli_delays: ssh: Fix long cli delays. (Part of OTP-11339, OTP-10953)
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/src/ssh_cli.erl15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_cli.erl b/lib/ssh/src/ssh_cli.erl
index 5cb1e133d3..2c8e515a14 100644
--- a/lib/ssh/src/ssh_cli.erl
+++ b/lib/ssh/src/ssh_cli.erl
@@ -161,6 +161,21 @@ handle_msg({ssh_channel_up, ChannelId, ConnectionHandler},
cm = ConnectionHandler} = State) ->
{ok, State};
+handle_msg({Group, set_unicode_state, _Arg}, State) ->
+ Group ! {self(), set_unicode_state, false},
+ {ok, State};
+
+handle_msg({Group, get_unicode_state}, State) ->
+ Group ! {self(), get_unicode_state, false},
+ {ok, State};
+
+handle_msg({Group, tty_geometry}, #state{group = Group,
+ pty = #ssh_pty{width=Width,
+ height=Height}
+ } = State) ->
+ Group ! {self(),tty_geometry,{Width,Height}},
+ {ok,State};
+
handle_msg({Group, Req}, #state{group = Group, buf = Buf, pty = Pty,
cm = ConnectionHandler,
channel = ChannelId} = State) ->