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

Linenoise doesn't work well with some terminals

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.9.0
    • Component/s: Shell
    • None
    • Environment:
      Linux (and other Unix-like OSes)
    • ALL

      Particularly rxvt. This is like death by 1000 paper cuts: nothing major, but super annoying.

      1) refreshing the line (on backspaces, moving the cursor left, etc.) messed up the prompt (resulting in ">> ").
      2) long lines get messed up (this may be related to 1, haven't looked yet)
      3) alt shortcuts not supported

      #1 (and maybe #2) is because rxvt expects \xb1[1G to return to the start of a line and xterm expects \xb1[0G. I have a feeling that there are a million of these and there's a reason readline is huge. Working on the ones listed above, I'll submit fixes upstream.

            Assignee:
            tad Tad Marshall
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: