From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id 34CD839730FB for ; Fri, 15 May 2020 09:34:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 34CD839730FB Received: by mail-lj1-x231.google.com with SMTP id j3so1494934ljg.8 for ; Fri, 15 May 2020 02:34:54 -0700 (PDT) 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: <20200513193421.0de070302883f349c14ad5de@nifty.ne.jp> <20200514123306.46d94d4b32990a0b240368b9@nifty.ne.jp> <20200515084748.d022767d66b44b870d36bd4d@nifty.ne.jp> In-Reply-To: <20200515084748.d022767d66b44b870d36bd4d@nifty.ne.jp> From: Kacper Michajlow Date: Fri, 15 May 2020 11:34:33 +0200 Message-ID: Subject: Re: Console doesn't work correctly under anything else than cmd or mintty To: Takashi Yano Cc: cygwin@cygwin.com 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2020 09:35:04 -0000 On Fri, 15 May 2020 at 01:47, Takashi Yano 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 =3D 0; eol =3D M-^?; eol2 =3D M-^?; -brkint -imaxbel iutf8 -echoe -echok -echoctl -echoke $ xxd =E2=8C=82 00000000: 7f0a .. $ stty -a speed 38400 baud; rows 38; columns 139; line =3D 0; intr =3D ^C; quit =3D ^\; erase =3D ^?; kill =3D ^U; eof =3D ^D; eol =3D M-= ^?; eol2 =3D M-^?; swtch =3D ; start =3D ^Q; stop =3D ^S; susp =3D ^Z; rprnt =3D ^R; werase =3D ^W; lnext =3D ^V; discard =3D ^O; min =3D 1; time = =3D 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 =3D 0; eol =3D M-^?; eol2 =3D M-^?; -brkint ixany iutf8 $ xxd ^? 00000000: 7f0a .. $ stty -a speed 38400 baud; rows 41; columns 135; line =3D 0; intr =3D ^C; quit =3D ^\; erase =3D ^?; kill =3D ^U; eof =3D ^D; eol =3D M-= ^?; eol2 =3D M-^?; swtch =3D ; start =3D ^Q; stop =3D ^S; susp =3D ^Z; rprnt =3D ^R; werase =3D ^W; lnext =3D ^V; discard =3D ^O; min =3D 1; time = =3D 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