Terminal output disappearing after SSH into cygwin

Marco Atzeri marco.atzeri@gmail.com
Fri Jan 22 11:10:55 GMT 2021


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




More information about the Cygwin mailing list