X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4F2D7396E46A
Authentication-Results: sourceware.org;
 dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 24RCh2cN008768
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
 s=dec2015msa; t=1653655383;
 bh=OD84eL/jisO3wopLwCVKoBSm5GQ5Y/vsXNgIqQVs4C4=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
 b=GZX2pFAABtx0SVGMvRgwqWMXYBN0r2XR/KRfvR5CTS9bcE+s8bneOY+RD98dnoGpa
 1aYGhY3ks1EOhMOceKG2CUkPJl2pc7kDe3vv+r2ffeauc2rYkm3Gs3r6YDzf9s/iIz
 G+ojQ2fRDyoR9TM3yAGMfmlnAdU3NGJp6rffN7/8T3TcKg3+z9Vcr2tXbK3rM6hy3I
 iQCq5je9XV4zo1drpBhwJYftdSf4G7hetLDlhveWHd9BUe4vnsjzz1vA6JIbnkBf3r
 9u9tUbibkFtDXDfBi4fsbKl/2SPqRKLi6pAO52vG23aoQIHKD8A2nvBQxjz74nR9hY
 WBQB+3ICN2dfQ==
X-Nifty-SrcIP: [119.150.44.95]
Date: Fri, 27 May 2022 21:43:03 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: VS Code is missing a few characters when running launch task in
 Git Bash
Message-Id: <20220527214303.80d6b3bab0547037fb54b819@nifty.ne.jp>
In-Reply-To: <CAGHpTBLb8dtNrrvkTP2xqHRpPSU1x6DCEi+soF_PAk9h9iCdeQ@mail.gmail.com>
References: <CAGHpTBK=NbN4DAzgJC-KrDMNYXBAxNYXDn7gCPrHGSNwXp+Z5g@mail.gmail.com>
 <20220527075949.caeyh2d65fhmumss@lucy.dinwoodie.org>
 <CAGHpTBL9CsyZ5LbxbR0Lfghjx5MwnN8dQTfDp+u+7fw6k7EJMw@mail.gmail.com>
 <CAGHpTBLb8dtNrrvkTP2xqHRpPSU1x6DCEi+soF_PAk9h9iCdeQ@mail.gmail.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
        Orgad Shaneh <orgads@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Fri, 27 May 2022 15:22:23 +0300
Orgad Shaneh wrote:
> On Fri, May 27, 2022 at 11:06 AM Orgad Shaneh <orgads@gmail.com> wrote:
> >
> > On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie <adam@dinwoodie.org> wrote:
> > >
> > > On Fri, May 27, 2022 at 10:15:18AM +0300, Orgad Shaneh wrote:
> > > > Hi,
> > > >
> > > > I'm using Git Bash as the default terminal in VS Code. Using Git for
> > > > Windows 2.36.1 with the latest runtime, based on cygwin 3.5.0.

Do you mean cygwin 3.3.5?

> > >
> > > Hi Orgad,
> > >
> > > Git for Windows and Git Bash are based in part on Cygwin, but they're
> > > downstream projects that aren't supported by the Cygwin mailing list:
> > > the Git for Windows folks have made changes to the Cygwin code for their
> > > use case, which they're 100% welcome to do, but which mean the folk on
> > > the Cygwin mailing list just don't have the knowledge or experience to
> > > help.
> > >
> > > If you can show problems with Cygwin, be that with the Cygwin DLL,
> > > Cygwin's Bash or Cygwin's Git, the Cygwin mailing lists are definitely
> > > the right place to ask for help.  But unless you can demonstrate the
> > > problem using Cygwin packages without any downstream modifications, this
> > > list isn't going to be able to help you.
> > >
> > > Based on https://gitforwindows.org/ I suspect your best bet for getting
> > > help here is either (a) asking on the Git for Windows mailing list at
> > > https://groups.google.com/g/git-for-windows, or (b) raising an issue at
> > > https://github.com/git-for-windows/git.
> >
> > Hi,
> >
> > Thank you.
> >
> > I reported several issues related to type-ahead (all of them happened
> > in MSYS, and some of them were not reproducible in cygwin), and they
> > were identified and fixed by @Takashi Yano in cygwin runtime.
> >
> > Some issues are hard to reproduce, and I can't always reproduce them
> > on cygwin, but that doesn't mean the root cause is in MSYS patches.
> >
> > Anyway, I'll try to reproduce with cygwin and report back.
> 
> It doesn't reproduce with Cygwin. I'll report on git-for-windows, but
> like I said, I doubt this relates to MSYS changes.

Two questions:
1) Is the terminal in VS Code runs on console or pty? (What does
  'tty' command says?)
2) If the terminal runs on pty, did you try both with and without
  'disable_pcon'?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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