Possible Duplicate:
Linux vi arrow keys broken in insert mode
When I use vi in some consoles, I can use the arrows normally. But in others if I press the up arrow, it prints an "A". I then have to press escape to use the arrows normally.
I'm guessing it's something in the terminal configuration. How do I fix this?
Try using Vim instead of vi. I was forced to use vi at uni. It's crap.
精彩评论