note 107349 added to book.readline

From: Date: Thu, 02 Feb 2012 10:11:56 +0000
Subject: note 107349 added to book.readline
Groups: php.notes 
Request: Send a blank email to php-notes+get-185828@lists.php.net to get a copy of this message
When readline is enabled, php switches the terminal mode to accept line-buffered input. This means that the proper way to use the cli when you pipe to an interactive command is to explicitly specify that php is not using the terminal for input: php somescript.php < /dev/null | less ---- Server IP: 69.147.83.197 Probable Submitter: 196.210.214.147 ---- Manual Page -- http://www.php.net/manual/en/book.readline.php Edit -- https://master.php.net/note/edit/107349 Del: integrated -- https://master.php.net/note/delete/107349/integrated Del: useless -- https://master.php.net/note/delete/107349/useless Del: bad code -- https://master.php.net/note/delete/107349/bad+code Del: spam -- https://master.php.net/note/delete/107349/spam Del: non-english -- https://master.php.net/note/delete/107349/non-english Del: in docs -- https://master.php.net/note/delete/107349/in+docs Del: other reasons-- https://master.php.net/note/delete/107349 Reject -- https://master.php.net/note/reject/107349 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185828) next »