Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04FAE18B6A for ; Thu, 6 Aug 2015 17:57:27 +0000 (UTC) Received: (qmail 88394 invoked by uid 500); 6 Aug 2015 17:57:26 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 88338 invoked by uid 500); 6 Aug 2015 17:57:26 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 88326 invoked by uid 99); 6 Aug 2015 17:57:25 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 17:57:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 62F77C0A64 for ; Thu, 6 Aug 2015 17:57:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qYhRg7pj5aao for ; Thu, 6 Aug 2015 17:57:12 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 5508C24D7C for ; Thu, 6 Aug 2015 17:57:11 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) by emg-ca-1-2.localdomain (Postfix) with ESMTP id D14C853DE5 for ; Thu, 6 Aug 2015 10:57:09 -0700 (PDT) Subject: =?UTF-8?Q?Re:_Need_to_confir_zookeeper=E2=80=98s_?= =?UTF-8?Q?function=EF=BC=88ctrl_+_d=EF=BC=89using_zkCli.sh?= MIME-Version: 1.0 x-echoworx-emg-received: Thu, 6 Aug 2015 10:57:09.835 -0700 x-echoworx-msg-id: 81400a21-72f4-4405-af07-e372b74cad4d x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 535 for ; Thu, 6 Aug 2015 10:57:09 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) by emg-ca-1-2.localdomain (Postfix) with ESMTP id 9991A53DE5 for ; Thu, 6 Aug 2015 10:57:09 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Thu, 6 Aug 2015 10:57:08 -0700 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1044.021; Thu, 6 Aug 2015 10:57:08 -0700 From: Chris Nauroth To: "user@zookeeper.apache.org" Thread-Topic: =?iso-2022-jp?B?TmVlZCB0byBjb25maXIgem9va2VlcGVyGyRCIUYbKEJzIGZ1bmN0aW8=?= =?iso-2022-jp?B?bhskQiFKGyhCY3RybCArIGQbJEIhSxsoQnVzaW5nIHprQ2xpLnNo?= Thread-Index: AQHQxULdl97qMzDC6UaEwmEkV8yS9p3pSjiAgAE4wwCAAGm+AIAEpq+AgA/ErwA= Date: Thu, 6 Aug 2015 17:57:07 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [50.248.208.113] x-source-routing-agent: Processed Content-Type: text/plain; charset="iso-2022-jp" Content-ID: <0077ADA0A9F2794E99918AA255E17A03@exch080.serverpod.net> Content-Transfer-Encoding: quoted-printable The ZooKeeper codebase does not customize the JLine key bindings, so you won't find anything related to this in the ZooKeeper configuration files. Instead, ZooKeeper uses the default key bindings, shown in the URL from my last reply. That includes the mapping of CTL-D to EXIT. --Chris Nauroth On 7/27/15, 3:09 AM, "=1B$BC+@n=1B(B" wrote: >Tks Chris >This document is really useful for me. >Another question:since ctrl+D 's default function is EXIT, where can I >find >the real working setting of this ctrl+D? I mean in zookeeper's config? > >2015-07-25 2:07 GMT+08:00 Chris Nauroth : > >> I apologize, but it looks like my email client broke the URL into 2 >> lines. I'm trying to send this email as HTML as a workaround. >> >> >>=20 >>https://github.com/jline/jline/blob/master/src/main/resources/jline/keybi >>ndings.properties >> >> (The last component of the URL needs to be /keybindings.properties >>instead >> of /keybind.) >> >> The JLine documentation has some further discussion of the key bindings, >> their defaults, and how you can customize them. >> >> --Chris Nauroth >> >> >> >> On 7/23/15, 9:49 PM, "=1B$BC+@n=1B(B" > ali.guchuan@gmail.com>> wrote: >> >> Hi Chris >> >>=20 >>https://github.com/jline/jline/blob/master/src/main/resources/jline/keybi >>nd >> this web can not be reached,any other ways to confirm the real-command >>for >> ctrl+D >> I tried this on my zk client,find that it execute the last command then >> EXIT. which config file contain this setting? >> >> 2015-07-24 1:09 GMT+08:00 Chris Nauroth >>> cnauroth@hortonworks.com>>: >> >> Hello, >> >> This is a built-in feature of the JLine library that ZooKeeper uses for >> CLI handling. According to JLine's documentation, it's possible to >> customize its key bindings if you don't like the default behavior. >> >> http://jline.sourceforge.net/ >> >> >> This file from the JLine source defines the default key bindings. For >> example, we can see that CTL-D is mapped to EXIT. >> >>=20 >>https://github.com/jline/jline/blob/master/src/main/resources/jline/keybi >>nd >> ings.properties >> >> >> --Chris Nauroth >> >> >> >> >> On 7/23/15, 5:26 AM, "=1B$BC+@n=1B(B" > ali.guchuan@gmail.com>> wrote: >> >> >Hi all >> > Does anyone konws what will happened when I enter 'ctrl+D' on >> >keyborad using zkCli.sh? >> > I find that this command(ctrl+D) will execute the last command >>and >> >exit,but I didnot find any help info about this command. >> >> >> >>