delorie.com/archives/browse.cgi | search |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=pE9a3JuNHPzatFcCo+f6AhpImwb0BhLafWRma8T2V/A | |
ROtBCUlcaX4H3AeIfwUGjwtHaxNmbPc4mBcrS1wecWOaXthmcHu4IExys6sEXyd5 | |
Lo3SEYkJw7i/V4V3zOZRihhRxJLY2sQYsnKCzWkO2ArdGIOzophx/1vEk6aBcmSs | |
= | |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=ZIyCxUt5EQXMgCQ00fJWMZeKInQ=; b=blwXpzcqcswd9bzJv | |
5eUbS+D9OgeDDFqwT4uN665WkPIZ3r9nCX69E2ALHP7mDFH19FeuH2PViPQ07Qdq | |
MTVj7LMjPbromIf7kLbDiIe1vmBRfdMvR9AqPTQXpYaZ6BGCl9aY+g9vPOieFfuc | |
huSn4GoM9rQoDAS08OrtopcI0w= | |
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 |
X-Spam-SWARE-Status: | No, score=-0.2 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RDNS_NONE autolearn=no version=3.3.1 |
Message-ID: | <51F96493.2070305@tlinx.org> |
Date: | Wed, 31 Jul 2013 12:25:07 -0700 |
From: | Linda Walsh <cygwin AT tlinx DOT org> |
User-Agent: | Thunderbird |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: pasting several lines into the shell -- change from bash3->bash4 |
References: | <74bb5742cb16b1259d7307928a5f0e22 AT denis-excoffier DOT org> <20130731081445 DOT GT4166 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20130731081445.GT4166@calimero.vinschen.de> |
Corinna Vinschen wrote: > > I can reproduce the effect, and it looks like this is the result of > an accidental checkin. Thanks for the hint. ---- ??? Is it? AFAIK, you can no longer safely paste code into the bash command line because the TAB char is the default completion character. If your code is indented w/tabs (concept?!), bash tries to perform auto-completion where it then rewaits for input depending on your completion settings. If you have more than a screen's worth of completions, you can get a question: ls Display all 660 possibilities? (y or n) -- At that point all tabs are swallowed, and the first character of your then clause gets swallowed. This changed from bash3 where "no_empty_cmd_completion" used to effectively be "no_empty_line_completion". So if you had that set, tabs on an empty line weren't taken as completion chars, but expanded as tabs. ---- I complained about the feature loss but most bash users don't paste code into their shells. If you are shell user, you aren't expected to use a GUI editor like gvim. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |