[experimental] Updated: readline-6.1.2-1, libreadline7-6.1.2-1

Eric Blake (cygwin) eblake@redhat.com
Wed Dec 29 19:22:00 GMT 2010

A new release 6.1.2-1 for readline and libreadline7 is now available for
testing, while leaving 6.0.3-2 as current.

This is a test release of a new upstream release.  I'm working on
preparing bash 4.1 for cygwin, which requires a newer readline package;
once that is working, I will promote this package to current.  Use of
this update requires libgcc1 and libncurses10 (setup.exe doesn't make it
easy to list different dependencies for a test package than for the
current package).  See also the upstream documentation in

Be aware that an issue with offering libreadline as both a static and
dynamic library has been identified - some functions, such as
rl_function_of_keyseq, cannot work correctly with both library styles
without some additional __declspec decoration in the dynamic case.  This
release caters to static compilation (and packages like bash that use
the problematic functions from dynamic readline have to add a minimal
workaround); it is possible that a future package will either be
dynamic-only, or that compiling against the static readline-6.0 will
require the declaration of a preprocessor macro, so that dynamic linking
works without requiring patches to every client.

The readline library will read a line from the terminal and return it,
allowing the user to edit the line with emacs or vi editing keys.  It
also allows a history feature, for editing previous entries, making
command line interfaces easier-to-use and more intuitive.

libreadline7 provides the .dlls needed for readline and history
expansion for dynamic linking in other programs, including bash and gdb;
it is required for a minimal cygwin installation.  The 7 in libreadline7
distinguishes incompatible API changes made to the prior libreadline5
and libreadline6 libraries still available on the mirrors. readline
provides the documentation and the static libraries required for static
linking; you should only need it if you plan on compiling an application
that links with -lreadline or -lhistory.

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system. Save it and run setup, answer the questions and pick up
'libreadline7' from the 'Base' category (it should already be selected),
or 'readline' in the 'Devel' category.  Since this is an experimental
release, you will need to use the 'Exp' radio button to get access to
this version.  Be sure that you do not have any cygwin programs running
during the upgrade.

Note that downloads from cygwin.com aren't allowed due to bandwidth
limitations.  This means that you will need to find a mirror which has
this update, please choose the one nearest to you:

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

Eric Blake
volunteer cygwin readline maintainer

To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:


If you need more information on unsubscribing, start reading here:


Please read *all* of the information on unsubscribing that is available
starting at this URL.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: NEWS.short
URL: <http://cygwin.com/pipermail/cygwin-announce/attachments/20101229/637cf956/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-announce/attachments/20101229/637cf956/attachment.sig>

More information about the Cygwin-announce mailing list