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 A3BD03858413 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yy7yJFe77ZWYlbOA1LqkmELG7XA/vXH+0hSTOl84Gj0=; b=FRfCm25PomnBWMuuRTFdR8r/yga8XidVBkjkiKgOGNzb+Ym/Dcl5vbCapur3Qj5le4 Hn6pAJgBryFFaRnOrSDYlg9Wg6lr6mDPrMLpiihZ1lyRpvnroff8KfC0N4AOfDDTAneC 1oPcc2wbthAL/PPyG+8iWaadD0nQhIirPbkX0xWOCTk3iok+sxaixOnABZZpO7Uoj1dg k39itWqD8f0dMb79rWTyNyePNcjari1RkwhuOV3ozcW5zlG6qB3IqMEEblGl7IXP9IPH 2+Q2wtd3PDUkl5J5o27DyUBvbZ4pRVedvvFAi1mQs9PZ84k3F0if2srYGSuvgdlme3La LxWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yy7yJFe77ZWYlbOA1LqkmELG7XA/vXH+0hSTOl84Gj0=; b=uwBnB4SL7XafXzikKsnar61ALbg3M9veqUeQAkrgcCd3/omRUBAK/MT+tX6D6h634N djLMx8cPOVS1p+EzJXO16YjX697BpJSbyD+ROmzBCG5yNLzA4jPBhzYdAMivWIvWKsbl 23F7I5ruAxolG3EK8ah7w7GDL9K61yIuYuiz6XDyaPoAGxeI1PgWj2B211RrgVhachLp dwHmA4K5+OmIka56Nu75bTYW02LQ/FtKzHntpcxjLJiRkFxOACy5RqK1Eb9jmbON11RO qPuhGFfKgW9nzXtOcGJmjuQNDxz5XOtVbegAeeiXMfL6qpVFaSAs07OAfdKyzfiKMt1m 2zbQ== X-Gm-Message-State: AOAM532U+8Gi7G8eI8/OrrwqlR3CmM37Wla5wM/I9jgSnEG8yyAfHVV9 iLd79K+JIF0qkc+lG7g/anN5Hld/CEZNcQQ5SIc= X-Google-Smtp-Source: ABdhPJwrsP32QtR6UyMYp6/ZyCKPi786sCy3jKYEszPG/PpQYJvygK3SjDqgoFvssYenPSbVDMxDqwnfXSlgaaLxH7M= X-Received: by 2002:a05:6638:4093:b0:319:cae4:2eeb with SMTP id m19-20020a056638409300b00319cae42eebmr2930048jam.127.1647542426784; Thu, 17 Mar 2022 11:40:26 -0700 (PDT) MIME-Version: 1.0 References: <20220227235303 DOT 5d6239724ed83b145772134b AT nifty DOT ne DOT jp> <20220302081259 DOT 2a7e522ef1a9e3e6da0aa259 AT nifty DOT ne DOT jp> <20220303090208 DOT 4a04e35756b7868fe9b4701d AT nifty DOT ne DOT jp> <20220312063625 DOT 9ca3d42d4e2e941a13fa7909 AT nifty DOT ne DOT jp> In-Reply-To: <20220312063625.9ca3d42d4e2e941a13fa7909@nifty.ne.jp> From: Orgad Shaneh Date: Thu, 17 Mar 2022 20:40:15 +0200 Message-ID: Subject: Re: Typed characters are mis-ordered when CPU usage is high To: Takashi Yano X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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 List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Fri, Mar 11, 2022 at 11:36 PM Takashi Yano wrote: > I looked into this problem and found the cause. > This seems to be due to a bug of fsync(). Cygwin's fsync() > flushes the console input buffer unlike linux. > > I will propose a patch for this issue. > > -- > Takashi Yano Thank you very much. Looks better now. I'm sorry for nudging, but on msys2 I still get frequent mistypes when typing fast. I (still) don't have a consistent reproduction, but if I get it correctly, it looks like one or more characters I type right when the prompt appears show up before the buffered characters. For instance, I run git fetch, and while it is running I type git status, *sometimes* 1-2 characters "pop" to the left, so I get something like tgit satus. I wasn't able to reproduce it with cygwin, but on msys2 (with cygwin 3.3 branch merged in) it happens to me all the time :/ - Orgad -- 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