Python + libedit woes

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


> On Sep 15, 2015, at 7:54 PM, Joshua Root <jmr at macports.org> 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?
>> 
>> https://trac.macports.org/ticket/48807
>> <https://trac.macports.org/ticket/48807#comment:15>
>> 
>> 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.

Blair



More information about the macports-dev mailing list