delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/20/11:51:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_50,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: Why doesn't ~/inputrc work
Date: Wed, 20 Apr 2011 10:51:14 -0500
Lines: 56
Message-ID: <87ei4w6hvx.fsf@newsguy.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

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.
I've tried quite a few times over the yrs of using cygwin but never
really followed up failed attempts with a dedicated effort to find out
why.

Finally decided to try to find out where the problem is.

Googling this morning has been pretty discouraging, so many things
have the term `inputrc'.  And when coupled with `cygwin', or several
other filtering strings like `broken' or `does not work', etc, I've not
hit on a page that is recognizable as being useful to solve the
problem.

Searching gmane.os.cygwin with similar strings, has not been
productive either.

Lots of commentary about various inputrc entries and such but not
finding much to help find out why it does not work for me.

Searching the last 3000 message subject lines turns up quite a few
announcements about various upgrades to libreadline but scanning the
content hasn't turned up much about troubleshooting.

I know the basics of inputrc and readline from long use of linux OS,
but with readline and libreadline installed, I never see an
/etc/inputrc appear.  Is there no sample /etc/inputrc included? or am
I not installing something necessary for that file to turn up?

Further, when I create an ~/.inputrc and pressing C-x C-r, none of
the entries have any effect whatever.  Restarting bash has no helping
influence either.

Perhaps the keyboard is seen differently on windows and the alt key
does not work, but it appears to work as expected for example in
emacs.

A sample from my ~/.inputrc:

  ## C-x C-r to reread this init file
  "\M-a": "awk 'BEGIN{ print ( )}'"
  "\M-d": "date +\"%s\""
  [...]

Those and a number of other similar cmds work fine on linux but not on
my cygwin installs.   Both on Win7 and WinXp pro. Not to mention
having failed for yrs now.

How might I proceed to determine where the problem is?



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