unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).