[somehow my previous response did not go to the list]
Am 22.01.2021 um 12:10 schrieb Marco Atzeri via Cygwin:
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
The clear is conditional. Maybe the value of $SHLVL after ssh login has
changed somehow?
--
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