[IPython-dev] A couple of odd behaviours...

Thomas Kluyver takowl at gmail.com
Thu Nov 8 12:32:37 EST 2012


On 8 November 2012 17:28, Carl Smith <carl.input at gmail.com> wrote:

>
> 'acct\r\r\ncache\r\r\nconfig\r\r\nd\r\r\ndata\r\r\ndefault.prop\r\r\ndev\r\r\nefs\r\r\netc\r\r\nfota.rc\r\r\ninit\r\r\ninit.goldfish.rc\r\r\ninit.rc\r\r\ninit.smdk4210.rc\r\r\ninit.smdk4210.usb.rc\r\r\nlib\r\r\nlpm.rc\r\r\nmnt\r\r\npreload\r\r\nproc\r\r\nrecovery.rc\r\r\nres\r\r\nsbin\r\r\nsdcard\r\r\nsys\r\r\nsystem\r\r\ntmp\r\r\nueventd.goldfish.rc\r\r\nueventd.rc\r\r\nueventd.smdk4210.rc\r\r\nvendor\r\r\n',
>

I bet this is the problem. Not content with Unix line endings \n, Windows
\r\n or classic Mac \r, adb appears to have decided on \r\r\n. I bet the
Javascript in the notebook is handling that differently to the terminal and
the Qt console, so the first \r is blanking the line.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20121108/50a41ef1/attachment.html>


More information about the IPython-dev mailing list