This is the mail archive of the cygwin-announce mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[1.7] Updated: readline-6.0.3-2, libreadline7-6.0.3-2

Hash: SHA1

A new release 6.0.3-2 for readline and libreadline7 is now available for
use in cygwin 1.7, replacing 6.0.3-1.  Cygwin 1.5 users are unaffected by
this change.

This is a packaging update, using the new binutils to hopefully alleviate
some problems that users are having on Vista 64, Windows 7 RC, and other
newer windows platforms.  As I only have access to XP, and the previous
build worked fine on that platform, I'm hoping that this rebuild solves
the problem.  And if all else fails, you can always downgrade to the
previous version of bash and libreadline6 to get cygwin working on this
machine, per the instructions in this mail:

Please check the mailing lists - if no one else has offered feedback for a
particular version of windows, then feel free to offer your feedback
(success or failure) so I can know whether using the new binutils to build
the package made a difference.  If someone else has offered feedback, then
I don't need the duplicate reports.  Please keep replies attached to this

See also the upstream documentation in /usr/share/doc/readline/.

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 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.  Be sure that you do not have any cygwin programs
running during the upgrade.

Note that downloads from (aka 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.
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]