From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754237Ab2ALQmM (ORCPT ); Thu, 12 Jan 2012 11:42:12 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:45683 "HELO oproxy3-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752948Ab2ALQmJ (ORCPT ); Thu, 12 Jan 2012 11:42:09 -0500 Message-ID: <4F0F1AFA.1080900@xenotime.net> Date: Thu, 12 Jan 2012 09:40:10 -0800 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Paulius Zaleckas CC: mmarek@suse.cz, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] menuconfig: add Home and End keys support for inputbox References: <20120109113633.24486.69758.stgit@localhost6.localdomain6> <20120109113641.24486.95511.stgit@localhost6.localdomain6> <4F0B6845.4080503@xenotime.net> <4F0C75A5.6000000@xenotime.net> <4F0DDF08.1000005@xenotime.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/12/2012 06:24 AM, Paulius Zaleckas wrote: > On Wed, Jan 11, 2012 at 9:12 PM, Randy Dunlap wrote: >> On 01/11/2012 01:21 AM, Paulius Zaleckas wrote: >>> On Tue, Jan 10, 2012 at 7:30 PM, Randy Dunlap wrote: >>>> On 01/10/2012 03:50 AM, Paulius Zaleckas wrote: >>>>> On Tue, Jan 10, 2012 at 12:20 AM, Randy Dunlap wrote: >>>>>> On 01/09/2012 03:36 AM, Paulius Zaleckas wrote: >>>>>>> Makes long string editing easier. >>>>>>> >>>>>>> Signed-off-by: Paulius Zaleckas >>>>>> >>>>>> Hi, >>>>>> >>>>>> Does "default hostname" in the "General setup" menu use an inputbox? >>>>> >>>>> Yes, it does. >>>>> >>>>>> If so, I can't get Home and End keys to work for it. >>>>> >>>>> Strange. It works for me. Have you applied both patches? >>>> >>>> Yes, I have both patches applied. >>> >>> Ok this is really very strange, but I have made debug patch. See attachement. >>> It will print octal pressed key value just below the text field. >>> >>> From curses.h: >>> #define KEY_HOME 0406 /* home key */ >>> #define KEY_END 0550 /* end key */ >>> >>> Do you get the same values for Home and End keys? I do. >> >> All that I see in the inputbox when I use Home or End is: >> >> 033 >> >> (ESCape key) > > Is it working with nconfig? When I try to edit "Default hostname" in nconfig and press Home or End keys, nconfig acts like I just pressed F7 and it gives me the "what config file name do I want to load" prompt. >> Could this have anything to do with me using xfce (xfce4)? > > I have xfce at home. Will try it later today. Thanks. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***