jastrachan | 27 Aug 10:04 2004
Picon

Re: [groovy-dev] Readline Support

Great stuff Yuri!

On 26 Aug 2004, at 21:43, Yuri Schimke wrote:
> Hey,
>
> I checked in initial Readline support.
>
> It should work as normal without the native library.  If it doesn't
> then I'll back out the change, unless someone beats me to it.  But it
> works for me.
>
> To use Readline, build java-readline 
> (http://java-readline.sourceforge.net/) from cvs.  Put the native 
> dll/so/jnilib in ~/.groovy/lib
> Attached to GROOVY-169 is a OSX 10.3.5 compiled lib.
>
> Also set READLINE_LIB to whatever you want to use, one of:
>
> export READLINE_LIB=PureJava
> export READLINE_LIB=GnuReadline
> export READLINE_LIB=Editline
> export READLINE_LIB=Getline
>
> n.b. I used CVS HEAD of java-readline because it builds straight away
> for OSX.  The latest release 0.8.0 doesn't.
>
> n.b. If you ctrl-c the process, your terminal will be in a bad state.
> use "stty sane"  to reset it.  We should consider putting this at the
> end of the groovysh script.
>

James
-------
http://radio.weblogs.com/0112098/


Gmane