[SERVER-6698] Alphanumeric unicode characters are not properly skipped by Meta-left arrow, Meta-right arrow, Meta-B, Meta-F in the mongo shell on Linux/Mac OS X Created: 02/Aug/12  Updated: 10/May/22

Status: Backlog
Project: Core Server
Component/s: Shell
Affects Version/s: 2.2.0-rc0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Emily Stolfo Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Unresolved Votes: 0
Labels: move-sa, platforms-re-triaged, shell
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux
Mac OS X


Operating System: Linux
Participants:

 Description   

When skipping to the next whitespace to the left or right using Meta-B, Meta-F, Meta-left arrow, Meta-right arrow, alphanumeric unicode characters are not skipped.

To recreate:
1) Open Mongo shell in either Linux or Mac OS
2) Type: // This is my résumé
3) Type Meta-B, Meta-F, Meta-left arrow, Meta-right arrow to skip over words to the left or right.
The cursor will jump to the é characters as if they were whitespace.



 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Comment by Tad Marshall [ 02/Aug/12 ]

Also tested on Windows where it seems to work correctly. The code is calling iswalnum() and this apparently is not a good test on Linux and the Mac.

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