Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3597

cqlsh: use libedit when readline isn't available, if possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.0 beta 2
    • Legacy/Tools
    • Cqlsh, run under a Mac OS X-bundled Python installation (also possibly some types of BSD installation).

    Description

      Cqlsh provides context-sensitive tab-completion functionality, but it's only available when the readline library is available, and this is not the case where readline's GPL license proves problematic. libedit is a common replacement, which would be available to Mac OS X-bundled Python users, and the Python readline module makes libedit almost a drop-in replacement.

      If possible, fallback to libedit functionality when providing tab completion.

      Attachments

        1. CASSANDRA-3597-1.2.txt
          3 kB
          Aleksey Yeschenko
        2. CASSANDRA-3597-1.1.txt
          3 kB
          Aleksey Yeschenko

        Activity

          People

            aleksey Aleksey Yeschenko
            thepaul paul cannon
            Aleksey Yeschenko
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: