I regularly ssh to a centos 5 box. Somehow they keys are mapped so that control+d will log me out of my current shell. If I am sudo'ed to another use it puts me back to the previous user. If I am not sudo'ed it just disconnects me. How can I keep this from happening? I regularly use control+d to cancel out of the python interpreter and sometimes I accidentally press it more than once.
|
|
|||
|
|
|
You're looking for the
So POSIX |
|||||||
|
|
If you really don't like having Ctrl-d, then you could remove the
After this, Cntl-d will be any other control character. |
|||
