Go to file
2024-05-02 09:35:00 +02:00
.gitattributes Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
baselibs.conf Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
libedit-20180525-manpage-conflicts.patch Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
libedit-20210910-3.1.tar.gz Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
libedit-hidden-symbols.patch Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
libedit.changes Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
libedit.spec Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02:00
README.SUSE Sync from SUSE:ALP:Source:Standard:1.0 libedit revision cca28a8274f6a5baad28102d78e54d59 2024-05-02 09:35:00 +02: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`