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=P3TpVAtTB/k6ooRSuTQOplkj4arkXKInUeIMgBBxOlBTyBvaVE/Ic H1CDdQ/aGaxai73z4JqeyXjc2YXSGGtWjrmuuf0G5pyXQRqkPMPvsD4AMUtQKasQ KBvZVGq8E5+74DccRNhCWE8ln5PAEACZqhxLlru1lO7vhQLvQhQl28= 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=OToQo4LNY5LLvCJh941c5yVt4ss=; b=SpTCRxXSf9Jb+/dUvvWPqazfwbtM xIE0B+O5aiV9BIlOvY97rsoYfPFi+r3dYWBdB9qQTzfFB+7bfO6nZp6OPahhzsg8 6e/VyNOletDi96FM6cazuOcqm7Nl0x+D+PPE9CQowNrbQRlZpcM6pSHyBRNjfikd yKj7Dq/u9G6IsP4= 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=invariably X-HELO: calimero.vinschen.de Date: Thu, 28 Jul 2016 22:00:35 +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: <20160728200035.GF26311@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> 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) --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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--