Python + libedit woes

Blair Zajac blair at
Tue Sep 15 20:02:06 PDT 2015

> On Sep 15, 2015, at 7:54 PM, Joshua Root <jmr at> wrote:
> On 2015-9-16 11:42 , Eric A. Borisch wrote:
>> Any thoughts on this? Are most users not impacted, or have most not tried?
>> <>
>> I'm clearly not the only one. :)
>>  - Eric
> I see the issue where the >>> prompt is not displayed when it should be.
> It looks like it is written but stays buffered until the next bit of
> output is written. This sounds like the problem mentioned in the ncurses
> release notes where a program assumes that ncurses' buffers are the same
> as stdio's buffers. Either libedit or python probably needs a flush call
> somewhere.
> I don't see the other more serious problems though. It may have
> something to do with the declared terminal type?

I see the reported behavior. When I quit Python, then hitting enter at the shell doesn’t push the cursor to the next line. I need to run `reset` for the terminal to be fixed.


More information about the macports-dev mailing list