From: Bernhard B. <ma...@ba...> - 2003-07-10 18:53:10
|
Hi Marc, this sounds great - I thought it could not be possible. I will have a look at it this weekend. If in any way possible, it would be great if we could integrate it into java-readline (users already have asked for a native implementation). Thanks, Bernhard > Bernhard- > > I just release a new version of my JLine library at > http://jline.sf.net. It is a pure-java implementation of GNU readline. > It works pretty well (it has command history, tab completion, and line > editing), but it is not as stable/robust as the native libraries, and > currently works only on UNIX platforms. > > Looking at the source code for java-readline, it looks like it might be > possible to write an adaptor to have it act as one of the > implementations that java-readline can use. This would be a good > intermediate between not having readline/editline support on the > platform (either because it is too difficult to build, or if you do not > want your users to have to install extra software) and the pain that is > a pure-java System.in console utility. > > FYI, I initially wrote this because I couldn't get the java-readline > native binaries to build on Mac OS 10.2, and I wanted something that > would work with another one of my projects (http://sqlline.sf.net). > > Let me know if you would be interested in working together on this. > > Sincerely, > > -Marc |