Closed GoogleCodeExporter closed 9 years ago
Hmm, the screen clearing is done by the latest /etc/bash.bash_logout:
# when leaving the console clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear ] && /usr/bin/clear
fi
I think that's rather silly, but it's not a mintty issue. Please raise it on
the Cygwin mailing list and/or fix it locally.
ps: Not entirely sure what you're saying there, but I assume you're missing the
close-on-any-key feature. I removed that because of the possibility of closing
windows accidentally, and also because xterm doesn't do it that way.
Original comment by andy.koppe
on 29 Mar 2011 at 6:43
Thanks for finding-out the screen cleaning issue, I'll check it.
ps: Yes, I'm missing the close-on-any-key feature (just I didn't know how to
say it, that's why I didn't opened a separated issue).
If we need to avoid the possibility of closing windows accidentally, it
couldn't be used some predefined key like "Enter" instead of any key, or some
selectable option like "-close-on-key=option"?
It was helpful for scripts because it was a fast way to know that there isn't
any background process running, anything in script is finished and the exit
status is 0.
Original comment by dxdemetr...@gmail.com
on 29 Mar 2011 at 9:51
[deleted comment]
[deleted comment]
You're welcome.
ps: An option for that is out of the question, but close-on-Enter seems
reasonable. Please do enter a separate enhancement issue for it.
Original comment by andy.koppe
on 29 Mar 2011 at 11:28
Original issue reported on code.google.com by
dxdemetr...@gmail.com
on 28 Mar 2011 at 8:42