From: Marc Prud'h. <ma...@ap...> - 2003-07-10 19:09:47
|
Bernhard- > this sounds great - I thought it could not be possible. I will have a > look at > it this weekend. Excellent. Let me know what you think. Note that it currently has a lot of problems on Windows ... I hope to be able to get it work on that platform in the near future. > 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). Sure. It's LGPL, so you are certainly free to do anything you like with it. > > 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 > > -- Marc Prud'hommeaux ma...@so... SolarMetric Inc. http://www.solarmetric.com |