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: 2012-03-31 19:53 UTC
From: osama dot sorour at eformations dot net Assigned:
Status: Open Package: Readline related
PHP Version: 5.4Git-2012-03-31 (Git) OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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)

Add a Patch

Pull Requests

Add a Pull Request

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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 18:01:24 2019 UTC