LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-22-2005, 07:15 AM   #1
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Rep: Reputation: 15
Ctrl + C is nt working ??????????????


hi...

I am using Red Hat 8.0.. Bt in my machine Ctrl + C is nt working . i have checked with the stty -a , it shows [intr=^C]. Bt still it is nt working so each time i have to kill the process after doing ^Z. plz give me some solution for this thing.. tks in advance..

Bye
Mehul
 
Old 01-22-2005, 07:27 AM   #2
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
Many programs use Ctrl-C to do something special:

1) In most console programs, it aborts the program.
2) In emacs it is part of an extended keyboard shortcut.
3) In many programs with a GUI it is a shortcut for 'Copy'.

What program are you trying to abort?

Regards,
Mark.
 
Old 01-22-2005, 08:35 AM   #3
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Ctrl-Z doesn't usually kill the process, just puts it to background so you have to type fg to get it back.
Try killing with xkill or killall progname or do ps fax to get the PID and do kill -9 PIDnumber
 
Old 01-24-2005, 07:12 AM   #4
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Ctrl+C is nt working ....

hi ,

i m trying to ping to other machine. even any other program i m nt able to terminate from shell. say i have started an open office application and if i do ctrl+C in shell then it is nt responding me. so plz tell me wt should i do??? should i reinstall linux again to make it work or what ???

Regards
Mehul
 
Old 01-24-2005, 08:11 AM   #5
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Ctrl + C nt wroking ..

hi ,

i m trying to ping to other machine. even any other program i m nt able to terminate from shell. say i have started an open office application and if i do ctrl+C in shell then it is nt responding me. so plz tell me wt should i do??? should i reinstall linux again to make it work or what ???

Regards
Mehul
 
Old 01-24-2005, 08:50 AM   #6
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
Ctrl-C in the shell just gives you an empty prompt. It doesn't kill any processes.

What are you trying to do? Why are you trying to kill OpenOffice? Can't you just select 'Exit' from the File menu? It is not usually a good idea to use Ctrl-C unless there is no other way to exit the program.

Regards,
Mark.
 
Old 01-25-2005, 01:11 AM   #7
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Original Poster
Rep: Reputation: 15
Ctrl + C nt working...

hi mark,

i didnt get u.. wt i understood is that Ctrl+C will send a kill signal to the running process.. so it should kill the process. i m trying to kill a ping process. when i give "ping <ip address>" this process will ping infinitely so for killing this process i use Ctrl+C. So plz tell me wt could be the problem??..
 
Old 01-25-2005, 06:34 AM   #8
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Easier to just use: ping -c 2 IPNUMBER
that will ping twice.
 
Old 01-26-2005, 07:35 AM   #9
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
Did you have it since your first install?
 
Old 01-27-2005, 12:13 AM   #10
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Original Poster
Rep: Reputation: 15
hi...
no previously this was working properly... i m facing this problem frm last one month...

Mehul
 
Old 02-02-2005, 12:49 AM   #11
mehuljv
Member
 
Registered: Nov 2004
Posts: 72

Original Poster
Rep: Reputation: 15
hi..

i got the solution for this problem.... actually tht was a silly mistake ... some body has changed the shell key binding configuration ( Ctrl+C for Copy) ... thts why it was nt working... ha ha ha... sorry.... fr silly mistake...


Bye.
Mehul
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl key stopped working rundjuling Linux - Hardware 2 01-27-2005 08:04 PM
bash ctrl+a not working! SteveGodfrey Linux - General 3 09-10-2004 08:48 AM
ctrl + c is not working! Bug Linux - Software 0 07-06-2004 10:19 AM
ctrl-C not working o_O;; kiddo Linux - Newbie 2 06-12-2004 05:20 PM
ctrl+ c ctrl +v not working in windows xp Astro General 3 10-20-2003 09:42 PM


All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration