public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Keith Thompson <Keith.S.Thompson@gmail.com>
To: cygwin@cygwin.com
Cc: Keith Thompson <Keith.S.Thompson@gmail.com>
Subject: Terminal emulator hangs on Control-Z
Date: Sat, 04 Jan 2020 07:29:00 -0000	[thread overview]
Message-ID: <CAAHpriNXK1GnvAKZR8ovEOOuNzLuM0o71eS8g2sa0ajgS1kfUA@mail.gmail.com> (raw)

If I launch a terminal emulator running an interactive command,
then type Control-Z (which would normally suspend the command),
the terminal emulator hangs.  I see this with xterm, mintty, and
urxvt.

I don't see this behavior on Ubuntu, for example. There a Control-Z
is ignored.

Of course typing Control-Z isn't useful if there's no parent shell
to suspend to, but I often do so accidentally.

To reproduce, for example:

    mintty less file.txt

then type Control-Z in the mintty terminal.  The terminal window goes
blank, and can't be closed by clicking the "X" in the window frame.

I'm running the Cygwin X server in multiwindow mode:

    XWin -engine 2 -clipboard -multiwindow -emulate3buttons

(I don't remember why I use "-engine 2".  I don't *think* it's
relevant.  I'll try it later without that argument and post again if
it makes a difference.)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

                 reply	other threads:[~2020-01-04  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAHpriNXK1GnvAKZR8ovEOOuNzLuM0o71eS8g2sa0ajgS1kfUA@mail.gmail.com \
    --to=keith.s.thompson@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).