public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: akiki@free.fr
To: cygwin <cygwin@cygwin.com>
Subject: Bug with Windows 10 console
Date: Sat, 18 Apr 2020 14:42:16 +0200 (CEST)	[thread overview]
Message-ID: <29469422.-1641766844.1587213736605.JavaMail.root@zimbra76-e14.priv.proxad.net> (raw)
In-Reply-To: <535856733.-1642430415.1587202868364.JavaMail.root@zimbra76-e14.priv.proxad.net>

Hi, 
To day, all programs are upgraded permanently. A good and a bad thing.
Windows 10, cygwin ... 
One recent upgrade, I don't target exactly which one, has broken my environment. 


Current versions as reported by cygcheck : 
 Windows 10 Professional Ver 10.0 Build 18363 
 cygwin 3.1.4-1 OK
 bash 4.4.12-3 OK

I am using 2 kinds of console to interact with cygwin
 mintty : using pty as TTY
 bash under cmd : using cons as TTY

These two were working correctly until recently, but now only mintty stay correct.
  -- in reality it's seems
The principal difference is about Ctrl-C interaction.
With the 2nd kind of TTY, a same program using curses, on Ctrl-c
 interrupt the program
 give me a prompt
 but the terminal stay in curses mode, ie without echo and bad new line
I have to do "reset" (/bin/reset) to restore the terminal

So the interrupt handling has changed.
Who is responsible.

I had a look about the new Window Console Legacy.
With this new console, we saw a black screen with color bash prompt.
 
So with bash, is it possible to work with one or other TTY mode ?

Howto understand this problem and what can I do to correct it.
mintty present some problems with my environment and because of that I use the second form of TTY.

Sorry for my bad English.


       reply	other threads:[~2020-04-18 12:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <535856733.-1642430415.1587202868364.JavaMail.root@zimbra76-e14.priv.proxad.net>
2020-04-18 12:42 ` akiki [this message]
2020-04-18 14:05   ` Thomas Wolff
2020-04-19  3:02     ` Kevin Schnitzius
2020-04-22 19:50   ` Can't use strace on curses application akiki
2020-04-22 19:59     ` Marco Atzeri
2020-05-11 16:25     ` Very dangerous hacking ? Surprising relationship between cygwin and Microsoft akiki
2020-05-11 17:07       ` Doug Henderson
2020-05-11 18:35       ` David Macek
2020-05-11 19:53         ` Brian Inglis

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=29469422.-1641766844.1587213736605.JavaMail.root@zimbra76-e14.priv.proxad.net \
    --to=akiki@free.fr \
    --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).