Subject: Grouper Developers Forum
- From: David Langenberg <>
- To: Carl Waldbieser <>
- Cc: Grouper Dev <>
- Subject: Re: [grouper-dev] GSH readline support on *NIX
- Date: Thu, 28 Aug 2014 22:21:00 -0600
Have you had a chance to look at the work Bill Thompson has done? He has a neat little thing going (based on groovy) that has history + tab-completion.
On Thu, Aug 28, 2014 at 8:32 PM, Carl Waldbieser <> wrote:
I've just started experimenting with Grouper. I used the Grouper installer and have started watching the various admin tutorials.One thing I noticed right away is that the `gsh` shell seems to be a bit lacking in interactive mode. There is no command history, nor can I use the arrow keys to move on the command line and make edits.I am guessing something like rlwrap would work to add readline support to this command on man Linux environments. The server I am testing on is RHEL6, and didn't have that package, so I put together a quick Python script that does the same thing.I have attached the script as 'gsh_plus.py'. You basically put it in the same folder as gsh and you run "$GROUPER_HOME/bin/gsh_plus.py" instead of gsh. Almost magically, you will have command line history and the use of arrow keys (if your system Python has readline support).It is a bit dodgy about overwriting the prompts if you scroll through the history to a blank line, but I find the benefits outweigh this issue, at least until gsh grows its own readline support (hopefully with tab-completion?).Thanks,Carl WaldbieserSystem ProgrammerLafayette College
Identity & Access Management
The University of Chicago
- [grouper-dev] GSH readline support on *NIX, Carl Waldbieser, 08/29/2014
- Re: [grouper-dev] GSH readline support on *NIX, David Langenberg, 08/29/2014
Archive powered by MHonArc 2.6.16.