I would love to make more use of groovysh from linux, and would be happy to submit a patch if a someone will point me in the right direction.
No matter what combinations of environment or editor setting I try, groovysh will hang on the Edit command (edit or \e) if I use a terminal based editor like vim.
Steps to reproduce:
1. Use ubuntu or os x, I suspect any posix environment
2. set your EDITOR environment variable to vim, pico, nano, emacs, or any terminal-based editor
3. launch groovysh
4. (optional) populate a buffer with a groovy command
5. launch the edit command with 'edit'
7. notice that groovysh hangs
8. in a separate terminal, you can verify the correct editor is launched in a separate process ($ps aux | grep vi), but there's no way to bring it to the foreground
9. Use Ctrl-C to abort groovysh, which also kills the orphaned editor process
If groovysh would support terminal-based editors it'd be my REPL of choice. . I prefer keyboard over mouse, which is why I would prefer groovysh to groovyConsole.
Thanks for any pointers!