Cassandra
  1. Cassandra
  2. CASSANDRA-3597

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 2
    • Component/s: Tools
    • Labels:
    • Environment:

      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Aleksey Yeschenko
            Reporter:
            paul cannon
            Reviewer:
            Brandon Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development