(SOLVED) Re: Terminal output disappearing after SSH into cygwin
Martyn B
mb@stefanist.com
Fri Jan 22 13:18:03 GMT 2021
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
More information about the Cygwin
mailing list