Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow up/down arrows to navigate command history #2413

Closed
dimas opened this issue May 8, 2014 · 4 comments
Closed

Allow up/down arrows to navigate command history #2413

dimas opened this issue May 8, 2014 · 4 comments

Comments

@dimas
Copy link

dimas commented May 8, 2014

In the CLI where I can query server with:

ns myMap
m.size

etc - it is very frustrating that you cannot use standard readline-like capabilities (sorry, not sure how this thing is called in Java world) like using UP and DOWN arrows to navigate through the command history to let you quickly repeat last command.

@mark-addy
Copy link

Would a solution requiring a dependency on the jline library be acceptable?

@gAmUssA
Copy link

gAmUssA commented Jun 2, 2015

@dimas @mark-addy You can try to use rlwap utility http://utopia.knoware.nl/~hlub/uck/rlwrap/#rlwrap

I modified my clienConsole.sh with rlwrap

rlwrap java -server -Djava.net.preferIPv4Stack=true -cp ../lib/hazelcast-all-3.4.2.jar com.hazelcast.client.console.ClientConsoleApp

test

Give it a spin!

@enesakar enesakar removed the PENDING label Nov 2, 2015
@mdogan
Copy link
Contributor

mdogan commented May 31, 2017

ConsoleApp and ClientConsoleApp are just for demo purposes.

@mdogan mdogan closed this as completed May 31, 2017
@gAmUssA
Copy link

gAmUssA commented May 31, 2017

@mark-addy you can fork ConsoleApp and ClientConsoleApp and add jline integration.
We will add them to hazelcast-code-samples project.
Thank you

frant-hartm pushed a commit that referenced this issue Mar 26, 2021
* Add windows-jenkins profile
devOpsHazelcast pushed a commit that referenced this issue Jul 1, 2024
GitOrigin-RevId: 629ed9ccd4a465c410ce357486e0815ff8db6ce8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants