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 <[email protected]>: > 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. > > > https://github.com/jline/jline/blob/master/src/main/resources/jline/keybindings.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, "谷川" <[email protected]<mailto: > [email protected]>> wrote: > > Hi Chris > > https://github.com/jline/jline/blob/master/src/main/resources/jline/keybind > 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 <[email protected]<mailto: > [email protected]>>: > > 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. > > https://github.com/jline/jline/blob/master/src/main/resources/jline/keybind > ings.properties > > > --Chris Nauroth > > > > > On 7/23/15, 5:26 AM, "谷川" <[email protected]<mailto: > [email protected]>> 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. > > > >
