public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Why doesn't ~/inputrc work
@ 2011-04-20 17:13 Harry Putnam
  2011-04-20 21:17 ` Eric Blake
  0 siblings, 1 reply; 9+ messages in thread
From: Harry Putnam @ 2011-04-20 17:13 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-05-07 18:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 17:13 Why doesn't ~/inputrc work Harry Putnam
2011-04-20 21:17 ` Eric Blake
2011-04-21  5:27   ` Eliot Moss
2011-04-28 12:29     ` Harry Putnam
2011-04-28 12:40       ` Harry Putnam
2011-04-28 15:26         ` Eliot Moss
2011-05-07  9:26           ` Meanders
2011-05-07 18:24           ` Andy Koppe
2011-04-28 12:36   ` Harry Putnam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).