This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why doesn't ~/inputrc work


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]