From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzNff-00042I-Lk for qemu-devel@nongnu.org; Wed, 26 Oct 2016 08:51:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzNfb-0007a0-2w for qemu-devel@nongnu.org; Wed, 26 Oct 2016 08:51:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43960) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzNfa-0007Yt-Tj for qemu-devel@nongnu.org; Wed, 26 Oct 2016 08:51:03 -0400 Message-ID: <1477486260.18984.54.camel@redhat.com> From: Gerd Hoffmann Date: Wed, 26 Oct 2016 14:51:00 +0200 In-Reply-To: <20161015172439.GA16269@var> References: <1466610278-22670-1-git-send-email-samuel.thibault@ens-lyon.org> <20161015172439.GA16269@var> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Reduce curses escdelay from 1s to 0.2s List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: Peter Maydell , QEMU Developers On Sa, 2016-10-15 at 19:24 +0200, Samuel Thibault wrote: > Hello, >=20 > Peter Maydell, on Wed 22 Jun 2016 21:49:04 +0100, wrote: > > On 22 June 2016 at 16:44, Samuel Thibault wrote: > > > By default, curses will only report single ESC key event after 1s del= ay, > > > since ESC is also used for keypad escape sequences. This however make= s users > > > believe that ESC is not working. Reducing to 0.2s provides good enoug= h user > > > experience, while still allowing 200ms for keypad sequences to get in= , which > > > should be more than enough. > >=20 > > That the default delay is this massive seems like a bug in curses, > > but I don't suppose it's likely to be changed at this point :-( >=20 > So, could this be applied? Otherwise e.g. DOS applications ESC actions > are very slugguish and thus look bogus in the ncurses UI. Somehow slipped through and not in my qemu-devel folder any more. Can you resend? thanks, Gerd