input vs. readline

cs at zip.com.au cs at zip.com.au
Fri Jul 8 20:24:33 EDT 2016


I was typing in a hurry. There are several unreadable items below. Let me 
correct myself...

On 09Jul2016 09:45, Cameron Simpson <cs at zip.com.au> wrote:
>Perhaps the Windows console is treating ESC specially, apparently as "line 
>erase", discarduing any preceeding text. Hence your results.
[...]
>- accept this, and use the liternal-next kestroke (usually ^V) to tell it not  
>to the bytes special to the line discipline. So you might type ^V^H to get a  
>literal ^H code in your input and so forth.

"literal", not "liternal". "not to the" => "not to treat the". "special" => 
"specially".

>- put the terminal into "raw" mode where keystroke bytes are sent through  
>unchanged (although them you need to hand carriage return yourself, etc)

"then", not "them". "handle", not "hand".

Cheers,
Cameron Simpson <cs at zip.com.au>



More information about the Python-list mailing list