tags:

views:

145

answers:

3

Dear Everyone,

Is there a better shell than the native mongo shell?

  1. When I press UP I am seeing ^[[A . Does the shell not support last query?
  2. Tabbing in the shell does not autocomplete either.
  3. Of course, if there's a shell with syntax highlighting that would be great

Is there an alternative that has the following features? (Or at least has some of them).

EDIT:Yeah I downloaded the main package, and it works out fine. I think ubuntu's repos has a version that did not compile with proper configurations.

A: 

Up works for me, I see the last query. What kind of OS do you use?

Read here for tools: http://blog.timgourley.com/post/453680012/tuesday-night-tech-mongodb-ui-edition and http://www.mongodb.org/display/DOCS/Admin+UIs

tuinstoel
ubuntu lucid. Gnome-terminal. why am I not getting "UP" properly/
afvasd
I use windows 7, 64 bits.
tuinstoel
+1  A: 

did you build from source? if so, do you have readline installed? my guess is that you're missing readline and that's why things are a bit ugly (the build would've warned about that, as well).

mdirolf
I used the native ubuntu built.
afvasd
Do you mean the binary .tgzs or the Ubuntu packages?
mdirolf
+1  A: 

if other suggestions don't work, use rlwrap as a workaround

Dan O'Huiginn
Thank you! This is the only thing that worked for me.
jbwiv