Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6681

Re: ncurses on Linux how to capture F1 key?

From crankypuss <no@email.thanks>
Newsgroups comp.lang.php
Subject Re: ncurses on Linux how to capture F1 key?
Date 2012-07-28 05:50 -0600
Organization NewsGuy - Unlimited Usenet $19.95
Message-ID <jv0jmp12jel@news7.newsguy.com> (permalink)
References <jutra212bev@news6.newsguy.com> <591cbfc9-6e5f-497d-b84d-c225c1fbbce9@googlegroups.com> <juufm301b7q@news3.newsguy.com> <50a5726e-f706-4a98-8f47-e6644422f14f@googlegroups.com>

Show all headers | View raw


On 07/28/2012 05:45 AM, dickey@his.com wrote:
> On Friday, July 27, 2012 12:29:53 PM UTC-4, crankypuss wrote:
>> On 07/27/2012 05:00 AM, dickey@his.com wrote:
>>
>>> On Friday, July 27, 2012 6:42:09 AM UTC-4, crankypuss wrote:
>>
>>>> Using the C interface the incantation is &quot;keypad(stdscr, TRUE)&quot;
>>
>>>>
>>
>>>> What is the equivalent using the PHP interface to ncurses?
>>
>>>>
>>
>>>> Pressing F1 just brings up gnome help (running in xterm under ubuntu 11.10).
>>
>>>
>>
>>> that sounds as if you're using one of the vte-based hacks such as gnome-terminal,
>>
>>> which hijack some keys - have to fix that by undoing the item in their respective
>>
>>> setup dialogs.
>>
>>>
>>
>>
>>
>> I'm using "xterm" and also on a cli (non-GUI) login... terminal type is
>>
>> either "xterm" or "linux".  Less stuff grabbed as Linux console.
>>
>>
>>
>> Any additional pointers/keywords I can use to find out more about
>>
>> "undoing the item"?
>
> On a non-GUI login, I wouldn't expect a help-menu (puzzled there).  For xterm in a desktop, I suppose it's possible for the window-manager to have F1 bound (Mac OS X's settings do this with some of the function keys, though I've disabled most of those...).
>

On the non-GUI login the F1 key is readily available.

Other keys, like ctl-C and ctl-alt-D are firmly bound.

Can you offer any information about how to modify this on Linux?  I'm 
relatively new to Linux and don't know where that is controlled.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-27 04:42 -0600
  Re: ncurses on Linux how to capture F1 key? dickey@his.com - 2012-07-27 04:00 -0700
    Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-27 10:29 -0600
      Re: ncurses on Linux how to capture F1 key? dickey@his.com - 2012-07-28 04:45 -0700
        Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-28 05:50 -0600
          Re: ncurses on Linux how to capture F1 key? Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-28 08:39 -0400
            Re: ncurses on Linux how to capture F1 key? "J.O. Aho" <user@example.net> - 2012-07-28 15:21 +0200
              Re: ncurses on Linux how to capture F1 key? Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-28 10:15 -0400
              Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-29 03:54 -0600
                Re: ncurses on Linux how to capture F1 key? "J.O. Aho" <user@example.net> - 2012-07-29 13:31 +0200
                Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-30 05:07 -0600
                Re: ncurses on Linux how to capture F1 key? "J.O. Aho" <user@example.net> - 2012-07-30 18:27 +0200
                Re: ncurses on Linux how to capture F1 key? Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-29 21:13 -0400
                Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-30 05:08 -0600
                Re: ncurses on Linux how to capture F1 key? "Peter H. Coffin" <hellsop@ninehells.com> - 2012-07-30 07:09 -0500
                Re: ncurses on Linux how to capture F1 key? Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-30 10:39 -0400
          Re: ncurses on Linux how to capture F1 key? legalize+jeeves@mail.xmission.com (Richard) - 2012-07-30 18:53 +0000
            Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-07-31 04:43 -0600
              Re: ncurses on Linux how to capture F1 key? "Peter H. Coffin" <hellsop@ninehells.com> - 2012-07-31 08:03 -0500
      Re: ncurses on Linux how to capture F1 key? Norman Peelman <npeelmandog@cfl.rr.com> - 2012-07-31 22:08 -0400
        Re: ncurses on Linux how to capture F1 key? crankypuss <no@email.thanks> - 2012-08-01 02:43 -0600
          Re: ncurses on Linux how to capture F1 key? Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-01 07:34 -0400

csiph-web