X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B7A30385800F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=stefanist.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mb AT stefanist DOT com Subject: Re: Terminal output disappearing after SSH into cygwin To: cygwin AT cygwin DOT com References: <644c7c45-b1a5-8c9f-8d6d-70b99a06c378 AT stefanist DOT com> <9072877f-c67d-5767-7a58-274abecfecbf AT stefanist DOT com> <190171158 DOT 2668557 DOT 1611244936009 AT mail DOT yahoo DOT com> <9a0ce80d-fcdb-9f07-788c-c157a2de8535 AT SystematicSw DOT ab DOT ca> <279a917b-7053-3ce8-c071-9c2a959341fa AT gmail DOT com> From: Martyn B Message-ID: <45aedc78-19b9-7647-02aa-805eacaae260@stefanist.com> Date: Sat, 23 Jan 2021 14:22:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Thomas Wolff wrote on 22.01.21 17:16: > The clear is conditional. Maybe the value of $SHLVL after ssh login has > changed somehow? It's 1 like in Cygwin Terminal on the Windows box martyn AT linuxbox:~$ ssh Winuser@ Last login: Sat Jan 23 13:34:48 2021 from Winuser AT WINDOWS-BOX ~ $ echo $SHLVL 1 -- 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