delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/25/16:37:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=SahTHBWRrVprzSWotUd+oaVNGtAE2InVTk2tWAY2pCroXy9L+Pb71
pHSSvfXbXG1DObH0qFRzsvFIitrbJHQzE2GuNSO1CqNm4HQ1kDKhkI6hOVFxRsvX
vvFf/UqaB8D7ceseilU08oFJSIFOLlhdZrbO86ijo8uldng/LSMH6I=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=rg55BdVfKCslkxh8O+Kdswo1K4o=; b=L8cbUIRaotW1Sm+F+M0d5QRY/BTK
Q950jwth+d4jn//nQcljyEgSes81c8MO3N9VWuopU9dDE5wd+S3fotKV2iiSpbZJ
Fq6TZxdpndHpLOlNv8b7D4gh6y1bLCSeDryxe4o57asIUffWhsmo5klzmqQJohET
CNerapAT9+Sf3jo=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: "Paul.Domaskis" <Paul DOT Domaskis AT gmail DOT com>
Subject: Re: No file name completion for file names start with underscore
Date: Thu, 25 Sep 2014 20:36:50 +0000 (UTC)
Lines: 50
Message-ID: <loom.20140925T221648-685@post.gmane.org>
References: <loom DOT 20140918T010225-301 AT post DOT gmane DOT org> <loom DOT 20140918T011028-898 AT post DOT gmane DOT org> <loom DOT 20140918T012259-677 AT post DOT gmane DOT org> <20140918000242 DOT GA17489 AT phoenix> <CACUHbYP+hmbvkVK_dO_C6H3QMLO3zGH+sK2fSovHox3XLUsWUQ AT mail DOT gmail DOT com> <lvf9re$l0j$1 AT ger DOT gmane DOT org> <loom DOT 20140918T223627-193 AT post DOT gmane DOT org> <20140918221943 DOT GA22077 AT phoenix> <loom DOT 20140919T233113-212 AT post DOT gmane DOT org> <357201998 DOT 20140920082734 AT mtu-net DOT ru> <loom DOT 20140925T001202-872 AT post DOT gmane DOT org> <54234DC6 DOT 3070302 AT cs DOT umass DOT edu>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Eliot Moss <moss <at> cs.umass.edu> writes:
>On 9/24/2014 6:19 PM, Paul.Domaskis wrote:
>>Andrey Repin <anrdaemon <at> yandex.ru> writes:
>>>Paul.Domaskis wrote:
>> Can anyone suggest how the bash-completion man page is acccessed, and
>> what M-/ means?
>
> M is for "meta", as in the meta escape key functionality in Emacs.
> This will work according to the bash command line editing facility,
> etc.  There are different ways to "make" meta-ness.  One, if you
> set it up, is to use the Alt shift key.  Another is to type the
> Escape key then the one that meta is being applied to, in this
> case, Escape then / (as two separate key strokes).  I think given
> this information you can dig up more.  I don't know where the
> documentation is on the bash completion package, off the top of
> my head.

From googling, the meta key is Alt (simultaneously) or Esc (pressed
and released before the accompanying key).  Using these to try and get
M-/, neither combination forces completion.  In both cases, the entire
command line content is replaced by a forward slash.

I thought that the following .inputrc might be causing the problem:

   .inputrc
   --------
   set visible-stats on
   set editing-mode vi

So I renamed it to something else and launched some new cygwin
windows.  Puzzlingly, the command line editing behaviour remains
unchanged.  Not only does completion not work.  So

   find _vim<Tab>

doesn't complete even though _viminfo and _vimrc are present.
Similarly using of Alt or Esc for the meta key doesn't result in
completion when M-/ is typed.  Much more puzzlingly, I can still get
vi editing behaviour at the bash command line.  Very strange.

And the mystery doesn't stop there.  If I open up an xterm, the above
completion *does* work using just the tab key.  Woohoo!  Very strange
that it would work, though -- it shouldn't!

However, the other anomalies are still present in the xterm.  That is,
using Alt or Esc for the meta key in M-/ results in the entire command
line content being replaced by forward slash, and I also can get vi
editing behaviour at the bash command line.

Curioser and curioser....


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