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:
...
> # when leaving the console clear the screen to increase privacy
> if [ "$SHLVL" = 1 ]; then
>     [ -x /usr/bin/clear ] && /usr/bin/clear
> fi


Takashi Yano via Cygwin wrote on 21.01.21 19:30:
>
> That should be the culprit.
> Is editing /etc/bash.bash_logout the right thing?
>

Yes that's the solution as I own both machines.

Thanks to all, also for the additional information:

https://sourceware.org/pipermail/cygwin/2021-January/247574.html
https://sourceware.org/pipermail/cygwin/2021-January/247581.html
https://sourceware.org/pipermail/cygwin/2021-January/247584.html

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

Reply via email to