readline maintainer

Eric Blake ebb9@byu.net
Wed Jul 20 13:16:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch below is needed if bash is to dynamically link against readline.
  It adds the same hack I used in the static link to work around the
double-character prompt printing bug (the bug has been reported upstream,
but no official answer has been made).  It also adds an additional hook so
that bash can override getenv(), fixing not only tilde-expansion, but
several other environment variables that readline tries to read.

Charles, since readline and bash are so intricately related (and have the
same upstream maintainer), would you be willing to relinquish
maintainership of the various readline packages to me?  I've never
packaged anything with a .dll before, but hopefully I can learn it quickly
from the existing setup.

2005-07-20  Eric Blake  <ebb9@byu.net>

	* display.c (expand_prompt): Hack for double-printing bug.
	* readline.h (rl_getenv_hook): New export.
	* rltypedefs.h (rl_getenv_func_t): New typedef.
	* shell.c (sh_get_env_value): Use new hook, so that bash can
	provide access an alternate environment.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3k6384KuGfSFAYARAqeeAKDBG6v1wOzHjnjKwXw5nThARO8jywCgih9H
5ikfrQQrutAcM1cd5K4lH8s=
=hist
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: readline.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20050720/71b2ba94/attachment.ksh>


More information about the Cygwin-apps mailing list