X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0	tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Harry Putnam <reader@newsguy.com>
Subject: Re: Why doesn't ~/inputrc work
Date: Wed, 27 Apr 2011 23:27:39 -0500
Lines: 32
Message-ID: <878vuvc85g.fsf@newsguy.com>
References: <87ei4w6hvx.fsf@newsguy.com> <4DAF035B.6030408@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Eric Blake <eblake@redhat.com> writes:

> On 04/20/2011 09:51 AM, Harry Putnam wrote:
>> setup:  Cygwin (very recent update) on win 7 (64bit)
>> 
>>    ls /etc/setup/*read*
>>   /etc/setup/libreadline7.lst.gz  /etc/setup/readline.lst.gz
>> 
>> -------        ---------       ---=---       ---------      -------- 
>> 
>> I've never had a cygwin install where using an ~/.inputrc worked.
>
> Do you have CRLF line endings on your ~/.inputrc?  That would explain
> failures.  To fix it, run 'd2u ~/.inputrc'.  Other than that, it works
> for me, so I'm not sure why you're having problems.

Thanks for the reply... sorry about the big time lapse.

Doesn't appear that CRLF is a problem:

sed -n l < .inputrc

  ## C-x C-r to reread this init file$
  ## "\\M-S": "TERM=vt200;export TERM; ssh root@fwobsd"$
  "\\M-a": "awk 'BEGIN{ print ( )}'"$
  "\\M-d": "date +\\"%s\\""$
  "\\M-e": "ps wwaux|grep emacsc"$
  [...]

All newlines..., plus the times I had init files with CRLF there was
always some kind of error message.



--
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

