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

Linenoise doesn't work well with some terminals

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 1.9.0
    • Shell
    • None
    • Linux (and other Unix-like OSes)
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: