Re: [sqlite] sqlite shell: arrow keys

2013-05-17 Thread Paolo Bolzoni
maybe rlwrap can help?

On Fri, May 17, 2013 at 4:27 AM, Fehmi Noyan ISI <fnoyan...@yahoo.com> wrote:
> Depends on your system I think. Here is what is contained in shell.c
> readline.h is the thing making all those history and similar things you use 
> in your linux command line shell available.
>
> #ifdef HAVE_EDITLINE
> # include 
> #endif
> #if defined(HAVE_READLINE) && HAVE_READLINE==1
> # include 
> # include 
> #endif
>
>
>
>
> 
>  From: Roman Fleysher <roman.fleys...@einstein.yu.edu>
> To: General Discussion of SQLite Database <sqlite-users@sqlite.org>
> Sent: Friday, May 17, 2013 11:49 AM
> Subject: [sqlite] sqlite shell: arrow keys
>
>
> Dear SQLiters,
>
> I am new to SQLite and learning it (and SQL) using shell. It would make life 
> easier if arrow keys on keyboard could be used to scroll through command 
> history and along command for editing. Is there a way to enable this?
>
> Thank you,
>
> Roman
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] sqlite shell: arrow keys

2013-05-16 Thread Fehmi Noyan ISI
Depends on your system I think. Here is what is contained in shell.c
readline.h is the thing making all those history and similar things you use in 
your linux command line shell available.

#ifdef HAVE_EDITLINE
# include 
#endif
#if defined(HAVE_READLINE) && HAVE_READLINE==1
# include 
# include 
#endif





 From: Roman Fleysher <roman.fleys...@einstein.yu.edu>
To: General Discussion of SQLite Database <sqlite-users@sqlite.org> 
Sent: Friday, May 17, 2013 11:49 AM
Subject: [sqlite] sqlite shell: arrow keys
 

Dear SQLiters,

I am new to SQLite and learning it (and SQL) using shell. It would make life 
easier if arrow keys on keyboard could be used to scroll through command 
history and along command for editing. Is there a way to enable this?

Thank you,

Roman
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] sqlite shell: arrow keys

2013-05-16 Thread Roman Fleysher
Dear SQLiters,

I am new to SQLite and learning it (and SQL) using shell. It would make life 
easier if arrow keys on keyboard could be used to scroll through command 
history and along command for editing. Is there a way to enable this?

Thank you,

Roman
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users