在使用的sqlite3通过亚行外壳
箭头键,而不是将光标移动到所需的位置或召唤史设施,以下是显示在屏幕上: ^ [[A
, ^ [[B
, ^ [[C
, ^ [研究[D
。
When using sqlite3 through adb shell
arrow keys, instead of moving the cursor to the desired position or summoning the history facility, the following is showed in the screen: ^[[A
, ^[[B
, ^[[C
, ^[[D
.
我使用的是Mac OS X和我都试过终端和的iTerm 终端仿真器。
I'm using Mac OS X and I have tried Terminal and iTerm terminal emulators.
是否有人知道如何解决这一问题?
Does anybody know how to fix this?
推荐答案
要允许编辑和历史在控制台程序的输入,该程序必须与的readline 库。
To allow editing and history in the input of a console program, that program must be linked with the readline
library.
在 sqlite3的
工具不支持readline的,但在Android上,readline的支持已被禁用。
(大概是因为的ReadLine只采用GPL许可协议。)
The sqlite3
tool does support readline, but on Android, readline support has been disabled.
(Probably because readline is licensed only under the GPL.)
相关推荐
最新文章