[SERVER-3484] Linenoise support for bash-like functionality Created: 26/Jul/11 Updated: 29/May/12 Resolved: 17/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Tad Marshall |
| Resolution: | Duplicate | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
ctrl-y for paste |
| Comments |
| Comment by Tad Marshall [ 05/Jan/12 ] |
|
Yank (ctrl-Y) and incremental history search (ctrl-R) are in and ctrl-C will cancel multiline without exiting the shell. I'm not sure what "no more awkward line prints due to passing by a (" means. |
| 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 |
| Comment by Guanqun Lu [ 18/Sep/11 ] |
|
Sorry for the noises... I've found another fix already hanging around on github(https://github.com/mongodb/mongo/pull/64), so please ignore my comments above. |
| Comment by Guanqun Lu [ 16/Sep/11 ] |
|
I agree that Ctrl+C should just cancel the multiline mode instead of mongo itself. I've done a simple fix, here's the commit: Bother to accept this fix? Thanks! |