]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r220370, r209136, r209219
authorobrien <obrien@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 Apr 2011 23:09:36 +0000 (23:09 +0000)
committerobrien <obrien@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 13 Apr 2011 23:09:36 +0000 (23:09 +0000)
commit22f3d9e5663431d7d9a9c79f8429533cb315186a
treedf3a33357d09367658165731dc1b0d04b4f40cc3
parent612e4cc78db2d7b3de9e6fa8113b9d2b395b1bd7
MFC: r220370, r209136, r209219

* Add the readline(3) API to libedit.  The libedit versions of
  {readline,history}.h are in /usr/include/edit so as to not conflict with
  the GNU libreadline versions.  To use the libedit readline(3) one should
  add "-I/usr/include/edit" to their Makefile
  (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree).
* Enable its use in the BSD licensed utilities that support readline(3).
* histedit.h is moved into libedit's directory

* Add basic filename completion code.
* Allow simple quoting in filename completion.

git-svn-id: svn://svn.freebsd.org/base/stable/8@220612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
17 files changed:
etc/mtree/BSD.include.dist
include/Makefile
lib/libedit/Makefile
lib/libedit/chartype.h [new file with mode: 0644]
lib/libedit/edit/readline/Makefile [new file with mode: 0644]
lib/libedit/edit/readline/history.h [new file with mode: 0644]
lib/libedit/edit/readline/readline.h [new file with mode: 0644]
lib/libedit/filecomplete.c [new file with mode: 0644]
lib/libedit/filecomplete.h [new file with mode: 0644]
lib/libedit/histedit.h [moved from include/histedit.h with 91% similarity]
lib/libedit/read.c
lib/libedit/readline.c [new file with mode: 0644]
sbin/gvinum/Makefile
sbin/gvinum/gvinum.c
usr.sbin/ntp/ntpdc/Makefile
usr.sbin/ntp/ntpq/Makefile
usr.sbin/wpa/wpa_cli/Makefile