[SERVER-4287] Shell command line wrapping Created: 15/Nov/11  Updated: 11/Jul/16  Resolved: 16/Nov/11

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

Type: Bug Priority: Major - P3
Reporter: Andrew Harbick Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Terminal.app on OS X with $TERM=xterm


Operating System: ALL
Participants:

 Description   

Since switching to linenoise away from readline long queries/commands in the shell seem to no longer wrap. The entire line is scrolled horizontally which makes it super hard to read the query as you compose it.



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

Fixed by commit 1194acb7fb8d4336f8bb9097f0c847b4b2b3338e (SERVER-3771 – part 2 – make mongo shell behave like bash). Command lines now wrap as they did with readline.

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