[
https://issues.apache.org/jira/browse/HBASE-18970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16199186#comment-16199186
]
Mike Drob commented on HBASE-18970:
-----------------------------------
[~chia7712] - the JRuby team suggested that we can exec out to stty from jirb
and I confirmed that it worked locally on a small test case.
So sometime before getting user input (maybe on init) we need to run {{`stty
icrnl`}}. I'll try to get a PR into JRuby too and get this into a release, but
if that takes too long we can hack it ourselves.
> The version of jruby we use now can't handle the ctrl-m
> -------------------------------------------------------
>
> Key: HBASE-18970
> URL: https://issues.apache.org/jira/browse/HBASE-18970
> Project: HBase
> Issue Type: Task
> Components: shell
> Reporter: Chia-Ping Tsai
> Fix For: 2.0.0-beta-1
>
>
> case 1: press enter
> {code}
> hbase(main):002:0> disable_all 'chia(.*)'
> chia_1
>
>
> Disable the above 1 tables (y/n)?
> y^M
> {code}
> case 2: press ctrl-j
> {code}
> hbase(main):001:0> disable_all 'chia(.*)'
> chia_1
>
>
> Disable the above 1 tables (y/n)?
> y^J1 tables successfully disabled
> Took 5.0059 seconds
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)