This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: char overwrite mode is by default on in Python console under Vista
Type: Stage: resolved
Components: Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: brian.curtin, techtonik, tim.golden
Priority: normal Keywords:

Created on 2010-10-21 13:31 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (9)
msg119289 - (view) Author: anatoly techtonik (techtonik) Date: 2010-10-21 13:31
I never used Python console much, but now I see it has a very annoying behavior under Windows Vista. By default entered char overwrites the char under cursor. If you press Insert key once - it allows to insert key, but after you press enter - overwrite mode is back.
msg119291 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-10-21 13:36
This has nothing to do with Python.


IIRC from another issue, you have pyreadline installed. Your cmd.exe settings may be conflicting with something that pyreadline is trying to do.
msg119297 - (view) Author: Tim Golden (tim.golden) * (Python committer) Date: 2010-10-21 13:48
If you don't often use the console, then I expect your console settings 
have Insert mode off. (Alt-Space > Properties > Options > Insert Mode [x])
msg119302 - (view) Author: anatoly techtonik (techtonik) Date: 2010-10-21 14:19
I don't have pyreadline installed.

But I had Insert Mode disabled for Python, indeed. I wonder if the setting comes disabled by default?
msg119303 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-10-21 14:23
> I wonder if the setting comes disabled by default?

Correct.
msg119304 - (view) Author: anatoly techtonik (techtonik) Date: 2010-10-21 14:49
>> I wonder if the setting comes disabled by default?
>
> Correct.

Can we turn it on by default in Windows installer?
msg119307 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-10-21 15:01
I'm not sure if it's possible, but even if so, I don't think we should do it. For cmd.exe itself and all processes that run in it, the default is to have it off, and you can enable it on a case-by-case basis.

Insert mode really should only be enabled by those who know what it does. For example, left clicking while a process is using stdout will block until you left click, and I can see that confusing users who are not aware of what happened or why.
msg119308 - (view) Author: Brian Curtin (brian.curtin) * (Python committer) Date: 2010-10-21 15:02
"will block until you left click"
should be...
"will block until you right click (or hit enter)"
msg119310 - (view) Author: anatoly techtonik (techtonik) Date: 2010-10-21 15:45
You must have been mistaken this for QuickEdit mode.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54374
2010-10-21 15:45:04techtoniksetmessages: + msg119310
2010-10-21 15:02:48brian.curtinsetmessages: + msg119308
2010-10-21 15:01:22brian.curtinsetmessages: + msg119307
2010-10-21 14:49:10techtoniksetmessages: + msg119304
2010-10-21 14:23:10brian.curtinsetmessages: + msg119303
2010-10-21 14:19:52techtoniksetmessages: + msg119302
2010-10-21 13:48:54tim.goldensetnosy: + tim.golden
messages: + msg119297
2010-10-21 13:36:54brian.curtinsetstatus: open -> closed

nosy: + brian.curtin
messages: + msg119291

resolution: not a bug
stage: resolved
2010-10-21 13:31:06techtonikcreate