New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31747 (new defect)

Opened 19 months ago

Last modified 11 months ago

SQLite3 + libedit: ESC + Backspace behaves wrong

Reported by: elzhov@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: mww@…
Port: libedit sqlite3

Description (last modified by ryandesign@…) (diff)

In the past, the sequent typing of ESC and Backspace deleted the last word, as in any readline-bound application, in the bash for instance. Now it deletes the entire line from the end to start.

$ port info sqlite3
sqlite3 @3.7.8, Revision 1 (databases)

Change History

comment:1 Changed 19 months ago by ryandesign@…

  • Keywords sqlite3 readline removed
  • Owner changed from macports-tickets@… to mww@…
  • Description modified (diff)

sqlite3 uses libedit now, not readline, for licensing reasons. Perhaps libedit behaves subtly differently from readline?

comment:2 Changed 19 months ago by elzhov@…

Thank you for reply, you're right :-)

Well, I found that sequence ESC+Backspace editline binding "[H" is correct since it calls "ed-delete-prev-word" command. The problem seems to be just with the internal command, I tried to bind the command with another keys, and those keys delete the entire line, either.

comment:3 Changed 11 months ago by jmr@…

  • Cc mww@… added
  • Owner changed from mww@… to mcalhoun@…
  • Port changed from sqlite3 to libedit sqlite3
  • Summary changed from SQLite3 + readline: ESC + Backspace behaves wrong to SQLite3 + libedit: ESC + Backspace behaves wrong
Note: See TracTickets for help on using tickets.