Bug 2227349 - sqlite3 isn't build with --enable-readline even though it's in BuildRequires
Summary: sqlite3 isn't build with --enable-readline even though it's in BuildRequires
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: sqlite3
Version: 38
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-28 19:47 UTC by Johnny Robeson
Modified: 2023-07-28 19:51 UTC (History)
0 users

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Johnny Robeson 2023-07-28 19:47:03 UTC
Description of problem:

sqlite3 isn't build with --enable-readline
and maybe editline isn't as good or isn't actually used.

readline-devel is part of the BuildRequires, but it is not used in the ./configure call

The backspace key returns control characters instead of actually backspacing

Version-Release number of selected component (if applicable):
sqlite-3.40.1-2.fc38

How reproducible:
every time

Steps to Reproduce:
1. sqlite3 <some database>
2. type anything
3. press backspace
4. see control characters

Actual results:
See control characters

Expected results:
expect the last character to be removed

Additional info:

It works correctly when run with rlwrap and when when the the rpm is rebuild with `--enable-readline` added to the ./configure call

Comment 1 Johnny Robeson 2023-07-28 19:51:26 UTC
It turns out that --enable-readline isn't enough to fix al the problems. The up key (and i assume others) don't work, just backspace so far. However  it does work correctly with rlwrap.


Note You need to log in before you can comment on or make changes to this bug.