Re: can't ctrl-c

From: Bruce Harvey (BruceH@ROUTESCAPE.COM)
Date: Thu Aug 14 2003 - 11:39:54 EDT


Perform 'stty -a' at the command line.

See what 'intr' (interrupt) is assigned ... If it says ^C, then you may
be in a subshell of a program. VI, for example, manages the interrupt
character FOR you, so that if you shell out of VI, interrupt doesn't
work properly (it's intercepted, or remapped ... It's been a while).

If it doesn't say ^C, then use that character for interrupt, or perform

        stty intr ^C ... (press CTRL-C here, not the two
characters)

I don't know why in your case it should be different, but we do things
in /etc/profile as well.

----------------------------------------
bth@comcast.net -- bruceh@routescape.com
443-465-1204 (personal) -- 410-403-2390 (office)
-------------------------------------------

-----Original Message-----
From: Shawn Bierman [mailto:BiermanS@METHODISTHEALTH.ORG]
Sent: Thursday, August 14, 2003 11:22 AM
To: aix-l@Princeton.EDU
Subject: [aix-l] can't ctrl-c

What would prevent my from being able to ctrl-c a ping, or any other
little app like that? This is a 4.3.3 node. I don't see any traps in
the /.profile or /.kshrc or /etc/environment. This happens as root
aswell as with my skeleton user account. What could cause this?

-shawn



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:07 EDT