Friday, May 02, 2025

Re: set ignoreeof = 1 in .tcshrc doesn't work as expected

On Fri, May 02, 2025 at 10:23:33AM -0400, John McCue wrote:

>set ignoreeof and I can use ^d to exit. Did you check
>~/.login, ~/.tcshrc, ~/.cshrc and other source files ?

bingo! :D I checked all of those apart from .login.
And in there, there's '# set ignoreeof'
Commented it out and now have expected behaviour.

TYVM, very grateful!!!

I couldn't understand why ksh or bash weren't similarly affected
(ie ctrl-d worked) then again .login is "csh login file"

--

No comments:

Post a Comment