- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Control+C or Control+Z don't work (HP 11.0)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:40 AM
11-14-2003 02:40 AM
Control+C or Control+Z don't work (HP 11.0)
Im lost of ideas how to get the "control+c" and "control+Z" working on HPUX 11.00.
Users are using ksh, I've checked and deactivate all traps on the system profile and user profile.
Nonetheless the control-C doesn't seams to work when for example I type "find / -detph" ... Im missing something here! ...
Please help... Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:43 AM
11-14-2003 02:43 AM
Re: Control+C or Control+Z don't work (HP 11.0)
Could you post the output from stty ?
# stty
speed 9600 baud; evenp hupcl -cread
min = 1; intr = ^C; erase = DEL; kill = ^U;
swtch
brkint -inpck icrnl -ixany ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:44 AM
11-14-2003 02:44 AM
Re: Control+C or Control+Z don't work (HP 11.0)
eg
stty intr ^C
stty susp ^Z
Put these into your .profile.
Here are my (typical ?) settings
stty
speed 9600 baud; evenp hupcl
min = 1; intr = ^C; erase = ^H; kill = ^U;
eol2 = ^@; swtch = ^@;
susp = ^Z; dsusp = ^@;
werase = ^@; lnext = ^@;
-inpck -istrip icrnl -ixany ixoff onlcr
-iexten echo echoe echok
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:45 AM
11-14-2003 02:45 AM
Re: Control+C or Control+Z don't work (HP 11.0)
Run
stty -a
and note the values for
intr => usually Ctrl-C
? => Ctrl-Z
What does Ctrl-Z supposed to generate, quit, kill or what?
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:45 AM
11-14-2003 02:45 AM
Re: Control+C or Control+Z don't work (HP 11.0)
speed 9600 baud; evenp hupcl -cread
min = 1; time = 1; intr = ^C; erase = DEL; kill = ^U;
swtch
brkint -inpck icrnl -ixany ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke
Regards,
Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 02:47 AM
11-14-2003 02:47 AM
Re: Control+C or Control+Z don't work (HP 11.0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 03:23 AM
11-14-2003 03:23 AM
Re: Control+C or Control+Z don't work (HP 11.0)
Many thanks for your help.
One of the problems was a "hidden" trap in the /etc/profile
And some users had a dodgy profile setting the "intr" with ^Z.
the forgotten "stty -a" helped a lot :)
Best Regards,
Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2003 03:41 AM
11-14-2003 03:41 AM
Re: Control+C or Control+Z don't work (HP 11.0)
Ops sorry to come back with the same problem.
But in the last minutes I've found that the intr=^C only works with xterm sessions but users that are using dtterm, the crtl-c is ignored.