X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADBB0397A4AD
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1589535306;
	bh=jt2wQQ1RwsYgt77uZ+2xol1yw2YoBuyTINhBHrVA4ck=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=sf5kXh9aasfJDUiqYPz6fUI8BaWlfyw0wVbRxyNIeJmbYd5S+86ME83Sv5inSB9yy
	 kjxSWfPnYw22/WSReVDaU5w2v6kOOpQdqrLwoXXWjhImt35HfoRIgO26MiCyguHeTx
	 Ds7QHLf9O+wfqV/5RVtqoV4TFjNXxtMlxlys5rjY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 34CD839730FB
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=BU0TqC+hyvPboWNJ3WchK0DxEqW42tIA91VzA1rGz6I=;
 b=nqe0MIoH0NBx4n/FHi679olMTi/BnMtLCgmFmrfHPeY9KS4Dla6H2hv9fF7Kggf6n7
 k4uQgv17+GLMFTylBGW7u8kQL+Gs7C6e+rn0oGnHVz1eLTaGb55UGkJWxS3rwjsdMixy
 NVNOD6iTg1o+1aBmy6NmTjubObS836hcXqmd+Xti48PrzJktpAdEvp4S8OmtDy0MOiAy
 BL5Rrm0Ts3b/bHE3CnR+USzG8xAbJQtmTwcEJqSD4tWLTWSDZDf1rjLmlZtxXeEw6d+0
 FC/niEd7hafm/1/yUe4XPFLFFDcEKpAQtG+vIQllNQW4bhxNv7Px3FZ2mYoZnHe9+lyK
 By2w==
X-Gm-Message-State: AOAM5304Mz02zhUVKKhE6FYB8of0R5AmdfGnfC4njgHVB1qa8uAeUZWV
 dsR0tYKLDqjhTLUCy2us7TKOquOnQV+X8j2EkSc=
X-Google-Smtp-Source: ABdhPJxq1PBLjDvqodE9JIU8nja8pgrvrRwCEHnr/16sOEnzniu7BDtrSnIeOoPPmEnAIG2eUTpPwom7JLFI54GukVo=
X-Received: by 2002:a2e:9b0f:: with SMTP id u15mr1673410lji.272.1589535292837; 
 Fri, 15 May 2020 02:34:52 -0700 (PDT)
MIME-Version: 1.0
References: <CABPLASQ=PJV_tYGvzuHV=-GPMrzfgVSHd+qP+bnkqOn9n8H6Zw@mail.gmail.com>
 <20200513193421.0de070302883f349c14ad5de@nifty.ne.jp>
 <CABPLASQf4L0WN6wOFd2C6=6ZY1hM9mCL6LaNLsQRa4yGbP6=Mw@mail.gmail.com>
 <20200514123306.46d94d4b32990a0b240368b9@nifty.ne.jp>
 <CABPLASRcCSo0Gu8KoaFU7uMeJ+ehh-V_PJymAhLTczegUQq+_A@mail.gmail.com>
 <20200515084748.d022767d66b44b870d36bd4d@nifty.ne.jp>
In-Reply-To: <20200515084748.d022767d66b44b870d36bd4d@nifty.ne.jp>
Date: Fri, 15 May 2020 11:34:33 +0200
Message-ID: <CABPLASQTuP+VmaCvCfZOa6=w+CTu5EUAX+rJndJ5-4_SO1sAew@mail.gmail.com>
Subject: Re: Console doesn't work correctly under anything else than cmd or
 mintty
To: Takashi Yano <takashi.yano@nifty.ne.jp>
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Kacper Michajlow via Cygwin <cygwin@cygwin.com>
Reply-To: Kacper Michajlow <kasper93@gmail.com>
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 04F9ZZvS031292

On Fri, 15 May 2020 at 01:47, Takashi Yano <takashi.yano@nifty.ne.jp> wrote:

> Please check the result of
> xxd
> Ctrl-V Backspace Enter Ctrl-D
>


Here is comparison with running ssh connection to the same machine in WT
and Mintty. Also I noticed that selecting and copying multi-line output of
stty in Windows Terminal was missing new line and was filled with spaces to
the end on terminal window.

Windows Terminal:

$ echo $TERM
xterm-256color
$ stty
speed 38400 baud; line = 0;
eol = M-^?; eol2 = M-^?;
-brkint -imaxbel iutf8
-echoe -echok -echoctl -echoke
$ xxd
⌂
00000000: 7f0a                                     ..
$ stty -a
speed 38400 baud; rows 38; columns 139; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 =
M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke -flusho -extproc

Mintty:

$ echo $TERM
xterm-256color
$ stty
speed 38400 baud; line = 0;
eol = M-^?; eol2 = M-^?;
-brkint ixany iutf8
$ xxd
^?
00000000: 7f0a                                     ..
$ stty -a
speed 38400 baud; rows 41; columns 135; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 =
M-^?; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc ixany imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke -flusho -extproc

--
In local session, both Mintty and WT in xxd test produce:
00000000: 0a

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

