Before I used bash, I had this problem, I think that the Mac keyboard sends non-standard characters (vi still has a few issues...) Once I switched to bash, all of the arrow key issues went away (bash appears to be smart enough to deal with them.) brendan