the vi editor displays the wrong characters on in the teminal for example when I type the down arrow an A is displayed. One way of working around this is using vim but is there a way of fixing the vi?