Terminal output disappearing after SSH into cygwin

Takashi Yano takashi.yano@nifty.ne.jp
Thu Jan 21 18:30:23 GMT 2021


On Thu, 21 Jan 2021 13:13:56 -0500
Ken Brown wrote:
> # when leaving the console clear the screen to increase privacy
> if [ "$SHLVL" = 1 ]; then
>    [ -x /usr/bin/clear ] && /usr/bin/clear
> fi

That should be the culprit. 
Is editing /etc/bash.bash_logout the right thing?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin mailing list