[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks. I have presumed that Linux consoles are also line oriented, but hesitated to say so without really knowing so. -- ___ Python tracker

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread R. David Murray
R. David Murray added the comment: zsh lets you edit multiline shell commands as a unit. If you up-arrow, you get all the lines of the block popped up, with the cursor on the last line. Further arrow keys will navigate within the multiline text block, with an up-arrow from the first line

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: Terry asked: > I have a question about Linux consoles. [...] Does a Linux console retrieve > all 5 at once, as IDLE does? Not typically. Like the Windows console, Linux consoles are also line-oriented, and hitting up-arrow cycles through each line, one at

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: These issues are not as simple as you think. But anyway, clearing the shell in #6143. Shell is a modified editor. Currently, the arrows move the cursor around just as in the editor. For multiline statements, this is essential, and even for single-line

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- superseder: -> IDLE: Patch to make PyShell behave more like a Terminal interface ___ Python tracker ___

[issue33893] Linux terminal shortcuts support in python shell

2018-06-18 Thread sebastin
sebastin added the comment: I meant this on Python IDLE across all platforms. basic necessary enhancements for seamless use of IDLE should atleast have below feature supported. clear(used in MAC/LINUX TERMINAL) or cls(used in WINDOWS CMD PROMPT) - clear the PYTHON IDLE screen. up arrow -

[issue33893] Linux terminal shortcuts support in python shell

2018-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you talking about the python shell, run in a text console window, or IDLE's GUI shell? The components you mark include both. If the former, do you mean only on linux or all systems? You and Python are more or less at the mercy of the console you use +

[issue33893] Linux terminal shortcuts support in python shell

2018-06-17 Thread sebastin
New submission from sebastin : simple linux terminal support in python shell, like clear, ctrl + r, up arrow would be really good to have. -- assignee: terry.reedy components: IDLE, IO, Interpreter Core messages: 319857 nosy: sebastin, terry.reedy priority: normal severity: normal