Results 1 to 5 of 5
Hello,
I've done some hunting on this and other forums as well as my own system and have come up dry. I have a SLES10 box where root is using ...
- 01-05-2010 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 7
Redefine Ctrl+C as the SIGINT
Hello,
I've done some hunting on this and other forums as well as my own system and have come up dry. I have a SLES10 box where root is using the Korn shell as the default. There was a lot of system configuration done by the vendor of the app that sits on this box and one of the "features" is that Ctrl+C no longer sends a SIGINT. I just get "^C" when I try. Needless to say, I'd like to redefine this so that I can kill commands/scripts without the need to manually whack the PID.
Where is the Ctrl+C defined and what steps do I take to redefine it to its default behavior?
Thanks,
JeffLast edited by pgymjp; 01-05-2010 at 01:27 PM. Reason: Grammar
- 01-05-2010 #2
You could start a bash shell just by typing bash at the command line.
- 01-05-2010 #3
According to my google-fu, stty is the command you want.
I would try adding a line to your ~/.kshrc file as such
Make sure to source the file after.Code:stty intr '^C'
- 01-05-2010 #4
Since this is a root problem the file will be in /root
- 01-05-2010 #5


Reply With Quote
