|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-07-03 17:58 UTC] cataphract@php.net
-Status: Open
+Status: Not a bug
[2013-07-03 17:58 UTC] cataphract@php.net
[2013-09-20 05:51 UTC] pippo at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 14:00:01 2025 UTC |
Description: ------------ When running PHP interactive interpreter with: php -a "Delete" button doesn't work (produces `~` instead), jumping over words with "Ctrl"+"Left Arrow" and "Ctrl"+"Right Arrow" doesn't work either (`;5D` and `;5C`, respectively). It annoys me a lot - I use `php -a` every day. Worth noting, that other interpreters (irb, ipython, etc.) work good. The problem occurs in each distro I tried - (K)Ubuntu (PHP 5.4.9-4ubuntu2.1 (cli) (built: Jun 11 2013 13:10:01)), Fedora (PHP 5.3.3 (cli) (built: Nov 29 2012 04:12:23)), RHEL (PHP 5.3.3 (cli) (built: Nov 29 2012 04:12:23)). Works good on Mac though. Expected result: ---------------- Ctrl+arrows should move the cursor by words, delete should delete current character. Actual result: -------------- Ctrl+left arrow produces ;5D Ctrl+right arrow produces ;5C Delete produces ~