JLine 0.9.9 review

Download
by rbytes.net on

JLine is a Java library for handling console input

License: BSD License
File size: 0K
Developer: Marc Prud'hommeaux
0 stars award from rbytes.net

JLine is a Java library for handling console input. JLine is similar in functionality to BSD editline and GNU readline.

People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.

Installation:

JLine has no library dependencies, aside from a JVM of version 1.2 or higher. To install JLine, download the jline.jar file, and either place it in the system-wide java extensions directory, or manually add it to your CLASSPATH. The extensions directory is dependent on your operating system. Some few examples are:

Macintosh OS X: /Library/Java/Extensions or /System/Library/Java/Extensions
Microsoft Windows: JAVAHOMEjrelibext (example: C:j2sdk1.4.1_03jrelibext)
UNIX Systems: JAVAHOME/jre/lib/ext (example: /usr/local/java/jre/lib/ext)

JLine is not 100% pure Java. On Windows, it relies on a .dll file to initialize the terminal to be able to accept unbuffered input. However, no installation is necessary for this: when initialized, JLine will dynamically extract the DLL to a temporary directory and load it. For more details, see the documentation for the jline.WindowsTerminal class.

On UNIX systems (including Macintosh OS X), JLine will execute the stty command to initialize the terminal to allow unbuffered input. For more details, see the documentation for the jline.UnixTerminal class.

For both Windows and UNIX systems, JLine will fail to initialize if it is run inside a strict security manager that does not allow the loading of libraries, writing to the file system, or executing external programs. However, for most console applications, this is usually not the case.


What's New in This Release:
Bugfixes were made.
The packing system was changed to use Maven 2.

JLine 0.9.9 search tags