X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Josh Berdine" Subject: Re: Re: locale issue? cygwin 1.7, aspell 0.60, reproducible crash Date: Fri, 11 Sep 2009 00:16:33 +0100 Lines: 35 Message-ID: References: <786EBDA1AC46254B813E200779E7AD3640E917 AT srv1163ex1 DOT flightsafety DOT com> <786EBDA1AC46254B813E200779E7AD3640E91A AT srv1163ex1 DOT flightsafety DOT com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit In-Reply-To: <786EBDA1AC46254B813E200779E7AD3640E91A@srv1163ex1.flightsafety.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "Thrall, Bryan" wrote in message > Josh Berdine wrote on Thursday, September 10, 2009 5:46 PM: >> "Thrall, Bryan" wrote in message >>> Looks like foo.txt has Windows line endings; try running 'd2u > foo.txt' >>> and then aspell again. >> >> Thanks, but after changing to unix line endings I see the same > behavior. >> Same for checking the empty file. >> >> Also, /usr/lib/aspell-0.60/ is actually populated with what seem to be > the >> correct files, and I have reinstalled the aspell package. > > Ah well, the '^M' and the funky "Unhandled error" line wrap pointed at > the common Windows line endings problem, but it did seem strange that it > caused aspell to crash. Perhaps the line ending is somewhere else, like > an aspell configuration file (I don't really know anything about aspell) > or (going out on a WAG here) LANG, LC_TYPE, or LC_ALL are getting > Windows line endings in their value (such as if they are set in > cygwin.bat and it was edited by a Windows text editor)? Hmm, I don't think that the environment variables have line breaks in them, since with: $ echo :$LANG: :en_US.UTF-8: the colons are adjacent to the expected value. FWIW, I set them with the windows settings dialog. I don't know about aspell config files, but I haven't changed any. Cheers, Josh -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple