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.

Author trey
Recipients trey
Date 2021-01-29.23:35:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611963354.38.0.774052304558.issue43070@roundup.psfhosted.org>
In-reply-to
Content
On Ubuntu Linux 18.04 when I run Python from within a terminal, control keys such as Ctrl-L, Ctrl-A, Ctrl-E, and Ctrl-K work as expected.

However, if I type Ctrl-C Escape Enter (^C followed by Esc followed by Return), control keys stop working as expected. Ctrl-C still causes KeyboardInterrupt to be printed, but pressing Ctrl-L causes "^L" to be shown and Ctrl-A shows "^A".

This happens in Gnome Terminal as well as XTerm both on Ubuntu Linux 18.04. It happens in zsh, bash, tcsh, and sh.

I've reproduced this issue in Python 2.7, 3.6, 3.7, 3.8, 3.9, and 3.10. Some of these Python versions I installed via pyenv, some came from the deadsnakes PPA, and some were preinstalled with Ubuntu.
History
Date User Action Args
2021-01-29 23:35:54treysetrecipients: + trey
2021-01-29 23:35:54treysetmessageid: <1611963354.38.0.774052304558.issue43070@roundup.psfhosted.org>
2021-01-29 23:35:54treylinkissue43070 messages
2021-01-29 23:35:54treycreate