X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59C303952517 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1611253838; bh=mnP2iAOk7i/LrvdUFKzuimBiwjTiOrlfhf9XMsaWRaU=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=UrborMaAyzETsb6KLA4r0NPyQbxlTlJ9stTVY+OCdo1Ppu6xMtFuIH4wTrhKRpti/ Tn60gKyhhjvNhYnLDwNAl8ks6fydKNJ+IVt0q0F1qD/wtTY9Az7+dPMk57TlIEoV4v 67yh72RKNpQ10IsgDg46cDrKGHp7KlFNAC5Cb47Y= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 43AE93851C36 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 10LIUJJu004135 X-Nifty-SrcIP: [122.249.67.108] Date: Fri, 22 Jan 2021 03:30:23 +0900 To: cygwin AT cygwin DOT com Subject: Re: Terminal output disappearing after SSH into cygwin Message-Id: <20210122033023.a1c813606ba51effca3629a4@nifty.ne.jp> In-Reply-To: <76e9ad7c-ee4e-4a91-e733-bcce51bcb134@cornell.edu> References: <644c7c45-b1a5-8c9f-8d6d-70b99a06c378 AT stefanist DOT com> <20210121221353 DOT 5eff1e02be701518f81fd3b8 AT nifty DOT ne DOT jp> <20210121222948 DOT 2e0044acb6d7475328f56ae2 AT nifty DOT ne DOT jp> <20210122022859 DOT c58416aff3cbfe5c8d3eece8 AT nifty DOT ne DOT jp> <76e9ad7c-ee4e-4a91-e733-bcce51bcb134 AT cornell DOT edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Thu, 21 Jan 2021 13:13:56 -0500 Ken Brown wrote: > # when leaving the console clear the screen to increase privacy > if [ "$SHLVL" = 1 ]; then > [ -x /usr/bin/clear ] && /usr/bin/clear > fi That should be the culprit. Is editing /etc/bash.bash_logout the right thing? -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple