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
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:
MUST BE VALID
Solve the problem:
45 + 24 = ?
Subscribe to this entry?

 
 [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
 [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-2022 The PHP Group
All rights reserved.
Last updated: Mon Sep 26 00:05:53 2022 UTC