Bash quits on ^C
Our machines at work run RHEL and default to ksh which while workable is not my prefered shell. However, when I use chsh to change my default shell to bash I get a behavior I have never experinced.
When you login with the adjusted settings bash no longer captures the control-c, but instead passes it directly to the system which exits the bash session instead of the more usual behavior where bash drops the current line and returns to a new prompt.
Now, if you change the default shell back to ksh and login then start a new bash session everything works fine, so I am working under the assumption that a Enviroment or sh variable is not being set correctly when bash is the default shell. Possibly a profile script being skipped.
Does anyone know what specific variable might be missing so I can add it to .bashrc or .bash_profile
|