This is the mail archive of the
mailing list for the Cygwin project.
RE: Updated [experimental]: bash-3.1-8
- From: "Wells, Roger K." <ROGER dot K dot WELLS at saic dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>, cygwin-announce at cygwin dot com
- Date: Thu, 14 Sep 2006 08:29:22 -0400
- Subject: RE: Updated [experimental]: bash-3.1-8
I applaud any effort to speed up bash but 3.1.18 immediately broke enough
stuff that I do not believe we will proceed to use it in its present form.
On my bash wish list I would include changing clear (ctrl-l) so that it
clears the entire buffer and not just the lines that are currently visible.
I have the windows code to do this if any one wants to proceed. I realize
that the behavior is the same as it is in RedHat Linux where it produces the
same inconveniences. Thus adopting this change would be a departure from
other platforms. Just a thought.
Roger Wells, P.E.
221 Third St
Newport, RI 02840
[mailto:email@example.com] On Behalf
Of Eric Blake
Sent: Thursday, September 14, 2006 7:06 AM
Subject: Updated [experimental]: bash-3.1-8
-----BEGIN PGP SIGNED MESSAGE-----
A new release of bash, 3.1-8, is available for experimental use.
This version is similar to the experimental 3.1-7, except that it fixes
the regression of scripts with \r\n line endings on text mounts. By
removing several outdated #ifdefs that were once necessary in bash for
older versions of cygwin, bash is now faster and more like Linux when
operating on binary mounts. In particular, if your script uses \n line
endings, bash will read a buffer at a time instead of a byte a time, for
much less disk traffic. A script on a binary mount that uses \r\n line
endings will probably encounter syntax errors or odd variable assignments,
because the \r is treated literally. If this happens to you, use d2u to
fix the line endings, or change your script to live in a text mount point.
A script that resides on a text mount can have either line ending (even
inconsistently mixed), but be aware that text mount points are slower, due
to \r\n filtering. Because of this change in behavior from the current
3.1-6 for scripts in binary mounts, I am marking this version experimental
for a while until I can gauge from mailing list traffic that it is safe to
promote to current.
Remember, you must not have any bash or /bin/sh instances running when you
upgrade the bash package. This release will work with cygwin-1.5.21-1 or
Bash is an sh-compatible shell that incorporates useful features from the
Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE
POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional
improvements over sh for both programming and interactive use. In
addition, most sh scripts can be run by Bash without modification.
As of the bash 3.0 series, cygwin /bin/sh defaults to bash, not ash,
similar to Linux distributions.
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 'bash' in the
'Base' category (it should already be selected). Since this is an
experimental release, you will have to use the 'Exp' radio button.
Note that downloads from sources.redhat.com (aka 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.
volunteer cygwin bash maintainer
CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html