delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/29/06:40:27

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=B4WzgVgLQVfkEOucxc5hcO1t8dklTEtrBoA1rXiw+X10eHGwA4yYj
gCrEHSE5eiF8iR/2ERGFr5Il6VNvVDVuHdwghfYVQJmFb0p/M46+CGh9GaWXyJ5x
gxKclm3fbNrgJQm/bAq6+lYHnGDrepCt5NDBTbP9LiU0OTjy9xmqXc=
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=Uuz5wDhSdqPklMVc3MDC4hCmSB0=; b=tchR2CuHs9ezM+Vq4tjcHgZtfpHu
oM+A4t7emeuuTY6bpsodl9c2+fCDp9BOO4nU1IOqjJPMoJ7InVxCbU37lm2GBa9x
GMI2/VT+RmG8sDgHOxwd3US9XbMMiDnH2N+FI1qofb/7VDtbK+kCuFZ8kYwAUmER
RWxH668ibrd2AVE=
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=
X-HELO: calimero.vinschen.de
Date: Fri, 29 Jul 2016 12:39:27 +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: <20160729103927.GB5963@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
In-Reply-To: <20160728195135.GC26311@calimero.vinschen.de>
User-Agent: Mutt/1.6.2 (2016-07-01)

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

On Jul 28 21:51, Corinna Vinschen wrote:
> However, the former cursor position in the buffer is still known
> at clear screen time.  It's stored in dev_console::dwEnd.  So what
> I was thinking about is to check the above situation and then, rather
> then to just keep it as is, move the console window  and the cursor
> position up to the line right after the former cursor position, i.e:
>=20
> After (desired?):
>=20
>    buffer
>    +---
>    | nonblank
>    | nonblank
>    | blank
>    | blank      window
>    | >          ---+
>    | > [] cursor   |
>    | blank         |
>    | blank      ---+
>    | blank
>    | blank
>    | blank
>    | blank
>    +---
>=20
> Does that make sense or am I still missing something?

I applied a patch to perform this action.  It's in the latest
2.6.0-0.5 test release I just announced.


Corinna

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

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJXmzJfAAoJEPU2Bp2uRE+gmQAP/25D9luzG6ivh5pLg/P/Nb/f
0UrZ1fnei0JdGKHsigYBXP0t6gKfxRi6/Dbyo86sPNReEs8kT5kMYeG4/eH9L6ZP
wPrN5SP6ditSCJsqL6yUrpcc39ZLv93csWxygfZPU4apUGt6kyF3BBMJwoUkjvws
GMuOxPXaDIdXghW45iZlz95bZLzKWeFG3aKyIdyj0fubPJFQxIyVwex24JBSmAmm
iupWcDWkORgWGKCOybsxWIl7KM9q2O/btp6FEMcmv8vJbjPbFQCvX5vbGktPmOtq
7qVlw9Fh6RsBA1yTwtbaKFnddJAyirRBPcGmoEIikN3XiokqQTiNqltd3KAk+e+T
fx3Eo4Q2m8JWXZqMIH/KFT08FR7+F6oFM65+4jbdAVC8Zo07Cn+MAjL/ekPbqypZ
jd1NJgZ8fNmF75yEltcZovgxIE7dVDwFWvEtZaoeJBkR5GB3/HQeMb7UA1N8LQ9n
XPmrMJAv3rmlRjnPI/d1uTHpjpCgmBHjc8ZaGoggeJ4bKFbbSeUGLep4cu7MJCcO
BgckCPJsEOIfcmdtGBhSSyjlXPMUbDKfqp5Q2YPjqeYwCdm6JLulvDDYcdlKR8WI
vV2FXb3Lbdc4l+V4xUB+cxTAG+rIx/YIyuvk9PdksIC+g0O+enZhMLSOJwevC+oi
1/KJv1I4qdmDDxOP0IRq
=gFKR
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--

- Raw text -


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