delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/03/01:20:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0F02E385742C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Message-ID: <55c9c2b8-ccab-db63-1cf2-6d989c581260@towo.net>
Date: Tue, 3 May 2022 07:19:44 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Subject: Re: mintty phantom key presses
To: cygwin AT cygwin DOT com
References: <CAA=0bEORh1+OiRZOWz5HVYCfDUM8kjF54EXeWvtnYsCij6vfBA AT mail DOT gmail DOT com>
From: Thomas Wolff <towo AT towo DOT net>
In-Reply-To: <CAA=0bEORh1+OiRZOWz5HVYCfDUM8kjF54EXeWvtnYsCij6vfBA@mail.gmail.com>
X-Provags-ID: V03:K1:MEPEltBVkoh7p3GGLx4po7ywFuRpfjqdn5OEVhK/8UBC5iZUiZ2
fiHsD3PAIE3C4lIEbiMC8le40JLCqOXLraGaUH5s42244SkfDqwHA/IDHo88FCEWLmnicGS
Hmu2RWR50aDKHudXVnn3G0PI2VeUPoEB04k8eiOs539AJVnDdAdUq/NzlB9Xi248jzWjJID
tUvezce+TqHHn7wf3fQng==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Q9inskpepg8=:4AazG2V8pjjAUY3OKoN7A2
w67G7CFn5WII9GuSQ0wCUy2d7YsslPfa7acuBAP0UDUIx+OPOsD56xkYJqMnWEadMBjSO5vyr
64WwIlbZbsa1upjn2/V8uWDLUUhkQkVKykcO8K7T9H0wUd7jwgS2k4wowLnHfuPu5hk9RCEU3
uC8ArbWZwfyNIKHvEgtqo/eaJh+LHQABQFRkTu84DleE7Dte68W6A7Up0TvCvl2nO4amdGmsD
YCVbRV97AAf+Sb1agWSBhoObc2iiaGkDq3A+JaxrJxRPhhEYFchNw+1IZCBp34Os+GaTGwN/o
gni2dblgUx+6kkGVAg3ql7qi/lDf4xskfSl7zi7AbQbcXrGWy1ZDMRMZU1/zbft5IYl4R5wpk
N6AUZd0Svq7gGUafjogwew0zIX1TRIIEoev4nkoMEFcmUEtfk6NLi7Eu8rhnnUJ5S4BsBMEd3
LReKPOkucZiWm+YdugZXxcdG2B88TThdOGA0WEE7Hmqkg1Lv5lqm0mdgS7xVKD6oJsdL0tHCg
sfuaxU7Xwk+bGnQ5AIXcwe1l0VX6a+8g9DktXl4p+LpDf864iY6H2JJ77cUgEtBlafXG3aope
mI36An1WkT8iZtg4jLiCPSa6ng0Cyk8fTtdGqFWhzgJFG5mAli5oVwPjkqbruiI8LmtxXnPb4
2vzwzLzza+mNmEjKkoZUTZOFHEYS2h8f9DxqHFGbqjp2/6AhVg7j5Ogn0jd1WazPQaX4=
X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Am 02.05.2022 um 23:54 schrieb Eric Adams:
> Hi,
>
> I had previously reported this issue as "Possible phantom control-key state..."
>
> I observe that moving between cygwin mintty windows and Windows
> windows causes unexpected behavior in the cygwin world.
>
> I took a new approach, using vi :) . In cygwin, I open a new file,
> enter insert mode, hit Ctrl-V, and mouse out of the window. When I
> mouse back into the cygwin edit window, my screen contains the display
> string "^[[O" (note that the "^[" is vi-speak for "esc"). Examining
> the resulting file with od shows:
>> od -ah fdsa
> 0000000 esc   [   O  nl
>                 5b1b    0a4f
>
> Here, the nl character is inserted by vi.
>
> This smells like an incomplete escape sequence. If it's left at the
> command line, just waiting for the user to type something, there might
> be trouble.
>
> Am I completely off?
> Thanks,
> Eric Adams.
CSI O is the focus off notification (CSI I is the focus in notification).
Someone has switched on focus reporting mode (CSI ? 1004 h) in your 
session (and isn't catching the notifications).
Run your application in a fresh mintty, with no other software, to test.
Thomas

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019