delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/23/21:20:47

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 07F50385800A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1629768046;
bh=FyEGU6R3bWM9s64z7OiiugpgoFphq50pI22518wtQxQ=;
h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Ms3CexKgEh/mFJDiGQ+R8QmSbDi89vgpsCFaKaJj5ma72TUYodfgRsiiCz2J/8UgM
tCkAnssBK6wBDwYX7fcum81qeS/UJW9R3n14y9WLrAlLeMoMdEdvl3w/zsPKVLHpgL
6BwH+TxmbnGuSoIl5hPImJmwtarkqMV7vjJas4/8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3247D3858D35
Message-ID: <bc07bff31caa5b9b4fba1c1fb470312bf277a8af.camel@mindspring.com>
Subject: Re: Terminal occasionally shows duplicate command text when it is
split over multiple lines
To: Ray Satiro <raysatiro AT yahoo DOT com>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 23 Aug 2021 21:20:10 -0400
In-Reply-To: <1966566714.1219564.1629755526730@mail.yahoo.com>
References: <1966566714 DOT 1219564 DOT 1629755526730 DOT ref AT mail DOT yahoo DOT com>
<1966566714 DOT 1219564 DOT 1629755526730 AT mail DOT yahoo DOT com>
X-Mailer: Evolution 3.28.5 (3.28.5-16.el8)
Mime-Version: 1.0
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: C Linus Hicks via Cygwin <cygwin AT cygwin DOT com>
Reply-To: C Linus Hicks <linush AT mindspring DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Mon, 2021-08-23 at 21:52 +0000, Ray Satiro via Cygwin wrote:
> I'm using cygwin x86 updated yesterday and when I paste in commands that are split over multiple lines sometimes an arbitrary line will show more than once, even though it is not actually part of the command more than once. For example here's a command:
> 
> echo foo \bar \baz \qux
> 
> And here's the terminal output when I paste it in:
> 
> $ echo foo \qux
> > bar \> baz \> quxfoo bar baz qux
> 
> $ echo foo \baz \> bar \> baz \> quxfoo bar baz qux
> 
> My terminal is mintty 3.5.0 (i686-pc-cygwin). I'm not sure if this is a cygwin issue or mintty issue.
> 

I have seen this before too, but from my experience, only the display of the text is incorrect, what
ends up in the buffer accurately reflects what you pasted. It's just an artifact of the way
characters are read and echoed. If you recall the text from your command history, is it correct?



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019