New submission from Richard s. Gordon:

Curses bug report for Python 2.7 and Python 3.2

My Python code outputs text properly with xterm and xterm-16color. It does not 
work properly with xterm-88color and xterm-256color (after defining RGB color 
pallet) when run on Python-2.7 and Python-3.2 on Cygwin with Windows 7 Pro, 
Ubuntu Linux 12.04, Mac OS X 10.9.3 and PS-BSD 10.

For text output to xterm-88color and xterm-256color Python generates unique 
colors that are plagued by the wrong color and underline artifacts.

                        xterm-16color                   xterm-16color           
        xterm-88color                                           xterm-256color
                        ==========                      ==========              
        ==========                                              ===========
Region 1                cyan on black                   cyan on black           
        cyan on olive with underlines                   cyan on purple with 
underlines
Region 2                white on black                  white on black          
        navy on black                                           white on orange
Region 3                yellow on black         yellow on black         magenta 
on black with underlines                navy on black with underlines

Some of my test platform terminals (such as iTerm2 on my iMac desktop system 
running Mac OSX Mavericks 10.9.3) default to xterm-256color and presumably 
already have Python 2.7.5 built for 256 color. I downloaded and built Python 
3.2.2. 

My Python test code works properly with xterm and xterm-16color. Both display 
the wrong colors, some with underlines when run with xterm-88color and 
xterm-256color.

Any solutions or suggestions?

Richard S. Gordon

----------
messages: 219425
nosy: eclectic9509
priority: normal
severity: normal
status: open
title: Curses bug report for Python 2.7 and Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21615>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to