all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Must use twice of "Ctrl + c" to terminate a process in the terminal emulator of Emacs.
@ 2021-05-31 23:46 Hongyi Zhao
  2021-06-01  7:42 ` Marcin Borkowski
  0 siblings, 1 reply; 2+ messages in thread
From: Hongyi Zhao @ 2021-05-31 23:46 UTC (permalink / raw)
  To: help-gnu-emacs

$ emacs

Then in Emacs, do the following testing:

M-x term RET
$ sudo tcpdump -i any port 8080 -w - |pv >/dev/null

I find, if I want to terminate the above spawned process, twice of
"Ctrl + c" must be used to do the job.

Any hints for this phenomenon?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



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

* Re: Must use twice of "Ctrl + c" to terminate a process in the terminal emulator of Emacs.
  2021-05-31 23:46 Must use twice of "Ctrl + c" to terminate a process in the terminal emulator of Emacs Hongyi Zhao
@ 2021-06-01  7:42 ` Marcin Borkowski
  0 siblings, 0 replies; 2+ messages in thread
From: Marcin Borkowski @ 2021-06-01  7:42 UTC (permalink / raw)
  To: Hongyi Zhao; +Cc: help-gnu-emacs


On 2021-06-01, at 01:46, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:

> $ emacs
>
> Then in Emacs, do the following testing:
>
> M-x term RET
> $ sudo tcpdump -i any port 8080 -w - |pv >/dev/null
>
> I find, if I want to terminate the above spawned process, twice of
> "Ctrl + c" must be used to do the job.
>
> Any hints for this phenomenon?

Isn't it expected?  See "Term mode" in the manual.

-- 
Marcin Borkowski
http://mbork.pl



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

end of thread, other threads:[~2021-06-01  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-31 23:46 Must use twice of "Ctrl + c" to terminate a process in the terminal emulator of Emacs Hongyi Zhao
2021-06-01  7:42 ` Marcin Borkowski

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.