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]> 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.
