delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/10/19:17:09

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" <jjb AT microsoft DOT com>
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: <h8c1ck$iu7$1@ger.gmane.org>
References: <h8bs5m$52t$1 AT ger DOT gmane DOT org> <786EBDA1AC46254B813E200779E7AD3640E917 AT srv1163ex1 DOT flightsafety DOT com> <h8bvj0$eev$1 AT ger DOT gmane DOT org> <786EBDA1AC46254B813E200779E7AD3640E91A AT srv1163ex1 DOT flightsafety DOT com>
Mime-Version: 1.0
In-Reply-To: <786EBDA1AC46254B813E200779E7AD3640E91A@srv1163ex1.flightsafety.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019