There's also 'update-alternatives --config editor'. Matter of fact, you should also send us the output of update-alternatives --display editor, since I have a very nasty feeling that this alternative on your system is borked (a fairly common problem with the editor alternative - I just checked and mine was set to an editor I don't even have installed on my system).
It sounds like your editor setting is hosed up somehow or you ended up stuck in some very bad/ancient vi that doesn't even understand cursor keys (do h/j/k/l work?). Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

