- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Control C not working
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
07-18-2006 04:32 AM
07-18-2006 04:32 AM
Control C not working
output of stty -a
speed 9600 baud; line = 0;
rows = 42; columns = 125
min = 1; time = 1;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2
stop = ^S; start = ^Q; susp = ^Z; dsusp
werase
parenb -parodd cs7 -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
echo $TERM
xterm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:41 AM
07-18-2006 04:41 AM
Re: Control C not working
Does it work on a remote login with vt100 TERM?
If not, I suspect its been overrriden with your system configuration.
Perhaps the termcap file does not support it or if it does work from other logins, perhaps a physical issue with the keyboard.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 04:43 AM
07-18-2006 04:43 AM
Re: Control C not working
You can al least find out what you shell is set to do by simply doing a "trap" but this tells you very little about what any processes lauched from this shell will do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 06:23 AM
07-18-2006 06:23 AM
Re: Control C not working
I am using a remote session only.
On other machine if i type command on the prompt and before pressing enter if i press ctrl-c it terminates and prompt use to come.
But on this machine if I press ctrl-c nothing happens.it stays in same line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 07:06 AM
07-18-2006 07:06 AM
Re: Control C not working
stty -a
trap
That should be sufficient to identify what is going on. I am making the assumption that you are simply as the shell prompt when you speak of using the Ctrl-C key.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 02:57 AM
07-27-2006 02:57 AM
Re: Control C not working
the output trap shows as given below.
# trap
trap -- 'echo '\''logout root'\' EXIT
I am using putty to connect all boxes. only in this box the ctrl c is not working i have checked ssty -a uotput on both machine there is no difference.
So not sure why its not working on this box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 03:46 AM
07-27-2006 03:46 AM
Re: Control C not working
assuming you are set -o vi.
stty intr ^v^C
yes press ctl v
see if that fixes it for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 04:15 AM
07-27-2006 04:15 AM
Re: Control C not working
If i am typing crtl V nothing is happeing on screen it is same as when it was ctrl C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2006 04:25 AM
07-27-2006 04:25 AM
Re: Control C not working
Can you connect to one of the machines where ^C works, then ssh from there to the one that isn't and see if ^C works? That would eliminate putty configuration as a factor.