lkml.org 
[lkml]   [2012]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] menuconfig: add Home and End keys support for inputbox
On 01/13/2012 07:35 AM, Paulius Zaleckas wrote:
> On Thu, Jan 12, 2012 at 7:40 PM, Randy Dunlap <rdunlap@xenotime.net> wrote:
>> On 01/12/2012 06:24 AM, Paulius Zaleckas wrote:
>>> On Wed, Jan 11, 2012 at 9:12 PM, Randy Dunlap <rdunlap@xenotime.net> wrote:
>>>> On 01/11/2012 01:21 AM, Paulius Zaleckas wrote:
>>>>> On Tue, Jan 10, 2012 at 7:30 PM, Randy Dunlap <rdunlap@xenotime.net> wrote:
>>>>>> On 01/10/2012 03:50 AM, Paulius Zaleckas wrote:
>>>>>>> On Tue, Jan 10, 2012 at 12:20 AM, Randy Dunlap <rdunlap@xenotime.net> wrote:
>>>>>>>> On 01/09/2012 03:36 AM, Paulius Zaleckas wrote:
>>>>>>>>> Makes long string editing easier.
>>>>>>>>>
>>>>>>>>> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
>>>>>>>>
>>>>>>>> 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.
>
> I have just tried with xfce daefault terminal and had no problems.


Ah, you nailed it with that comment. Yes, it works with "Terminal".
I was using rxvt, not Terminal. Sorry for the confusion.


--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


\
 
 \ /
  Last update: 2012-01-13 17:53    [W:0.043 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site