Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1494987imm; Fri, 8 Jun 2018 18:01:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKnjWXx/5WSeg6qsF99NkCcXjwZ+LjnzQq/Ip00gl1c2UU2ldc/PxD4JXKC5y7SgI6DsvSc X-Received: by 2002:a65:4aca:: with SMTP id c10-v6mr3605544pgu.327.1528506083588; Fri, 08 Jun 2018 18:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528506083; cv=none; d=google.com; s=arc-20160816; b=DrQEZz7f+8O/G6SVZLR+ApyoqmZ9sHV4EMm92O7JGxAP5YNW6e3gSYOPpLQk/nJ1ob Sfm/4/K23z4W2eeDBnxac9Xh1uVII9K8g9TkbRYB7yu9w2s5fe0VpnTJQPsIld388ntc QPZ/iA2ieD5tzur3EYrRoWheLIwybr83zk0DRCpub1l6Bv0vrR/ntTZry1E45rgAW0Lh YBChGanMEUGlGGDFgRcii04TVzLxgkrMokR3uLY6Sq30DO5Rs6XkYtFIg+Wjsprhfh91 /v18Hhk9CmKAvrOhCg2t770mRK50zN6xiPxqz8hXpLouSY0nCfNykOixUqLVlB97K22n KgQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature :arc-authentication-results; bh=+WqD372uH1apl7sTnyrF7NAMvyiLBmGXCcCVfCfZu1Q=; b=hHt0/JjcV+Tlae8h9zsb/Xnf3B9sVZtJOL2ASSE0iEu0bupiRbw35Vtx42Uy9kUt9e 8dm/TFA5erXsc3u38UI+Y7eFB9hisCFcNkL1vUvhnUAJ8t3RNtFPcR+Bt/kIz6E3XvEY 8FqU3Mf4Nar7L2E7NRVC40kDQ6ZsnBpBNJYzOuPTlx7aXMdMsnkJbBrF9JoSG2Sa4WSv 6t4AOXFETLqjXJ2c3lGmLirZwWywsMxN6xwMPo+YdRX8HwA/kzSzgsiaiVkzWe2ejUnb 05GUwkVrfvVsVb4wp6t87QCHSmf45HzbZlAQ9qdX1ZscPibmKmFvp2pCFKVNWR40lW39 W5gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=It4wVb2M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si31214735plz.379.2018.06.08.18.00.33; Fri, 08 Jun 2018 18:01:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=It4wVb2M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753133AbeFIA7k (ORCPT + 99 others); Fri, 8 Jun 2018 20:59:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35780 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752911AbeFIA7i (ORCPT ); Fri, 8 Jun 2018 20:59:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To: Subject:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+WqD372uH1apl7sTnyrF7NAMvyiLBmGXCcCVfCfZu1Q=; b=It4wVb2MsrKmyZ9ck69rxhBFG C9k7nIVX0pVmGRbytxNiOWAmTpEy5bZ2tJKJUY4MpEGPcDeKmggdg0jDwRCVnE4SyzHB0NUbGNhY3 7vw+oRutyNoFtPdjBixU6SiMBUu1C8VWwET/2nm3dxJa3jMtINv90B93U8zW83DOo+tj1X0l4oL0u ++BSTi8rzu/v4VQQOxM3fqa4BGAl3in76+E2CMhx+IaXrEvM8Y+hHXbpTPyXvJ+fNRheIJ+ee75gM lqwyrhq1DFVuRdnqLHVN8nlouaCRJQY5gjqdrOE4FdqxiHKeKvIJ6CJY24wayDFcMlEKbWCI0k8ts gIpDhSdxA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fRSE6-0004gs-91; Sat, 09 Jun 2018 00:59:30 +0000 Subject: Re: [RFC v4 1/1] i-search functionality for mconf To: Dirk Gouders , Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool , Sam Ravnborg References: <20180608184606.5029-1-dirk@gouders.net> <20180608184606.5029-2-dirk@gouders.net> From: Randy Dunlap Message-ID: <6cd5ead5-c24e-d2e2-e87e-eb2c1f7b5672@infradead.org> Date: Fri, 8 Jun 2018 17:59:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180608184606.5029-2-dirk@gouders.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/08/2018 11:46 AM, Dirk Gouders wrote: > This patch prototypes isearch functionality for mconf based on an idea of > Sam Ravnborg: > > * mconf now distinguishes if the focus is on the menu items or the > buttons below it. > > * At startup focus is on the menu items and alphanumeric > characters or space entered are used to form a string that is > searched for. > > * BACKSPACE is used to remove the last character of the search string. > > * ENTER can be used to enter a submenu. > > * Horizontal arrow keys put focus on the buttons with the known > behavior. > > * The TAB key is now exclusively used to toggle the focus. > > * Vertical arrow keys work anywhere. > > * When the focus is on the buttons, all keys (e.g. hotkeys) work the > same as before this change. > > * '\' can be used to search for other occurences of an already entered > string. > > * To use y|n|m on an item, focus has to be on the buttons. > > An example to navigate into the USB support menu under Device Drivers: > > 1) de # Navigates to the item "Device Drivers" > 2) ENTER # Enter the submenu > 3) USB # Navigate to the item "USB support" > 4) ENTER # Enter the submenu Hi Dirk, Much like Sam, I got locked in isearch mode. The TAB key would not switch into the buttons focus. I had to kill it. -- ~Randy