From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83808 invoked by alias); 28 Jul 2016 20:00:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 83798 invoked by uid 89); 28 Jul 2016 20:00:38 -0000 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=invariably X-HELO: calimero.vinschen.de Received: from ipbcc0190b.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.25.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Jul 2016 20:00:37 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 14947A80EF9; Thu, 28 Jul 2016 22:00:35 +0200 (CEST) Date: Thu, 28 Jul 2016 20:21:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [PATCH] Strange behavior of cmd.exe when hammered with clear screen operations from Cygwin program. Message-ID: <20160728200035.GF26311@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0ee6699f198b7b0f588054ba2f829db5@mail.kylheku.com> <20160728195135.GC26311@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AH+kv8CCoFf6qPuz" Content-Disposition: inline In-Reply-To: <20160728195135.GC26311@calimero.vinschen.de> User-Agent: Mutt/1.6.2 (2016-07-01) X-SW-Source: 2016-07/txt/msg00365.txt.bz2 --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1137 On Jul 28 21:51, Corinna Vinschen wrote: > The situation I was thinking about is a bit different. Consider an only > partially filled console buffer. In contrast to your typical UNIX > terminal application the buffer doesn't grow. It's a fixed size and the > scroll bar reflects this buffer size right from the start. So the user > can scroll the console windows down into the not yet used buffer area, > i.e.: >=20 > Before: >=20 > buffer > +--- > | nonblank > | nonblank > | blank > | blank > | > [] cursor > | blank > | blank window > | blank ---+ > | blank | > | blank | > | blank ---+ > | blank > +--- >=20 > Performing the clear screen in this situation, the cursor will be > repositioned to the first line in the current window and the blank lines > between the old cursor position and the new cursor position ... will invariably become part of the buffer. Sorry, I lost track mid-sentence. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --AH+kv8CCoFf6qPuz Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXmmRiAAoJEPU2Bp2uRE+gsiwP/jm7CeNo6HiUHes4XkJjupyS 4n6pZmbDPRdxOXjjqehJ4toEykbbMKhhJbaiqFcVipOactPWHtdbcWhzWdd3vD5E gi9QqI+dN+cVm5qAroFlDBwxPP1wurUlm/w3QS25TY7JxlcSDiwbsEvxXkZgPWIT GNCfkISCj4A4M2jR/3cAsIMnRgWQ0VHEd9y/8XmnrQagJDtVxA3eMlRP0klXWNv0 aoqE3ShNyG9je2jc3QNQEv901J+nmac/ob+whqNfD2yQ1QQ5fIHK3lZW4YIFx041 4LtU6/nNRyvZ07uAX86bL8UJzwFDqBz7pIZYZAsgi+Crboi4CTHRsZLlu9V0BevH CFyQFT4qEKxBlRXzDssENh2yc3WlbohZKxsYvir7TC92mXLoXyUuJoS52gmxAHE3 p4bcEp5a+IOfblHfZy8Aph5bDakNf78dsMoDbCY/i64394eAwYjL3I+Wr75laH+V 3wUexvAA5sd7fv01uzwBy75KQn+y3je6hZgOK2NvpG0RdgRwYANQTDMQH7mQdj+R R0x/7yPHbdbcr0oshhbfYBe6r+UMVYY9CUEJeQ6KKwExKSK1MaMUovN+QvCPtsHw 8AljD3Qo6UpTS7rHwOqt5Dp6q+PTXufbC8wj30tAGjYXnVj3sVKNWv8AfhgsNrH4 RQWiFlPsAVH+sn5DeCDm =J4QJ -----END PGP SIGNATURE----- --AH+kv8CCoFf6qPuz--