Although compiled with use flag "readline" readline isn't available when using sqlite3. Possible workaround is using rlwrap still this is strange. Reproducible: Always Steps to Reproduce: 1. fire up sqlite3 2. type some commands 3. hit Arrow-Up key Actual Results: "^[[A" Expected Results: scroll through command buffer
Works for me. What's the version of readline and sqlite3 ? Do you have build log of sqlite3 ?
Created attachment 238941 [details] SQLite build log
Readline is version 6, more specific sys-libs/readline-6.1, sqlite3 is dev-db/sqlite-3.6.23.1. > ldd sqlite linux-vdso.so.1 => (0x00007fffb511d000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f7dbc55a000) libreadline.so.6 => /lib/libreadline.so.6 (0x00007f7dbc318000) libncurses.so.5 => /lib/libncurses.so.5 (0x00007f7dbc0ca000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7dbbead000) libc.so.6 => /lib/libc.so.6 (0x00007f7dbbb51000) libdl.so.2 => /lib/libdl.so.2 (0x00007f7dbb94d000) /lib64/ld-linux-x86-64.so.2 (0x00007f7dbc7e3000) Build log attached
Seems that this bug can me marked INVALID since readline actually works for me with as root and also after I do "su user" as user. However, readline gets disabled in a login-shell for normal users but not for root and I cannot really figure out why. So this is probably somehow related to settings in bashrc/bash_profile.