Message385957
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. |
|
Date |
User |
Action |
Args |
2021-01-29 23:35:54 | trey | set | recipients:
+ trey |
2021-01-29 23:35:54 | trey | set | messageid: <1611963354.38.0.774052304558.issue43070@roundup.psfhosted.org> |
2021-01-29 23:35:54 | trey | link | issue43070 messages |
2021-01-29 23:35:54 | trey | create | |
|