[sqlite] Is readline ubiquitous on 32-bit x86 Linux?

2015-02-25 Thread Christopher Vance
Or there's editline, used for some things as a partial readline substitute.

On Wed, Feb 25, 2015 at 5:12 AM, Andreas Kupries 
wrote:

> A possible (and small alternative) to readline would be Antirez
> "linenoise".
> Steve Bennet's fork adds windows portability and some other things.
>
> https://github.com/antirez/linenoise
> https://github.com/msteveb/linenoise
>
> That is small enough to be directly built as part of the shell, I believe.
>
>
>
> On Tue, Feb 24, 2015 at 10:01 AM, Dan Kennedy 
> wrote:
> >
> >
> > The pre-built sqlite3 shell tool for x86 Linux available for download
> here:
> >
> >   http://www.sqlite.org/download.html
> >
> > does not include readline support. Which makes it painful to use.
> >
> > Does anyone think that many systems would be affected if it dynamically
> > linked against the system readline? This means that the binary would not
> > work on systems without libreadline.so installed. Or is readline
> considered
> > ubiquitous by now?
> >
> > Dan.
> >
> >
> > ___
> > sqlite-users mailing list
> > sqlite-users at mailinglists.sqlite.org
> > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
>
>
> --
> Andreas Kupries
> Senior Tcl Developer
> Code to Cloud: Smarter, Safer, Faster?
> F: 778.786.1133
> andreask at activestate.com, http://www.activestate.com
> Learn about Stackato for Private PaaS: http://www.activestate.com/stackato
> ___
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Christopher Vance


[sqlite] Is readline ubiquitous on 32-bit x86 Linux?

2015-02-25 Thread Stephan Beal
On Tue, Feb 24, 2015 at 7:12 PM, Andreas Kupries 
wrote:

> A possible (and small alternative) to readline would be Antirez
> "linenoise".
> Steve Bennet's fork adds windows portability and some other things.
>
> https://github.com/antirez/linenoise
> https://github.com/msteveb/linenoise
>
> That is small enough to be directly built as part of the shell, I believe.
>

i can +1 that - been using it in several trees since ... seems like a year
or more. The only minor oddity of its build is that it requires C99.

editline is not as well-known on Linux systems, and rarely (if ever)
preinstalled, whereas linenoise is easy to embed in one's project.

Linenoise example:

http://fossil.wanderinghorse.net/r/libfossil/dir/s2

the Makefile uses the linenoise directory (copied 1-to-1 from the github
repo) to link linenoise in to that app (shell.c). Grep the makefile and
shell.c for "linenoise" to see the compile flags and API uses (essentially
identical to the basic readline API).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf


[sqlite] Is readline ubiquitous on 32-bit x86 Linux?

2015-02-25 Thread Dan Kennedy


The pre-built sqlite3 shell tool for x86 Linux available for download here:

   http://www.sqlite.org/download.html

does not include readline support. Which makes it painful to use.

Does anyone think that many systems would be affected if it dynamically 
linked against the system readline? This means that the binary would not 
work on systems without libreadline.so installed. Or is readline 
considered ubiquitous by now?

Dan.




[sqlite] Is readline ubiquitous on 32-bit x86 Linux?

2015-02-24 Thread Andreas Kupries
A possible (and small alternative) to readline would be Antirez "linenoise".
Steve Bennet's fork adds windows portability and some other things.

https://github.com/antirez/linenoise
https://github.com/msteveb/linenoise

That is small enough to be directly built as part of the shell, I believe.



On Tue, Feb 24, 2015 at 10:01 AM, Dan Kennedy  wrote:
>
>
> The pre-built sqlite3 shell tool for x86 Linux available for download here:
>
>   http://www.sqlite.org/download.html
>
> does not include readline support. Which makes it painful to use.
>
> Does anyone think that many systems would be affected if it dynamically
> linked against the system readline? This means that the binary would not
> work on systems without libreadline.so installed. Or is readline considered
> ubiquitous by now?
>
> Dan.
>
>
> ___
> sqlite-users mailing list
> sqlite-users at mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users



-- 
Andreas Kupries
Senior Tcl Developer
Code to Cloud: Smarter, Safer, Faster?
F: 778.786.1133
andreask at activestate.com, http://www.activestate.com
Learn about Stackato for Private PaaS: http://www.activestate.com/stackato