From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21208 invoked by alias); 25 Sep 2014 20:37:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21183 invoked by uid 89); 25 Sep 2014 20:37:12 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 25 Sep 2014 20:37:11 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXFmg-0005qz-6r for cygwin@cygwin.com; Thu, 25 Sep 2014 22:37:02 +0200 Received: from fw.drenet.dnd.ca ([131.136.242.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 22:37:02 +0200 Received: from Paul.Domaskis by fw.drenet.dnd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 22:37:02 +0200 To: cygwin@cygwin.com From: Paul.Domaskis Subject: Re: No file name completion for file names start with underscore Date: Thu, 25 Sep 2014 22:13:00 -0000 Message-ID: References: <20140918000242.GA17489@phoenix> <20140918221943.GA22077@phoenix> <357201998.20140920082734@mtu-net.ru> <54234DC6.3070302@cs.umass.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00395.txt.bz2 Eliot Moss cs.umass.edu> writes: >On 9/24/2014 6:19 PM, Paul.Domaskis wrote: >>Andrey Repin 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 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