linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paulius Zaleckas <paulius.zaleckas@gmail.com>
To: Randy Dunlap <rdunlap@xenotime.net>
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
Date: Fri, 13 Jan 2012 17:35:04 +0200	[thread overview]
Message-ID: <CAPiS6wAvG3Rde98dVoD+9dUm5ZjY6NUkXQ_JjFKtL9kNp3te9A@mail.gmail.com> (raw)
In-Reply-To: <4F0F1AFA.1080900@xenotime.net>

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.

  reply	other threads:[~2012-01-13 15:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09 11:36 [PATCH v2 1/2] menuconfig: basic string editing in inputbox support Paulius Zaleckas
2012-01-09 11:36 ` [PATCH v2 2/2] menuconfig: add Home and End keys support for inputbox Paulius Zaleckas
2012-01-09 22:20   ` Randy Dunlap
2012-01-10 11:50     ` Paulius Zaleckas
2012-01-10 17:30       ` Randy Dunlap
2012-01-11  9:21         ` Paulius Zaleckas
2012-01-11 19:12           ` Randy Dunlap
2012-01-12 14:24             ` Paulius Zaleckas
2012-01-12 17:40               ` Randy Dunlap
2012-01-13 15:35                 ` Paulius Zaleckas [this message]
2012-01-13 17:48                   ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPiS6wAvG3Rde98dVoD+9dUm5ZjY6NUkXQ_JjFKtL9kNp3te9A@mail.gmail.com \
    --to=paulius.zaleckas@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=rdunlap@xenotime.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).