delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/01/04:51:55

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=tJb6/nFIcztRbnHe0nT6nrNF+Mwjn5d7cSdtipY1aqnHO5oyE2CBX
uEnoOffUDkKIXsU5ayrXjR7vCYH8ZBuHvmYVH7KGCJFEaBP4WnaUE7nOnXha1HVl
Dx47hSJASX8f7dy4jvXQFNKdC9igJe9+frN4xC97T7soJlUSM2Ms7Y=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=+/rPuVtoESUd5A96XxXoeFHRCbg=; b=cag+jskS1pr+TOEC/vx4/NI8HNz4
++FD1ZKa9cwXrIxjsgs2yiXNZd2LnKpXAnmXdMUEYqdnsEUDnwXqU/Urv2DPg1fU
qaYMYQnLVkOqv/shZ5JONBS+Pq6m20B4u+gXuj/oqutYcvDOMeeVcupGc9Pqg8sb
Lj5t4s8Pnnek1+Y=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-95.0 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=positioning, 5000000, click
X-HELO: calimero.vinschen.de
Date: Mon, 1 Aug 2016 10:51:09 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [PATCH] Strange behavior of cmd.exe when hammered with clear screen operations from Cygwin program.
Message-ID: <20160801085109.GC3470@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0ee6699f198b7b0f588054ba2f829db5 AT mail DOT kylheku DOT com> <20160728195135 DOT GC26311 AT calimero DOT vinschen DOT de> <20160729103927 DOT GB5963 AT calimero DOT vinschen DOT de> <f00a28ea8ac7ea704e6374f8a5cc5c88 AT mail DOT kylheku DOT com>
MIME-Version: 1.0
In-Reply-To: <f00a28ea8ac7ea704e6374f8a5cc5c88@mail.kylheku.com>
User-Agent: Mutt/1.6.2 (2016-07-01)

--7gGkHNMELEOhSGF6
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul 29 08:59, Kaz Kylheku wrote:
> On 29.07.2016 03:39, Corinna Vinschen wrote:
> > I applied a patch to perform this action.  It's in the latest
> > 2.6.0-0.5 test release I just announced.
> [...]
> I've done some interactive testing with this using
> the interpreter for a Lisp dialect. I would evaluate
> this expression to generate a 5 second delay and then
> a clear screen VT100 sequence:
>=20
>   (progn (usleep 5000000) (put-string "\e[2J"))
>=20
> during this time, I would scroll the buffer somewhere.
>=20
> I also tested with a cursor position somewhere in the
> middle of the window, having issued:
>=20
>   (put-string "\e[12H")
>=20
> The programming language details don't matter; we
> could do this with bash echo $'\e...' and sleep 5.
> [...]
> With the third patch, I've run into behavior in which the
> display isn't cleared at all if the clear is issued
> in a scrolled-back state.

I can't reproduce this.  If I don't click wildly on the scroll bat at
the time the clear screen action takes place (so I move the window right
after clear screen), the cursor is positioned at the top of the screen,
at the end of the buffer.  So, how would I reproduce your observation so
that all window positioning is guaranteed to take place *before* the
clear screen action and still see the broken output?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--7gGkHNMELEOhSGF6
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXnw19AAoJEPU2Bp2uRE+gyGwP/i4lCmK3n+KqW8FQkS3n+aOi
nTy4aAGfMZEu09LfVdCGp9VGYGx0lTErSV1eBohlEea0yjEE/sGitrDO3kt0qGC5
OXnVTNJhucH/iNaZhs3e3pMjtEBhp6EF1EFeOC5Ao3m5ZjDeT6eUtXaqut0zP3d0
rurZ328WKCIdCiWQhnz+SkRb1TSlGie/dp7up4Wlb+riGLJJ8pI63UwD9uhC06Y+
9Hp1Qxy+wBydGJpjbh2KatNEDV5gzBQ1/kZdmwaGxsJPvYK3NBSNAtsoeigPDcpv
ZSRu/gjzTwylpYZOaE4fi4mJ1o4OSbxXzt4LfL30hCQHy8RMphhgQMtd6PpfITDd
xHvu7lYp7UUe2sh/5b+Nb7jdbvjpmIdFHQeYQ3B2I6Cl1etEBnlv/yOQaOhf5882
vMKODQYCQDDE3wPWOUpflojhczKRNWIx37qIyqyH74TbG2HyXXcZjS+gtdB+nxfW
sQnbCZ+AUFJDJuTRO+epXGI8QqvMpg0KNVqaWG4plWdPAw+sIa6HC8sc46ZGUw77
25tHmZXJcjsXFpxWwSr2MlrVoTFHHFNgEqfvQxR1XnVW0oGiTvAM+BxwWBf41/xZ
CepOpnrB5bYAoGJj5GaxXQeXxdi+2sunZQH5V+jrW3ulEFoIA8tNF4tdKjyXB8ia
KMCgAzVT/oSjlIPTqwWs
=JSp/
-----END PGP SIGNATURE-----

--7gGkHNMELEOhSGF6--

- Raw text -


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