Skip to content

How do you enable readline/editline support for sqlite3shell? #206

Closed Answered by utelle
vsajip asked this question in Q&A
Discussion options

You must be logged in to vote

I have libreadline-dev and libncurses-dev installed, but can't see any straightforward way of enabling command history in sqlite3shell.

Admittedly, the autoconf files currently coming with SQLite3 Multiple Ciphers do not include support for building a SQLite shell with readline support. (I plan to change that, but there is no time schedule yet.)

Anyone have suggestions on how to achieve this?

The simplest approach would be as follows:

  1. Download the "autoconf amalgamation" from the SQLite download page - like sqlite-autoconf-3500100.tar.gz for SQLite version 3.50.1
  2. Extract the archive downloaded in step 1 to a location of your choice on your system
  3. Download the SQLite3 Multiple Ciphers

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by vsajip
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@utelle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants