Bug 2227349

Summary: sqlite3 isn't build with --enable-readline even though it's in BuildRequires
Product: [Fedora] Fedora Reporter: Johnny Robeson <johnny>
Component: sqlite3Assignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED EOL QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 38   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:37:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.

Comment 2 Aoife Moloney 2024-05-28 13:37:07 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.