Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99956 > unrolled thread
| Started by | eclectic959@gmail.com |
|---|---|
| First post | 2015-12-03 04:30 -0800 |
| Last post | 2015-12-03 09:11 -0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
Are there any plans to support nCurses 6.0 with Python? eclectic959@gmail.com - 2015-12-03 04:30 -0800
Re: Are there any plans to support nCurses 6.0 with Python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-03 13:43 +0000
Re: Are there any plans to support nCurses 6.0 with Python? eclectic959@gmail.com - 2015-12-03 09:11 -0800
| From | eclectic959@gmail.com |
|---|---|
| Date | 2015-12-03 04:30 -0800 |
| Subject | Are there any plans to support nCurses 6.0 with Python? |
| Message-ID | <4c9dc771-59f4-4f1e-902e-fc2e7dfa2677@googlegroups.com> |
The GNU Project has announced the release of nCurses 6.0. With it, Python curses would be able to support 256 colors instead of the current 8 or 16. I've discovered that a pre-release of Fedora 24 includes ncurses 6.0. It is not usable by Python programs, such as my character-mode emulation of pixel-mode WxPython (available as "tsWxGTUI_PyVx" on GitHub) which creates a 71 color palette but will not work (its has been disabled) with the existing 16-color curses because text attributes (such as underline) partially overlay the foreground-background color-pair attributes.
[toc] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2015-12-03 13:43 +0000 |
| Message-ID | <mailman.173.1449150251.14615.python-list@python.org> |
| In reply to | #99956 |
On 03/12/2015 12:30, eclectic959@gmail.com wrote: > The GNU Project has announced the release of nCurses 6.0. > > With it, Python curses would be able to support 256 colors instead of the current 8 or 16. > > I've discovered that a pre-release of Fedora 24 includes ncurses 6.0. It is not usable by Python programs, such as my character-mode emulation of pixel-mode WxPython (available as "tsWxGTUI_PyVx" on GitHub) which creates a 71 color palette but will not work (its has been disabled) with the existing 16-color curses because text attributes (such as underline) partially overlay the foreground-background color-pair attributes. > Work is all ready being done to support building Python with ncurses6, see https://bugs.python.org/issue25720. Whether this alone meets your needs or an enhancement request on the bug tracker against 3.6 is required I'm really not qualified to say. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
[toc] | [prev] | [next] | [standalone]
| From | eclectic959@gmail.com |
|---|---|
| Date | 2015-12-03 09:11 -0800 |
| Message-ID | <31242786-b25f-4990-b75c-8b9d685b45d0@googlegroups.com> |
| In reply to | #99958 |
On Thursday, December 3, 2015 at 8:44:30 AM UTC-5, Mark Lawrence wrote: > On 03/12/2015 12:30, eclectic959@gmail.com wrote: > > The GNU Project has announced the release of nCurses 6.0. > > > > With it, Python curses would be able to support 256 colors instead of the current 8 or 16. > > > > I've discovered that a pre-release of Fedora 24 includes ncurses 6.0. It is not usable by Python programs, such as my character-mode emulation of pixel-mode WxPython (available as "tsWxGTUI_PyVx" on GitHub) which creates a 71 color palette but will not work (its has been disabled) with the existing 16-color curses because text attributes (such as underline) partially overlay the foreground-background color-pair attributes. > > > > Work is all ready being done to support building Python with ncurses6, > see https://bugs.python.org/issue25720. Whether this alone meets your > needs or an enhancement request on the bug tracker against 3.6 is > required I'm really not qualified to say. > > -- > My fellow Pythonistas, ask not what our language can do for you, ask > what you can do for our language. > > Mark Lawrence ncurses6 provides both an application binary interface for ncurses6.0 an one for ncurses5.0. Perhaps it will take an enhancement request to adopt the ABI 6.0 that su[prts 256 colors.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web