all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can't kill processes as root in *shell*
@ 2003-10-22 10:42 Brendan Halpin
  2003-10-23 20:06 ` Kevin Rodgers
  2003-10-23 20:15 ` Kin Cho
  0 siblings, 2 replies; 4+ messages in thread
From: Brendan Halpin @ 2003-10-22 10:42 UTC (permalink / raw)


In shell-mode, if I "su -", I find that C-c C-c no longer works to
kill processes. 

This can be inconvenient. Any solutions or insights?

Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476; Room F2-025 x 3147
mailto:brendan.halpin@ul.ie  http://www.ul.ie/sociology/brendan.halpin.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't kill processes as root in *shell*
  2003-10-22 10:42 Can't kill processes as root in *shell* Brendan Halpin
@ 2003-10-23 20:06 ` Kevin Rodgers
  2003-10-24  8:33   ` Brendan Halpin
  2003-10-23 20:15 ` Kin Cho
  1 sibling, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2003-10-23 20:06 UTC (permalink / raw)


Brendan Halpin wrote:

> In shell-mode, if I "su -", I find that C-c C-c no longer works to
> kill processes. 

Works for me.  What version of Emacs are you using, on what platform?
What shell do you use?  (I assume root uses /bin/sh.)  What command are
you trying to interrupt?  (I assume it's not a pipeline or a subshell.)


-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't kill processes as root in *shell*
  2003-10-22 10:42 Can't kill processes as root in *shell* Brendan Halpin
  2003-10-23 20:06 ` Kevin Rodgers
@ 2003-10-23 20:15 ` Kin Cho
  1 sibling, 0 replies; 4+ messages in thread
From: Kin Cho @ 2003-10-23 20:15 UTC (permalink / raw)


Brendan Halpin <brendan.halpin@ul.ie> writes:

> In shell-mode, if I "su -", I find that C-c C-c no longer works to
> kill processes. 

Try C-q C-c <return>.

-kin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can't kill processes as root in *shell*
  2003-10-23 20:06 ` Kevin Rodgers
@ 2003-10-24  8:33   ` Brendan Halpin
  0 siblings, 0 replies; 4+ messages in thread
From: Brendan Halpin @ 2003-10-24  8:33 UTC (permalink / raw)


Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Brendan Halpin wrote:
> > In shell-mode, if I "su -", I find that C-c C-c no longer works to
> > kill processes.
> 
> Works for me.  What version of Emacs are you using, on what platform?
> What shell do you use?  (I assume root uses /bin/sh.)  What command are
> you trying to interrupt?  (I assume it's not a pipeline or a subshell.)

21.2 under RH9, 21.3 under RH7.1, root is using /bin/bash. Ordinary
"single" commands, e.g. "ping www.ul.ie".

To my surprise, Kin Cho's suggestion of C-q C-c RET works,
reminding me how little I know about Emacs and its underlays.


Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476; Room F2-025 x 3147
mailto:brendan.halpin@ul.ie  http://www.ul.ie/sociology/brendan.halpin.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-24  8:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-22 10:42 Can't kill processes as root in *shell* Brendan Halpin
2003-10-23 20:06 ` Kevin Rodgers
2003-10-24  8:33   ` Brendan Halpin
2003-10-23 20:15 ` Kin Cho

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.