Re: can't ctrl-c

From: Bruce Harvey (BruceH@ROUTESCAPE.COM)
Date: Thu Aug 14 2003 - 14:16:48 EDT


Is it a hardware port? Or is it a port that has its port settings in
SMIT? If so, did you examine SMIT? Half of our terminals and emulators
are set up so that CTRL-C is the interrupt, and half are set up so that
RubOut/Delete is the interrupt.

-------------------------------------------
Bruce T. Harvey (Manager, Special Projects)
-------------------------------------------
bth@comcast.net -- bruceh@routescape.com
443-465-1204 (cel) -- 410-403-2390 (off)
-------------------------------------------
Insight Distribution Systems / CoAxis, Inc.
Hunt Valley, Maryland U.S.A. 21031-1422
-------------------------------------------

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

It was indeed assigned to "^?". I can't find a reference to it anywhere
though, so I'm wondering why it is different from any of our other
nodes.

>>> BruceH@ROUTESCAPE.COM 8/14/03 10:39:54 AM >>>
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