[issue33893] Linux terminal shortcuts support in python shell

Steven D'Aprano report at bugs.python.org
Mon Jun 18 07:32:06 EDT 2018


Steven D'Aprano <steve+python at pearwood.info> 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 a time.

The bash shell offers a special "operate-and-go-next" command to operate on a particular history line and then immediately retrieve the next history line:

http://web.mit.edu/gnu/doc/html/features_7.html

but I think that's about as close as any standard Linux console gets to the ability to retrieve multiple lines from history at once.

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33893>
_______________________________________


More information about the Python-bugs-list mailing list