[SERVER-5692] The shell command line editor is quite dated Created: 24/Apr/12  Updated: 15/Aug/12  Resolved: 06/May/12

Status: Closed
Project: Core Server
Component/s: Shell, Usability
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: A Mare Assignee: Tad Marshall
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux
I'm pretty sure it applies to the Windows client as well


Issue Links:
Duplicate
duplicates SERVER-4312 Add "key" missing readline/bash (EMAC... Closed
Participants:

 Description   

An up-to-date editor for the shell command line would be a very welcome improvement to the MongoDB client. Here is a list of things that I find most annoying:

  • navigation keys (Home, End, Ctrl+arrow) do not work at all; you have to keep depressed arrow keys in order to navigate through your command
  • searching in the history of commands is not possible
  • the editor is pretty easy to confuse if one tries to write a multiline script in the command line, but fails to pair braces correctly

Is it possible to use the readline library for this, or a similar cross-platform library with an acceptable license?

Thanks.



 Comments   
Comment by Tad Marshall [ 24/Apr/12 ]

Can you try the 2.1.0 version of the shell and see if your issues remain? It is compatible with your 2.0.4 mongod etc. so you can test the shell separately from changing any other components. See https://jira.mongodb.org/browse/SERVER-4312 for more information on what we changed.

Generated at Thu Feb 08 03:09:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.