<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libedit/filecomplete.c, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-06-15T22:23:21Z</updated>
<entry>
<title>libedit: Reduce surprising behaviour with filename completion some more:</title>
<updated>2010-06-15T22:23:21Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-06-15T22:23:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=196ff96e7888b81b3115832f4db9632213007a42'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>libedit: Allow simple quoting in filename completion.</title>
<updated>2010-06-15T21:34:57Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-06-15T21:34:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d0f8bcd307dfefacba6d1ec6875b235d08ea16b'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>libedit: Fix a bug that could make completion listings incomplete.</title>
<updated>2010-06-15T21:00:53Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-06-15T21:00:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=da8301c83a347d9171436029d15767fce8354bb8'/>
<id>urn:sha1:da8301c83a347d9171436029d15767fce8354bb8</id>
<content type='text'>
The element matches[0] is the common prefix and is not counted in len, so
subtracting 1 is not needed. A counter for the number of matches per line
was incremented twice.

Submitted by:	Guy Yur
</content>
</entry>
<entry>
<title>libedit: Add basic filename completion code from NetBSD.</title>
<updated>2010-06-13T17:04:42Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-06-13T17:04:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=96535454fc8a8d6aeb63335feeb2629e27190a7b'/>
<id>urn:sha1:96535454fc8a8d6aeb63335feeb2629e27190a7b</id>
<content type='text'>
This will be used to provide filename completion in sh(1).

Changes from the NetBSD code:
* wide character support disabled, as in the rest of libedit
* config.h and related portability stuff reduced/disabled, as in the rest
  of libedit

Submitted by:	Guy Yur
Obtained from:	NetBSD
</content>
</entry>
</feed>
