delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
q=dns; s=default; b=qmmBX/ULpkd3kInX6IbnCQEpDdllvHGMDW99FjES8FX | |
lTS+YHUPFJa4iGxNCPiuHGZ4xCmSUpeJ5Py2R/S3DiQ9fU4wQoX8IcqN9K6vEHs0 | |
oc+PeZ7CtOj32rK84m8SZiuU2m6yrR4q12+IlQKNkYvPBSjMefG78/AK4DtCUMhg | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:in-reply-to | |
:references:mime-version:content-type:content-transfer-encoding; | |
s=default; bh=m5rqleSsdMx0Xc2kfroqDrg5Lwk=; b=XPFq9F5HfTkhbv3pc | |
NgPk7+o/256ZE26ICm8bCVBftIx022UMy+po3vti7IrCom5ESWbAcDsoQJ2raFvF | |
D9kdVo6M2B1H67exDlAgwWZL4DyE+PwS7NOA4bpmKqQ9mMash9efByYB1SW6g4vq | |
A4/v5/SVeowC3ySWDRGPN3yuwM= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=press, suddenly, 1940, displays |
X-HELO: | conssluserg-03.nifty.com |
DKIM-Filter: | OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 01FBowOF002847 |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1581767458; bh=6tmJRlvfO2zlCN11LJTPencStxqW6bw73uZAwYjV0bE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=OsLLW1FVsdB69jeeTzep8YVK0iVmwBFSWXPujYnZH+nRpC4I9PUPD9PsMx7jcEqhA 6QwIJ15eWyQVuS4kgl922GaAYydSSRbNP8DLWmL/oxWiT6Zg9dvT3EyJBeKMBT3tL4 AnJoapb9pBrkEsZAh7WeLgXsqonmdYqBt2cXzWU2yVlA4nbDP5CQeDbDcSkInBtSff IhY4tFOPTdPmRU7etGngoQ/w6nA7R2LtQ6GEpVtQv/J/YU7yi5Z+01xCr2MptAYOwb FpyF5lA8QZxSEhW5PJHqFgsnztvRjAtzLAnOnF3ADWoaER1NXY//qqACb1ZZcsEbyE IPgZyp/3zXI+g== |
Date: | Sat, 15 Feb 2020 20:51:04 +0900 |
From: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 3.1.2: possible Cygwin DLL console or pty bug when forwarding the stdout to less within the Windows-Console (cmd.exe Win10 build 1809, 1903, 1909) |
Message-Id: | <20200215205104.aca750ee55b504e31ab6eb37@nifty.ne.jp> |
In-Reply-To: | <7e48dac9-caa7-547f-042b-ca15360bb3a5@grieb.de> |
References: | <7e48dac9-caa7-547f-042b-ca15360bb3a5 AT grieb DOT de> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Note-from-DJ: | This may be spam |
On Fri, 14 Feb 2020 12:04:16 +0100 cygwin AT mg13 DOT computerpost DOT de wrote: > Since 3.1.1 (including current 3.1.3-snapshot) I have the problem > that escape sequences (single character, not the three letters "ESC", > plus "[...m") suddenly appear inside less, > and when I leave less, the cmd.exe console displays escape sequences at > the cursor up (down, left, right) and does not respond correctly to cls. > It seems that less initializes the console and while less prints > something, another program deinitializes the console. > With 3.0.7 cygwin1.dll it works fine. (But I want xterm256-color from > 3.1.x cygwin1.dll.) > > Here simple examples: > > 1) > C:\Users\slasch>ls C:\Windows | less -E +G > > C:\Users\slasch>^[[A > > > 2) > C:\Users\slasch>ls C:\cygwin64\bin | less # then press G and q > ... > -rwxr-xr-x 1 slasch slasch   1940 Aug 26 2016 zcat > -rwxr-xr-x 1 slasch slasch   1665 Aug 26 2016 zcmp > -rwxr-xr-x 1 slasch slasch   5667 Aug 26 2016 zdiff > -rwxr-xr-x 1 slasch slasch     29 Aug 26 2016 zegrep > -rwxr-xr-x 1 slasch slasch     29 Aug 26 2016 zfgrep > -rwxr-xr-x 1 slasch slasch   2038 Aug 26 2016 zforce > -rwxr-xr-x 1 slasch slasch   7444 Aug 26 2016 zgrep > -rwxr-xr-x 1 slasch slasch   2154 Aug 26 2016 zless > -rwxr-xr-x 1 slasch slasch   1816 Aug 26 2016 zmore > -rwxr-xr-x 1 slasch slasch   4392 Aug 26 2016 znew > [K[?1l>[?1049l[23;0;0t7[3g[1;9HH[1;17HH[1;25HH[1;33HH[1;41HH[1;49HH[1;57HH[1;65HH[1;73HH[1;81HH[1;89HH[1;97HH[1;105HH[1;113HH8 > C:\Users\slasch>^[OA^[OA > > > 3) # other PC other commands (Strawberry-Perl with "cmd.exe dir" stdout > forwarded to less) to show the single "escape character"(see attachment) > total 320[m > drwxr-xr-x+ 1 foo   foo                0 Feb 13 17:40 .[m > drwxr-xr-x+ 1 foo   foo                0 Feb 13 17:42 ..[m > -rwxr-xr-x 1 sadmin Administratoren 35147 Apr 30 2019 COPYING[m > -rwxr-xr-x 1 sadmin Administratoren 1458 Apr 30 2019 CYGWIN_LICENSE[m > -rw-r--r-- 1 foo   foo             2045 Dec 16 2017 > _autorebase.README[m > -rw-r--r-- 1 foo   foo             2653 Apr 5 2013 > alternatives.README[m > -rw-r--r-- 1 foo   foo             1694 Jul 9 2013 autoconf.README[m > -rw-r--r-- 1 foo   foo             2096 Jul 9 2013 > autoconf2.1.README[m > -rw-r--r-- 1 foo   foo             1806 Jul 29 2013 > automake1.9.README[m > -rw-r--r-- 1 foo   foo             4227 Apr 1 2019 autossh.README[m > -rw-r--r-- 1 foo   foo            17474 Jan 27 2017 bash.README[m > -rw-r--r-- 1 sadmin Administratoren 1468 Aug 9 2010 > build-docbook-catalog.README[m > -rw-r--r-- 1 foo   foo            13113 Feb 3 2017 coreutils.README[m > -rw-rw---- 1 foo   foo             1863 Apr 16 2013 ctags-5.8.README[m > -rw-r--r-- 1 foo   foo            20685 Jan 28 2015 cygrunsrv.README[m > -rw-r--r-- 1 sadmin Administratoren 8136 Apr 30 2019 cygserver.README[m > -rw-r--r-- 1 foo   foo             2303 Feb 17 2017 dash.README[m > -rw-r--r-- 1 foo   foo             3671 Mar 10 2016 diffstat.README[m > -rw-r--r-- 1 foo   foo             2749 Dec 7 2016 diffutils.README[m > -rw-r--r-- 1 foo   foo             1965 Oct 3 19:59 dos2unix.README[m > -rw-r--r-- 1 foo   foo              626 Oct 31 2014 > editrights.README[m > -rw-r--r-- 1 foo   foo             4829 Mar 11 2016 findutils.README[m > -rwxr-xr-x 1 foo   foo                0 Dec 13 09:28 gawk[m > :[K Thanks for the report. However, I cannot reproduce problem 1 and 3. I will submit a patch for the problem 2 shortly. -- Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |