[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CTRL-C Doesn't work??!! ....

[ about Ctrl-C having no effect ]

> So... in conclusion:  Ctrl-C is working fine - the signal is being
> received.  However, the shell isn't killing the running process....
> Any ideas would be greatly appreciated.

Doesn't Ctrl-C work for any program at all?  It does not work for a lot
of interactive programs when they are expecting input.  In those cases
you can usually press Ctrl-Z to stop the program, read the number in
brackets that bash prints, and use that in a kill command, like this:

$ xclock
[ press Ctrl-Z ]
[1]+  Stopped                 xclock
$ kill %1

If you cannot kill a non-interactive program like xclock with Ctrl-C, I
don't know what is going on.  Note however that specific programs can
choose to ignore Ctrl-C.  I do not believe programs can choose to ignore
a stop signal (Ctrl-Z).


 E.L. Meijer (tgakem@chem.tue.nl)
 Eindhoven Univ. of Technology
 Lab. for Catalysis and Inorg. Chem. (SKA)

Reply to: