delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/22/06:11:43

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8EC97398C018
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1611313862;
bh=atMJgYUS7REE8Nf232nQHFb5LYVbgnpswESpJWmD7As=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=eHtuoR0A2+T8LEnA0fWeizDznR5Ado9CH7eCFVgyIbQZ+k6SThRlOtIqcpqeqgDzY
fDfNOb9UJIGjRbUTNTlj9BK1ZfKAP3+7LJsf+m7RMaVKsgGB5eh9i13m9DWtH+JERt
8nDRfr+NzCJfxPwRFhsVke1s4NN4q2TEOKOxP3Zc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 500413890401
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=X55MBtZvdVUwk5U851ZE2lkT1Rm9iG5wLh+L+ru7jes=;
b=VguqB2aFxyJ3CaeOSLTVyiEOgAMIp3JJClngr4Q815PuZyCZcoKhFZniGOYbH4LZgK
nMRVCoo/Z5i3wQSy7Gsis87hgi7d0w0i4AfqxwedYHDoj1vx8OMWhYvsSi02P0GRekDC
n1yFIesTRcdEgODaqQ0kGiYwfv0HHxw/4rTvOT1u/FaWG5AlZPsKtnfyEg4CiMcF2OnH
newn1I5Vhxwd6wE3Srb48ITMtVR1+qD8LvOJyqq1OQKoKIOrZNPio+8MkmrPhFC+vWKe
IcwcqSiERfKuxOdB0uLV6w4Cbz3A8WzXC5dvAcbx8elvRmnMrCRS4tvRUo1AM+IZa5YL
17Tw==
X-Gm-Message-State: AOAM532tJvN3dqg1Modbk8LrHHJ7adnFK3E9qbYeLN5lp70utlxy3b4c
2QoUKAdzkobKp+KhzJX4pBuxZK+HcUES8w==
X-Google-Smtp-Source: ABdhPJx4Bvhnbu41zRwS6FtFsx0HOjXgIdII/4zBcoMa5cNnseaYV6WpcZN9mkeA9m2fA9KlzAj0Fw==
X-Received: by 2002:a1c:6486:: with SMTP id y128mr3612941wmb.12.1611313857447;
Fri, 22 Jan 2021 03:10:57 -0800 (PST)
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>
<d1aee930-43e0-e405-c094-2a4545ca09b5 AT gmail 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>
Message-ID: <279a917b-7053-3ce8-c071-9c2a959341fa@gmail.com>
Date: Fri, 22 Jan 2021 12:10:55 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <9a0ce80d-fcdb-9f07-788c-c157a2de8535@SystematicSw.ab.ca>
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10MBBSv9004722

On 22.01.2021 09:16, Brian Inglis wrote:
> On 2021-01-21 09:02, matthew patton via Cygwin wrote:
>> On Thursday, January 21, 2021, 10:49:14 AM EST, Martyn B wrote:
>>> On 2021-01-21 11:13, Ken Brown via Cygwin wrote:
>>>> There's also /etc/bash.bash_logout.  The default version of that 
>>>> clears the screen:
>>>>

> 
> Whether it should be is a good question.
> 
> There's no /etc/bash_logout file under Debian, etc. but 
> /etc/skel/.bash_logout and ~/.bash_logout also have the same clear 
> screen code.
> 
> Is (or was) /etc/bash.bash_logout that did this in the bash sources or 
> under Fedora, which is the Linux basis for some Cygwin approaches, 
> behaviour, and conventions?
> 


$ cygcheck -l base-files |grep logout
/etc/defaults/etc/bash.bash_logout

the defaults is copied as
    /etc/bash.bash_logout
only if it was not modified.

The file is there by at least 2016, so not a new implementation

Regards
Marco


--
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