Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6938

Mongo shell should not use CHA escape sequence

    • Type: Icon: Question Question
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Shell
    • Environment:
      OS:CentoS 5.5 MongoDB version 2.2

      The Cursor Horizontal Absolute escape sequence (ESC [ nnn G) is not an original VT100 escape sequence, so terminal programs with a strict VT100 mode may not interpret it. This can cause repaint glitches, including "echoes" of typed text. It would be better to use only VT100 escape sequences to do cursor positioning in Unix mode.

      Original report:
      Upgraded from version 1.8.1 to 2.2.0 , mongodb shell will echo the command when press "ENTER" , how can i change the behavior

      ex:
      > show dbsshow dbs

        1. SecuretCRT 7.2.5 OSX with Mongo Shell.png
          269 kB
          Victor Hooi
        2. SecuretCRT 7.2.5 Windows with Mongo Shell.png
          221 kB
          Victor Hooi
        3. SecuretCRT 7.2.5 Windows with Mongo Shell 2.2.7 and 2.4.9.png
          230 kB
          Victor Hooi

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            dongde dongde
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: