|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
45 + 24 = ?
Subscribe to this entry?

 [2012-03-31 19:52 UTC] osama dot sorour at eformations dot net
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)
$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.


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


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-31 19:53 UTC] osama dot sorour at eformations dot 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]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-07-19 15:30 UTC]
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] <>
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Sep 26 00:05:53 2022 UTC