[SERVER-3914] Ctrl commands do not work in shell Created: 20/Sep/11  Updated: 29/May/12  Resolved: 17/Nov/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.0.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Antoine Girbal Assignee: Tad Marshall
Resolution: Duplicate Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

Ctrl-w, Ctrl-r, etc just print character



 Comments   
Comment by Tad Marshall [ 17/Nov/11 ]

Closing as a duplicate (after linking to master ticket).

Comment by Tad Marshall [ 17/Nov/11 ]

Folding all readline/bash/linenoise command line editing related tickets into SERVER-4312.

Comment by Adam Fields [ 24/Oct/11 ]

This is a huge inconvenience.

Comment by Lee Johnson [ 11/Oct/11 ]

And now there is another: https://github.com/mongodb/mongo/pull/111/files

Comment by Lee Johnson [ 11/Oct/11 ]

Indeed. There are an awful lot of pull requests on github which may address many of these.

Comment by Krzysztof Wilczynski [ 11/Oct/11 ]

There are numerous issues related and there is a lot of duplicate tickets in Jira already about inability to use Mongo shell as people used to prior to version 2.x

Comment by Lee Johnson [ 11/Oct/11 ]

And CTRL-R support lost - Eeeeeek!

Comment by Lee Johnson [ 11/Oct/11 ]

Would this be the reason that CTRL-Z no longer works in the monogo shell? Quite frustrating if you like to use job control.

Comment by Krzysztof Wilczynski [ 21/Sep/11 ]

I believe that Mongo is no longer using Readline in favour of very simple (actually, extremely simple) library called linenoise (more at: https://github.com/antirez/linenoise) which does not support neither emacs nor vi editing more, therefore not backward / forward history searching etc ...

Personally, I am not sure why? Portability issues? But having Readline was definitely a plus

KW

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