php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61585 adding support for rl_bind_key
Submitted: 2012-03-31 19:52 UTC Modified: 2021-07-19 15:30 UTC
From: osama dot sorour at eformations dot net Assigned: cmb (profile)
Status: Wont fix Package: Readline related
PHP Version: 5.4Git-2012-03-31 (Git) OS: Linux
Private report: No CVE-ID: None
 [2012-03-31 19:52 UTC] osama dot sorour at eformations dot net
Description:
------------
The current readline implementation does not include support for rl_bind_key. The 
included patch adds the support as follows:
function readline_bind_key_function($key, $callback_func)
where:
$key: Key code to bind to.
$callback_func: A callback function in the form:
function callback($key, $count) where $key and $count are the same parameters 
passed from rl_bind_key()
Setting $callback_func to null will cause the binding to be removed for $key.



Patches

php-5.4-readline-rl_bindy_key (last revision 2012-03-31 19:52 UTC by osama dot sororu at eformations dot net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-31 19:53 UTC] osama dot sorour at eformations dot net
-: osama.sororu@eformations.net +: osama dot sorour at eformations dot net
 [2012-03-31 19:53 UTC] osama dot sorour at eformations dot net
fixed email typo
 [2021-07-19 15:30 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-19 15:30 UTC] cmb@php.net
Given that there has been no feedback for almost ten years, I'm
closing as WONTFIX.  Feel free to provide an updated patch as pull
request[1], though.

[1] <https://github.com/php/php-src/pulls>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC