From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) by sourceware.org (Postfix) with ESMTPS id 7D4373870850 for ; Mon, 19 Oct 2020 09:49:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7D4373870850 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adam@dinwoodie.org Received: by mail-ua1-x931.google.com with SMTP id r9so2985727uat.12 for ; Mon, 19 Oct 2020 02:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dinwoodie.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nGhLafDaUMLX1ZSu1noxAN6p4RpbwHWhYMFEbxT/Ilk=; b=lkZ1znc///JjIsiNLpU7FY1qDNI4BLkAs9dV+hK/Rms1JI3cn+96JGkXeJk00886XW zw6iGTi1oy8Pg9LjmPSNB07UbKu9DbIVZk1v20iInR+lf9XSrF6yiI/aE7ALEhSRX5K9 tQdohLvUv8jSuWxP+FOC0VJxSvUwXiQKy/BRE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nGhLafDaUMLX1ZSu1noxAN6p4RpbwHWhYMFEbxT/Ilk=; b=GBwiukQ33+s+PwzD1asuPt0JVVZrHlxEemAH/aKnt62Do3Kz2Uw01EvIDRlK3kThuL wXUH8pDNT/odcb+QGn/xaX95UXBFouscfOnymPoKgWYJILBUZgp/wzPqj5OB/9fpD5ro Jt5KJnLQO+On6Kovyo/dOU4R1XzmtZgzg8IbPXUPY+QziNBOE+s8mf/SID+ocTt11JW3 tKt6Xc8JprZKwp0m65gdz5IG7UuuRlFZRJZ7E6kAXhsERut9li3xNCDz0FR+0Vrb5fF0 QoE5CaDdcYIPziXm5hMHXAOgrmzbKwBlY/xq3hTIJNyN7cFiRe/+gcSJ0bBDjM05e6b+ vtjQ== X-Gm-Message-State: AOAM530pEgtkbHZRbY0ADOT3CrKjQM1G3gIWxrLItbRej5+iBP0Ugc3H qYt19Tpdil+YEwCAbkxDo9i6lakHKAmIJsx3ELUB004D2d2j2Q== X-Google-Smtp-Source: ABdhPJxls4O4pG6VmfUGz7NMNHCUFYIzRKhcu5LWbAQl9qGmP+zmuN3IQ1AMiISXTG+pxnCYmvqRjxBKHiudUtWqFB0= X-Received: by 2002:ab0:660f:: with SMTP id r15mr6977649uam.136.1603100991669; Mon, 19 Oct 2020 02:49:51 -0700 (PDT) MIME-Version: 1.0 References: <75d0fc04-8f88-9533-4997-ced1146f6e6d@SystematicSw.ab.ca> In-Reply-To: <75d0fc04-8f88-9533-4997-ced1146f6e6d@SystematicSw.ab.ca> From: Adam Dinwoodie Date: Mon, 19 Oct 2020 10:49:15 +0100 Message-ID: Subject: Re: xterm tab key (temporarily) locks keyboard To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2020 09:49:53 -0000 On Sun, 18 Oct 2020 at 19:23, Brian Inglis wrote: > > On 2020-10-18 12:07, Frank Eske via Cygwin wrote: > > If the tab key is entered as the first character running the bash shell on > > an xterm terminal, the keyboard temporarily locks. Control-C writes ^C but > > doesn't unlock it. This doesn't happen on Fedora. It also doesn't lock if a > > space is typed first. > > > > This occurs whether or not the xterm console is in an X environment. > > > > For some reason I seem to accidentally do this a lot more often than I'd > > like, so it's a real nuisance. I checked this mailing list for the last > > four months and couldn't find " tab" or a useful "tab ", I find it > > difficult to believe that I'm the first to see this, so maybe there's > > something I changed that's making this happen. Any advice on what that > > might be? > > Bash command completion is searching for commands to display - you will > eventually get asked if you want to "Display all 4587 possibilities? (y or n)" > (or similar number) after it has loaded all executable names from all > directories in your PATH! There are a few things that can make this particularly painful: - Your Cygwin environment inheriting a large PATH from Windows, so it needs to search through a lot of directories. - The PATH containing network shares, especially if some of those network shares are relatively slow. You can check what's currently in your PATH by just running `echo $PATH`. There's lots of different ways of resolving this, but probably the easiest is to reset your PATH by adding something like `export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin` to your ~/.bashrc file.