php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71076 REPL arrow history navigation problem
Submitted: 2015-12-09 21:06 UTC Modified: 2015-12-19 13:31 UTC
From: miraagewow at gmail dot com Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 7.0.0 OS: Ubuntu 14.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: miraagewow at gmail dot com
New email:
PHP Version: OS:

 

 [2015-12-09 21:06 UTC] miraagewow at gmail dot com
Description:
------------
"php -a" and other REPLs (e.g. Psysh) are having issues with history navigation.
Once some command is entered, arrow history navigation results in (example for up/down arrows):

^[[A^[[B


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-10 00:57 UTC] rasmus@php.net
-Status: Open +Status: Feedback
 [2015-12-10 00:57 UTC] rasmus@php.net
Looks ok here on Ubuntu and Debian. How did you build your PHP 7? Did you compile in readline support?
 [2015-12-10 09:28 UTC] miraagewow at gmail dot com
I've installed from famous PPA https://launchpad.net/~ondrej/+archive/ubuntu/php-7.0
 [2015-12-19 13:31 UTC] miraagewow at gmail dot com
-Status: Feedback +Status: Closed
 [2015-12-19 13:31 UTC] miraagewow at gmail dot com
Solution was found. I was missing php-readline extensions. After I've installed it - works awesome.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC