<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libedit, branch releng/9.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC	r238173:</title>
<updated>2012-07-09T09:11:07+00:00</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2012-07-09T09:11:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=212f66cde7fdf1a74a9113424fe19bf3a37f166b'/>
<id>212f66cde7fdf1a74a9113424fe19bf3a37f166b</id>
<content type='text'>
Fix issue resizing bin/sh

This partially reverts some changes from r237448 that are causing
breakage when resizing under bin/sh .

Reverted changes from NetBSD are:

Mar 10 20:46:15 2009 - editline.3 read.c
make el_gets set the count to -1 on error to distinguish between EOF and
error.

Feb 19 15:20:22 2009 - read.c sig.c sig.h
reset and redraw on sigcont. From Anon Ymous.

Feb 15 21:24:13 2009
don't restart on EINTR, instead return NULL immediately. From Anon Ymous

PR:		169603
Reported by:	Peter Jeremy, David Shao
MFC after:	3 days
Approved by:	re
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix issue resizing bin/sh

This partially reverts some changes from r237448 that are causing
breakage when resizing under bin/sh .

Reverted changes from NetBSD are:

Mar 10 20:46:15 2009 - editline.3 read.c
make el_gets set the count to -1 on error to distinguish between EOF and
error.

Feb 19 15:20:22 2009 - read.c sig.c sig.h
reset and redraw on sigcont. From Anon Ymous.

Feb 15 21:24:13 2009
don't restart on EINTR, instead return NULL immediately. From Anon Ymous

PR:		169603
Reported by:	Peter Jeremy, David Shao
MFC after:	3 days
Approved by:	re
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: r228114 r228116 r234690: install a readline/tilde.h</title>
<updated>2012-07-02T09:35:28+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2012-07-02T09:35:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0d1f8bd1b055c2d3f79ad44c22c6bcea83f6b907'/>
<id>0d1f8bd1b055c2d3f79ad44c22c6bcea83f6b907</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC	r237448:</title>
<updated>2012-06-29T03:01:38+00:00</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2012-06-29T03:01:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4c873f8246e64ca209d885d587bef55139671fc2'/>
<id>4c873f8246e64ca209d885d587bef55139671fc2</id>
<content type='text'>
Merge changes from upstream libedit.

Here we update most of the files to at least match the
version available in NetBSD's snapshot of 20091228. This
version was chosen because it still doesn't include wide
character support (UTF-8), which involves many changes and
new files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge changes from upstream libedit.

Here we update most of the files to at least match the
version available in NetBSD's snapshot of 20091228. This
version was chosen because it still doesn't include wide
character support (UTF-8), which involves many changes and
new files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add $FreeBSD$'s.</title>
<updated>2011-04-14T15:42:15+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2011-04-14T15:42:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=189e4fad8a88cd08121cd895ec6c1aef184a20cd'/>
<id>189e4fad8a88cd08121cd895ec6c1aef184a20cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* Add the readline(3) API to libedit.  The libedit versions of</title>
<updated>2011-04-05T18:41:01+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2011-04-05T18:41:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1e3f14466be22d4fb236ff5bbd2fc725cba4b4c2'/>
<id>1e3f14466be22d4fb236ff5bbd2fc725cba4b4c2</id>
<content type='text'>
  {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).

* To make it easier to sync libedit development with NetBSD, histedit.h
  is moved into libedit's directory as history shows shown we keep merging
  it into that location.

Obtained from:	NetBSD
Sponsored by:	Juniper Networks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  {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).

* To make it easier to sync libedit development with NetBSD, histedit.h
  is moved into libedit's directory as history shows shown we keep merging
  it into that location.

Obtained from:	NetBSD
Sponsored by:	Juniper Networks
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: Try to map &lt;Delete&gt; to ed-delete-next-char.</title>
<updated>2010-09-05T16:12:10+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-09-05T16:12:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b3c63ff61413232df05fed18024ddea3d49d701f'/>
<id>b3c63ff61413232df05fed18024ddea3d49d701f</id>
<content type='text'>
This adds a new "arrow" key "delete" corresponding to the kD termcap value.
It only works if that is a sequence such as "\033[3~"; if it is "\177", the
em-delete-prev-char or ed-delete-prev-char from the single-character
mappings remains. It turns out that most terminals (xterm and alikes,
syscons in xterm mode) produce "\033[3~" by default so &lt;Delete&gt; has the
expected effect.

This also means that things need to be considerably misconfigured for
&lt;Backspace&gt; to perform a &lt;Delete&gt; action.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new "arrow" key "delete" corresponding to the kD termcap value.
It only works if that is a sequence such as "\033[3~"; if it is "\177", the
em-delete-prev-char or ed-delete-prev-char from the single-character
mappings remains. It turns out that most terminals (xterm and alikes,
syscons in xterm mode) produce "\033[3~" by default so &lt;Delete&gt; has the
expected effect.

This also means that things need to be considerably misconfigured for
&lt;Backspace&gt; to perform a &lt;Delete&gt; action.
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: Do not move the cursor for ed-delete-next-char in emacs mode.</title>
<updated>2010-09-03T22:24:26+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-09-03T22:24:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96e75396e1b322d354f5418f9947d26be47ef0e0'/>
<id>96e75396e1b322d354f5418f9947d26be47ef0e0</id>
<content type='text'>
This makes ed-delete-next-char suitable for mapping to the &lt;Delete&gt; key.

Behaviour in vi mode is unchanged (for 'x').
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes ed-delete-next-char suitable for mapping to the &lt;Delete&gt; key.

Behaviour in vi mode is unchanged (for 'x').
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while</title>
<updated>2010-08-16T15:18:30+00:00</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2010-08-16T15:18:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c2025a76606b44c4d5367b7509fbc0285ae1e7f8'/>
<id>c2025a76606b44c4d5367b7509fbc0285ae1e7f8</id>
<content type='text'>
translating these manual pages.  Minor corrections by me.

Submitted by:	Nobuyuki Koganemaru &lt;n-kogane@syd.odn.ne.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
translating these manual pages.  Minor corrections by me.

Submitted by:	Nobuyuki Koganemaru &lt;n-kogane@syd.odn.ne.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: Reduce surprising behaviour with filename completion some more:</title>
<updated>2010-06-15T22:23:21+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-06-15T22:23:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=196ff96e7888b81b3115832f4db9632213007a42'/>
<id>196ff96e7888b81b3115832f4db9632213007a42</id>
<content type='text'>
* Quote '*', '?' and '['. While it may be more useful to expand them to
  matching pathnames, this at least matches with the completion we do.
* '@' is a regular character for filenames. Some other shells do
  @&lt;hostname&gt; completion but we do not.
* Prefix names starting with '-' and '+' with './' so they are not seen as
  options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Quote '*', '?' and '['. While it may be more useful to expand them to
  matching pathnames, this at least matches with the completion we do.
* '@' is a regular character for filenames. Some other shells do
  @&lt;hostname&gt; completion but we do not.
* Prefix names starting with '-' and '+' with './' so they are not seen as
  options.
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: Allow simple quoting in filename completion.</title>
<updated>2010-06-15T21:34:57+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-06-15T21:34:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d0f8bcd307dfefacba6d1ec6875b235d08ea16b'/>
<id>3d0f8bcd307dfefacba6d1ec6875b235d08ea16b</id>
<content type='text'>
The completer recognizes characters escaped with backslashes as being
literal parts of a word, and adds backslashes to avoid almost all
misinterpretation. In particular, filenames containing spaces can be
completed correctly.

For bug compatibility with the NetBSD version, the improved completion
function has a new name, _el_fn_sh_complete, and _el_fn_complete is
unchanged.

Submitted by:	Guy Yur
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The completer recognizes characters escaped with backslashes as being
literal parts of a word, and adds backslashes to avoid almost all
misinterpretation. In particular, filenames containing spaces can be
completed correctly.

For bug compatibility with the NetBSD version, the improved completion
function has a new name, _el_fn_sh_complete, and _el_fn_complete is
unchanged.

Submitted by:	Guy Yur
</pre>
</div>
</content>
</entry>
</feed>
