From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-06.nifty.com (conssluserg-06.nifty.com [210.131.2.91]) by sourceware.org (Postfix) with ESMTPS id 92308384C008 for ; Thu, 21 Jan 2021 13:30:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 92308384C008 Received: from Express5800-S70 (x067108.dynamic.ppp.asahi-net.or.jp [122.249.67.108]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 10LDTlIs007593 for ; Thu, 21 Jan 2021 22:29:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 10LDTlIs007593 X-Nifty-SrcIP: [122.249.67.108] Date: Thu, 21 Jan 2021 22:29:48 +0900 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Terminal output disappearing after SSH into cygwin Message-Id: <20210121222948.2e0044acb6d7475328f56ae2@nifty.ne.jp> In-Reply-To: <20210121221353.5eff1e02be701518f81fd3b8@nifty.ne.jp> References: <644c7c45-b1a5-8c9f-8d6d-70b99a06c378@stefanist.com> <20210121221353.5eff1e02be701518f81fd3b8@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 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@cygwin.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: , X-List-Received-Date: Thu, 21 Jan 2021 13:30:08 -0000 On Thu, 21 Jan 2021 22:13:53 +0900 Takashi Yano via Cygwin wrote: > On Thu, 21 Jan 2021 14:08:45 +0100 > Martyn B wrote: > > Hi list! > > > > Usually after an ssh session, the lines in my terminal are persistant > > after exiting the session. This is what I need. > > > > But at the moment when I exit an ssh session into Cygwin, the terminal > > gets cleared and all session information is lost. > > > > How can I change this behavior? I need the commands and their output. > > > > Server: Cygwin 3.1.4-1 on Windows 10 (1909), CYGWIN cygsshd > > Client: Ubuntu 20.04 / Gnome terminal, xterm > > Please update cygwin to 3.1.7. Sorry, I might misunderstand your problem. Does your problem happen when you exit from ssh session to cygwin? If so, are you using ~/.bash_logout (for bash) or ~/.logout (for tcsh)? -- Takashi Yano