delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/21/08:31:01

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E539D384C008
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1611235810;
bh=WVTjUwkvgszdyOD1HlCKATY+3L8QsYYudLBaW0Pck24=;
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=O4TzPyFuygJR0ObsgnE7Eljan6UNvVGigrBv90kxF29nYkrzKVYkDWpqXBGXrC3G+
RwJnSO15k+mmr3grrzZkn00IGErRGQH2H+PwT6qEfd4OjM+uw3rxsfZ/wZ52nsMfOV
96F8n32eVN0rj3n/UMEyLPniQYeqzAJcdByWpw8w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 92308384C008
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
To: cygwin AT cygwin DOT 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 AT stefanist DOT com>
<20210121221353 DOT 5eff1e02be701518f81fd3b8 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Thu, 21 Jan 2021 22:13:53 +0900
Takashi Yano via Cygwin <cygwin AT cygwin DOT com> 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 <takashi DOT yano AT nifty DOT ne DOT jp>
--
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

- Raw text -


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