From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19329 invoked from network); 21 Oct 2005 15:45:40 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Oct 2005 15:45:40 -0000 Received: (qmail 98234 invoked from network); 21 Oct 2005 15:45:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Oct 2005 15:45:33 -0000 Received: (qmail 15847 invoked by alias); 21 Oct 2005 15:45:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21903 Received: (qmail 15838 invoked from network); 21 Oct 2005 15:45:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Oct 2005 15:45:30 -0000 Received: (qmail 97981 invoked from network); 21 Oct 2005 15:45:30 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 21 Oct 2005 15:45:29 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IOP00EFKVRRIFE0@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 21 Oct 2005 10:45:28 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j9LFjQXD007513; Fri, 21 Oct 2005 08:45:27 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j9LFjQRa007512; Fri, 21 Oct 2005 08:45:26 -0700 Date: Fri, 21 Oct 2005 15:45:25 +0000 From: Bart Schaefer Subject: Re: PATCH: Re: Superfluous CRs trouble completion routines in Cygwin In-reply-to: <87d5lzw13l.fsf@trews52.bothi.fi> To: Hannu Koivisto Cc: zsh-workers@sunsite.dk Message-id: <1051021154525.ZM7511@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <87irvzys44.fsf@trews52.bothi.fi> <1051015180240.ZM22900@candle.brasslantern.com> <1051016002252.ZM23495@candle.brasslantern.com> <87y84owe0f.fsf@trews52.bothi.fi> <1051020145129.ZM2623@candle.brasslantern.com> <87d5lzw13l.fsf@trews52.bothi.fi> Comments: In reply to Hannu Koivisto "Re: PATCH: Re: Superfluous CRs trouble completion routines in Cygwin" (Oct 21, 2:39pm) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Oct 21, 2:39pm, Hannu Koivisto wrote: } } Bart Schaefer writes: } } > output at all from complete-debug (ctrl-x question-mark)? Does } } No, it segfaults when I hit C-x ? Sorry, the interesting output in this case would have gone into a file whose name begins with the value of $TMPPREFIX. You won't see anything on your terminal. What I want to know is whether the file contains anything. } > change anything if you remove the \\0 (NUL) from the IFS assignment? } } No. However, when I removed \\r the problem went away. That most likely means it's a problem with "read" (or something that uses the variables assigned by "read"). Do you experience any problems with, for example, print "trailing spaces " | read -A array ?? I just don't see any reason why $'\r' would be magical.