From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23741 invoked by alias); 11 Oct 2019 09:25:11 -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 23690 invoked by uid 89); 11 Oct 2019 09:25:09 -0000 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 Received: from conssluserg-06.nifty.com (HELO conssluserg-06.nifty.com) (210.131.2.91) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Oct 2019 09:25:07 +0000 Received: from Express5800-S70 (ntsitm283243.sitm.nt.ngn.ppp.infoweb.ne.jp [125.1.151.243]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x9B9OdoF005437; Fri, 11 Oct 2019 18:24:40 +0900 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 09:25:00 -0000 From: Takashi Yano To: cygwin@cygwin.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 X-SW-Source: 2019-10/txt/msg00063.txt.bz2 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