Hi Orgad,

On Fri, 1 Jul 2022, Orgad Shaneh wrote:

> On Fri, Jul 1, 2022 at 1:02 AM Orgad Shaneh <org...@gmail.com> wrote:
> >
> > On Sun, May 29, 2022 at 9:00 AM Orgad Shaneh <org...@gmail.com> wrote:
> > >
> > > On Fri, May 27, 2022 at 3:43 PM Takashi Yano <takashi.y...@nifty.ne.jp> 
> > > wrote:
> > > >
> > > > On Fri, 27 May 2022 15:22:23 +0300
> > > > Orgad Shaneh wrote:
> > > > > On Fri, May 27, 2022 at 11:06 AM Orgad Shaneh <org...@gmail.com> 
> > > > > wrote:
> > > > > >
> > > > > > On Fri, May 27, 2022 at 10:59 AM Adam Dinwoodie 
> > > > > > <a...@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?
> > >
> > > Yes, of course.
> > >
> > > > Two questions:
> > > > 1) Is the terminal in VS Code runs on console or pty? (What does
> > > >   'tty' command says?)
> > >
> > > /dev/cons0
> > >
> > > I guess this means console?
> > >
> > > > 2) If the terminal runs on pty, did you try both with and without
> > > >   'disable_pcon'?
> > >
> > > It's console.
> >
> > I might have found a way to reproduce on Cygwin (3.3.5). I can
> > reproduce this on both Windows Terminal and the native console (Just
> > running Cygwin.bat).
> >
> > Open Cygwin terminal. Paste the following text (can either be with
> > Shift-Ins in Windows Terminal, or right-click on native console):
> >
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> >
> > The output looks like this. Notice that after 1024 characters, it
> > starts to garble:
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklwxyz abcdepqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz xyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefgrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
> > abcdefghijklmnopqrstuvwmnopqrstuvfghijklwxyz abcde
> >
> > Thanks!
> > - Orgad
>
> Notice the entire input is a single line. Replace newlines with spaces.

Indeed, I can reproduce very easily with up to date Cygwin in Windows
Terminal (but for me, it does not reproduce in ConHost, maybe because of
my settings?). Here is what I did:

        $ a=0123456789abcdef\  && a=$a$a$a$a$a$a$a$a &&
        a=$a$a$a$a$a$a$a$a && echo $a$a$a$a$a$a$a$a$a | clip

And then I hit Shift+Insert.

Me, too, I noticed that the first 1024+ characters seem fine, but then the
garbling starts.

Ciao,
Dscho

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

Reply via email to