Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6693
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | Re: ncurses on Linux how to capture F1 key? |
| Date | Mon, 30 Jul 2012 18:27:22 +0200 |
| Lines | 35 |
| Message-ID | <a7nqvaF1dcU1@mid.individual.net> (permalink) |
| References | <jutra212bev@news6.newsguy.com> <591cbfc9-6e5f-497d-b84d-c225c1fbbce9@googlegroups.com> <juufm301b7q@news3.newsguy.com> <50a5726e-f706-4a98-8f47-e6644422f14f@googlegroups.com> <jv0jmp12jel@news7.newsguy.com> <jv0mie$ucp$2@dont-email.me> <a7i7agF3sfU1@mid.individual.net> <jv3185016jv@news3.newsguy.com> <a7kl88F2auU1@mid.individual.net> <jv5ptn02t86@news4.newsguy.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net xNcp6UZ+s8oBbWj2vkbe1wQ1zXLkEhl7T2C3JfmalYz75hHaxBLi57p5Mem913u1XW |
| Cancel-Lock | sha1:cifXnQKSWkZ3BCU8KhWfnkeJGzg= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120613 Thunderbird/13.0 |
| In-Reply-To | <jv5ptn02t86@news4.newsguy.com> |
| Xref | csiph.com comp.lang.php:6693 |
Show key headers only | View raw
On 30/07/12 13:07, crankypuss wrote: > On 07/29/2012 05:31 AM, J.O. Aho wrote: >> There is a short article in the devzone how to use ncurses, the code >> there has no issues with function keys. > > I assume you are referring to: > http://devzone.zend.com/173/using-ncurses-in-php/ > > I notice all the clever line-through semi-corrections there, very cute. > In short, it's pablum. It fails to even *address* the idea of > function keys, and doesn't mention little details like > extended-attributes clashing with user-defined colors. If you do check for which value the variable $y has and compare with the value which ncurses thinks a F1 key has (see the key const documentation). If you still have issues, then see to that your DE don't capture the key. > So you think I should post the 6700+ lines of partially complete > interface code I've written to deal with ncurses in civilized fashion, > plus the dozens (or hundreds) of support routines, *AND* the application > code on top of that so you can whine about excessive information instead > of just answering the question asked or ignoring it and going about your > business? Not going to happen here, suck it up and deal. Still your key capturing part of the application ain't 100% of the code base, but if you want to paste everything there is pastebin.com and just post the link to the paste. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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