I need to create a Java command line that will be called remotely on the server. He will have to:
- Read the βlinesβ of text from the user.
- Recognize that the user presses the tab key to simplify completion.
- Recognize that the user presses the up / down keys for the story.
Before I leave and download my own, Does anyone know of a Java library that can facilitate all or part of this?
i.e. From the command line in ssh, it might look like this:
bob> java -jar MyTool.jar
MyTool is running.
Enter the command:
> server1 startup
server starts ...
server is running
server2 account downloads
Done
> server3 shutdown
Full
<P β quit smoking
source
share