delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/28/00:30:35

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Harry Putnam <reader AT newsguy DOT 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 DOT fsf AT newsguy DOT com> <4DAF035B DOT 6030408 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Eric Blake <eblake AT redhat DOT 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 AT 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

- Raw text -


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