- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ctrl-C does not work (stty seems OK!)
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 09:45 PM
03-29-2005 09:45 PM
I have 2 HP9000/D220 systems running hpux 11.00
stty -a output (identical on both systems):
speed 9600 baud; line = 0;
rows = 24; columns = 80
min = 0; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 = ^@; swtch = ^@
stop = ^S; start = ^Q; susp = ^Z; dsusp = ^@
werase = ^@; lnext = ^@
parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
echoctl -echoprt echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop
ctrl-C works on system A, but not on system B
Is behaviour of ctrl-C defined anywhere else ?
Derko
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 10:31 PM
03-29-2005 10:31 PM
Re: ctrl-C does not work (stty seems OK!)
It turned out a trap was set for INT.
It works OK now on both systems !
Derko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 09:14 AM
08-17-2005 09:14 AM
Re: ctrl-C does not work (stty seems OK!)
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 01:30 PM
08-17-2005 01:30 PM
Re: ctrl-C does not work (stty seems OK!)
All traps that have been set in the current environment will be listed, something like this:
$ trap "echo bye bye;exit" 1 2 3 15
$ trap
trap -- 'echo bye bye;exit' TERM
trap -- 'echo bye bye;exit' QUIT
trap -- 'echo bye bye;exit' INT
trap -- 'echo bye bye;exit' HUP
Bill Hassell, sysadmin