Keyboard mapping in Python s readline Return Accept the line

Reviews
Shared by: Bruce Wayne
Stats
views:
1
rating:
not rated
reviews:
0
posted:
1/23/2009
language:
pages:
0
Keyboard mapping in Python’s readline Return Accept the line regardless of where the cursor is. If this line is non-empty, it may be added to the history list for future recall with add history(). If this line is a modified history line, the history line is restored to its original state. Add the next character typed to the line verbatim. This is how to insert key sequences like C-q, for example. Clear the screen and redraw the current line, leaving the current line at the top of the screen. Clear the screen and redraw the current line, leaving the current line at the top of the screen. Delete the character at point. If point is at the beginning of the line, there are no characters in the line, and the last character typed was not bound to delete-char, then return EOF. Delete the character at point. If point is at the beginning of the line, there are no characters in the line, and the last character typed was not bound to delete-char, then return EOF. Delete the character behind the cursor. A numeric argument means to kill the characters instead of deleting them. Incremental undo, separately remembered for each line. Incremental undo, separately remembered for each line. Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as forward-word. Kill the word behind point, using white space as a word boundary. The killed text is saved on the kill-ring. Kill the word behind point. Word boundaries are the same as backward-word. Metafy the next character typed. This is for keyboards without a meta key. Typing ESC f is equivalent to typing M-f. Move back a character. Move back a character. Move back through the history list, fetching the previous command. Move back to the start of the current or previous word. Words are composed of letters and digits. Move forward a character. 1 Control-v Clear Control-l Delete Control-d BackSpace Control-z ControlMeta-d Control-w Meta-Delete Escape Left Control-b Control-p Alt-b Right Control-f Control-n Alt-f Alt-> End Control-e Alt-< Home Control-a Alt-p Control-r Up Move forward a character. Move forward through the history list, fetching the next command. Move forward to the end of the next word. Words are composed of letters and digits. Move to the end of the input history, i.e., the line currently being entered. Move to the end of the line. Move to the end of the line. Move to the first line in the history. Move to the start of the current line. Move to the start of the current line. Search backward starting at the current line and moving up through the history as necessary using a non-incremental search for a string supplied by the user. Search backward starting at the current line and moving up through the history as necessary. This is an incremental search. Search backward through the history for the string of characters between the start of the current line and the point. This is a non-incremental search. By default, this command is unbound. Search forward starting at the current line and moving down through the the history as necessary using a non-incremental search for a string supplied by the user. Search forward starting at the current line and moving down through the the history as necessary. This is an incremental search. Search forward through the history for the string of characters between the start of the current line and the point. This is a non-incremental search. By default, this command is unbound. Alt-n Control-s Down

Related docs
python
Views: 12  |  Downloads: 3
Bash Emacs Editing Mode (readline) Cheat Sheet
Views: 468  |  Downloads: 25
Python Programming
Views: 297  |  Downloads: 8
Python
Views: 178  |  Downloads: 11
Tutorial on Python Iterators and Generators
Views: 56  |  Downloads: 7
Think Python
Views: 2  |  Downloads: 1
Think Python
Views: 108  |  Downloads: 0
Shell, Emacs, Python (oh my!) Cheat Sheet
Views: 1  |  Downloads: 1
usb keyboard mouse using pdiusbd11
Views: 0  |  Downloads: 0
premium docs
Other docs by Bruce Wayne
List of creditors
Views: 278  |  Downloads: 1
Sample Executive Summary Noverus
Views: 262  |  Downloads: 1
Assignment of limited partnership interests
Views: 495  |  Downloads: 18
Issuance of stock rights to subscribe
Views: 273  |  Downloads: 2
Patent for Cotton Gin info
Views: 184  |  Downloads: 1
Transcript of Sherman Anti Trust Act
Views: 144  |  Downloads: 0
Sale of drugs etc
Views: 176  |  Downloads: 1
Commercial Sublease
Views: 787  |  Downloads: 83
Transcript of Truman Doctrine
Views: 206  |  Downloads: 1
Pendleton Act info
Views: 328  |  Downloads: 1
Quitclaim deed
Views: 437  |  Downloads: 21
Interim basis
Views: 205  |  Downloads: 2
928 6th Street Proforma
Views: 237  |  Downloads: 13
Interstate Commerce Act info
Views: 471  |  Downloads: 1