Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

EricBrian

macrumors 6502a
Original poster
Jul 30, 2005
657
8
When I press the up or down arrows, I get this in the terminal:

Up arrow: ^[[D
Down arrow: ^[[C

Anybody know what to do so that I can use those keys to scroll in history?


Thanks! :)
Eric
 
When I press the up or down arrows, I get this in the terminal:

Up arrow: ^[[D
Down arrow: ^[[C

Anybody know what to do so that I can use those keys to scroll in history?


Thanks! :)
Eric

Do control-P and control-N do what you want within an interactive Python session?

Open Terminal and type the word read. Press the return key, and then press the following keys in order: UpArrow, DownArrow, RightArrow, LeftArrow. Then press return and post the result. I get

Code:
read
^[[A^[[B^[[C^[[D
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.