Eric Blake wrote:
Pedro Alves <pedro_alves <at> portugalmail.pt> writes:
Dave Korn wrote:
Ctrl+D is a better way to close the file actually. If you mean EOF, why
not
*say* EOF?
Unless you type it one time too much, and ... uupps, there goes the shell :)
Which is why I have 'set -o ignoreeof' in my ~/.bashrc.
Perfect!
Thanks.
Cheers,
Pedro Alves
Or you could set the IGNOREEOF environment variable.
And you don't like ^D? Then stty can change EOF to some other sequence.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/