473,657 Members | 2,447 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

curses module

I know that the curses module has a long-standing bug wherein cursor
visibility can't be set. I'm looking at using the module for certain
uses, and this isn't a problems (as long as I hide the cursor offscreen)
as I would control visuals to provide a simulated cursor anyway. I'm
wondering, though, if there are any other elements of the curses module
I should be aware of before I commit to it, i.e. bugs that could cause
serious difficulties at some point.

This isn't criticism, I just know that the curses module is the sort of
thing that probably isn't being maintained consistently, and I for one,
have no idea how well all the new terms in common use maintain the sort
of backwards compatibility python curses will need to do its job.
Thanks,
Ken
Apr 2 '07 #1
2 1657
Kenneth McDonald schrieb:
I know that the curses module has a long-standing bug wherein cursor
visibility can't be set.

This isn't criticism, I just know that the curses module is the sort of
thing that probably isn't being maintained consistently, and I for one,
have no idea how well all the new terms in common use maintain the sort
of backwards compatibility python curses will need to do its job.

This isn't criticism either, but... if you know it has a long-standing
bug, why didn't you submit a patch yet? If you had submitted one for
Python 2.1 (say), the problem wouldn't be relevant today. If you submit
one today, the problem won't be relevant for Python 2.8, or Python 3.0.

Regards,
Martin
Apr 2 '07 #2
Kenneth McDonald schrieb:
I know that the curses module has a long-standing bug wherein cursor
visibility can't be set.

This isn't criticism, I just know that the curses module is the sort of
thing that probably isn't being maintained consistently, and I for one,
have no idea how well all the new terms in common use maintain the sort
of backwards compatibility python curses will need to do its job.

This isn't criticism either, but... if you know it has a long-standing
bug, why didn't you submit a patch yet? If you had submitted one for
Python 2.1 (say), the problem wouldn't be relevant today. If you submit
one today, the problem won't be relevant for Python 2.8, or Python 3.0.

Regards,
Martin
Apr 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2620
by: Alex | last post by:
Hello all, I'm trying to learn Python, in particular the curses module. My system is running Slackware 9.0 and the verion of Python that comes installed with Slackware 9.0 is Python 2.2.2. I've been trying to access the curses.wrapper module without any success. I know that the wrapper exists in /usr/lib/python2.2/curses yet any reference that I make to it is rebuffed by the interpreter.
3
2812
by: Abhijit Soman | last post by:
Where can i find curses module for windows? I have pdcurses library on windows. But python binary doesnot include curses module. Thanks, Abhijit
0
1771
by: Matthew Alton | last post by:
The appended program freaks python 2.2 & 2.3 completely out. To reproduce the wierdness: i) copy the source to a file called consarn.py ii) $ python consarn.py; iii) the program is now doing a getch(); iv) hit a key; v) the program locks up, the interptreter is now munching on the CPU; vi) kill the interpreter from another shell; vii) scratch head and wonder why neither of the mutually exclusive clauses in the _io() member function...
0
1866
by: Matt Garman | last post by:
I'd like to write a class or module in python that allows me to do on-the-fly color changing in the curses module. I'm thinking about something along the lines of this: addstr(y, x, 'hello', brightyellow, blue) The module would automatically interpret the above as curses.init_pair(i, curses.COLOR_YELLOW, curses.COLOR_BLUE)
0
2391
by: Brano Zarnovican | last post by:
Hi ! I'd like to init curses and still have working Python interactive command line. I found that you can replace stdin/stdout/stderr like this: #!/usr/bin/python -i import curses import sys
3
3710
by: skip | last post by:
I'm having no success building the curses module on Solaris 8 (yes, I know it's ancient - advancing the state-of-the-art is not yet an option) for Python 2.4. Sun provides an apparently ancient version of curses in /usr/lib, so I downloaded and installed ncurses 5.5, both using default settings and using --with-shared. When the curses module is linked against libcurses.so I get some strange error about acs32map being undefined (which...
3
2089
by: kernel1983 | last post by:
when I type command below in windows python: import curses it gives the error msg! It can't find _curses.pyd Is this a bug?
0
1491
by: Fabian Braennstroem | last post by:
Hi, I want to add some radio and check buttons to my curses script. As I understand it, there are no buttons in the 'basic' curses module. Now, I found the curses-extra module, but I not able to download and install it. Does anybody have an idea, where I can download the module or, even better, how I can create radio and check buttons with the 'ordinary' curses module? Would be nice...
5
6325
by: 7stud | last post by:
I can't see to get any y, x coordinates to work with curses. Here is an example: import curses def my_program(screen): while True: ch = screen.getch() if ch == ord("q"): break
0
8397
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.