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:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=DCN1+HyFOT9cCHzcqoD3DGIzy2Oc4PEF46PLpkIXqYe ry8i27VY4FnSwy/nl2BQjt5DnXxzWDvMbTTI6JWyjOblG2Mb4YrfojvYoFHKVFmP Qn2amJvrYRRWT3GyuUGEEpdEKt0G9AbwwfNFKLO0iRfC46Pguc0sQQ2rilOegz0I = 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:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=686wYkNI3iM6soS63VmYZSd5N1U=; b=mQgjIRGoTNZRXvaes dJUkGl5ChvW2VoxDXpsGPPVTYGpM94ale6f3od0/bvwnqystkJe6Uwb7b8jM9u1+ gxhVcVkNqOepZics/Dq/QDHxnfcjBCC/jw9LIeYsmlAE714CyPkISoxW6jx9nnfG bW1vFIPsJq/Xvovz+LvxmvJc84= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Haubenwallner, haubenwallner, HX-Languages-Length:965, H*r:authenticated X-HELO: conssluserg-06.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x9B9OdoF005437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1570785880; bh=IL5SvpfP83FymdTJeQk6AqRRgbEfQXVmrTB6BmKd0h4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YOVi2Vxr5JtjDyThDnE9M5cCHm4v3Fl1zZE6zOKGrJuaTthit4joOKpbLN9+pursQ FhndRck1z22BvNfqxZ1SWeCNp/drxap4jqjD2YwbX6Kaap2es3OifmlO8XCHHpip48 BnBpg7wnrq62anwT4Vj9McuuZP/PvH43ViXEJFOjJmZ4wgy47oWde8NfLz9s44RTdY b32DPS+GkpPazWZXB/WIbjqxJycz86KnDlLpdjizW+GVfkhYxkGrGCGQvX6bIQlwTw PRUt5ea7paesH/NZPPx2HXn9gDcZHnE5AEJEoVvz9BlSK2tDzHSXEowkLEemgXp1/N g+mrXjOGhtWPQ== Date: Fri, 11 Oct 2019 18:24:39 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Cc: Michael Haubenwallner Subject: Re: [ANNOUNCEMENT] cygwin 3.1.0-0.6 (TEST) Message-Id: <20191011182439.6dd3fedb2c7138627e53c053@nifty.ne.jp> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi Michael, On Thu, 10 Oct 2019 12:43:56 +0200 Michael Haubenwallner wrote: > I'm encountering another strange behaviour I do not remember to have seen before: > > Using ssh from some Linux xterm into the Cygwin sshd running on Server 2019 > does clear the current terminal content as if /usr/bin/clear was executed. This is intentional behaviour. The pseudo console has its own screen buffer behind, and redraws the screen based on the screen buffer at undetermined timing. The screen buffer is empty at the beginning, so the screen should be cleared at the opening of the pty so that the real screen and the screen buffer are synchronozed. The clear screen is prevented when TERM=dumb, so you can see what happens if clear screen is not done by following steps. 1) Execute ls or ps to draw something to screen. 2) env TERM=dumb ssh 3) Execute cmd.exe. -- Takashi Yano -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple