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

Linenoise doesn't work well with some terminals

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: