Operating System - HP-UX
1752810 Members
5839 Online
108789 Solutions
New Discussion

Re: interrupting through ctrl-c is not working on HP-UX

 
masthan1
Visitor

interrupting through ctrl-c is not working in hpux

Hi Gurus,

 

In my HP UX server, if i am entering something wrongly on the command line and dont want to get that executed, want to interrupt the same using ctrl-c. But in my server , that is not working when i am applying CTRL-C. Os is 11.23.

I have even tried setting the "stty" using "stty intr ctrl-c". But still it is not working. I have even comment out the "trap 1 2 3" line in the /etc/profile, still the same. could you please help me on this regard?

 

when i checked the /etc/profile and some other user's .profile file, the intr ctrl-C is set.

 

Regards,

Masthan

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: interrupting through ctrl-c is not working on HP-UX

>I have even tried setting the "stty" using "stty intr ctrl-c".

 

What does stty show for intr?

I set mine with: stty intr ^c