LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Ctrl + C is nt working ?????????????? (https://www.linuxquestions.org/questions/linux-general-1/ctrl-c-is-nt-working-280789/)

mehuljv 01-22-2005 06:15 AM

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

Muzzy 01-22-2005 06:27 AM

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.

makuyl 01-22-2005 07:35 AM

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

mehuljv 01-24-2005 06:12 AM

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

mehuljv 01-24-2005 07:11 AM

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

Muzzy 01-24-2005 07:50 AM

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.

mehuljv 01-25-2005 12:11 AM

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??..

makuyl 01-25-2005 05:34 AM

Easier to just use: ping -c 2 IPNUMBER
that will ping twice.

JrLz 01-26-2005 06:35 AM

Did you have it since your first install?

mehuljv 01-26-2005 11:13 PM

hi...
no previously this was working properly... i m facing this problem frm last one month...

Mehul

mehuljv 02-01-2005 11:49 PM

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


All times are GMT -5. The time now is 02:15 PM.