SHA256
3
0
forked from pool/libedit
Go to file
Dirk Mueller 3e1c6a21c8 Accepting request 627627 from home:1Antoine1:branches:devel:libraries:c_c++
- Bump version tag.
- Make sure all manpages are prefixed with "el_" to avoid file
  conflicts with readline-doc:
  * Add libedit-20180525-manpage-conflicts.patch.

OBS-URL: https://build.opensuse.org/request/show/627627
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=60
2018-08-07 20:49:22 +00:00
.gitattributes OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 2008-09-07 23:43:02 +00:00
.gitignore OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libedit?expand=0&rev=1 2008-09-07 23:43:02 +00:00
baselibs.conf Accepting request 77692 from home:tiwai:branches:devel:libraries:c_c++ 2011-08-02 14:56:07 +00:00
libedit-20180525-3.1.tar.gz Accepting request 624653 from home:pluskalm:branches:devel:libraries:c_c++ 2018-08-02 07:10:49 +00:00
libedit-20180525-manpage-conflicts.patch Accepting request 627627 from home:1Antoine1:branches:devel:libraries:c_c++ 2018-08-07 20:49:22 +00:00
libedit.changes Accepting request 627627 from home:1Antoine1:branches:devel:libraries:c_c++ 2018-08-07 20:49:22 +00:00
libedit.spec Accepting request 627627 from home:1Antoine1:branches:devel:libraries:c_c++ 2018-08-07 20:49:22 +00:00
README.SUSE Accepting request 242755 from home:darix:branches:devel:libraries:c_c++ 2014-07-29 07:35:44 +00:00

 Examples
----------

An Editline port of the fileman.c example from the GNU Readline documentation is
distributed with this package.

Note libcurses, as well as libedit, should be linked to Editline enabled
programs, e.g.
gcc -o fileman fileman.c -ledit -lcurses

A pkg-config libedit.pc file is provided, so you can write 
PKG_CHECK_MODULES(LIBEDIT, libedit)

in configure.ac of your client program to detect the existence of libedit.so and
to set CFLAGS and LIBS for using libedit. 

Using the pkg-config helper tool, the above fileman example looks like,
gcc -o fileman fileman.c `pkg-config --libs --cflags libedit`