Hello,
when using vi, locally or remotely, and depending on the distro or combination of them (debian, ubuntu, mac os X) I occasionnaly find some difficulty with the arrow keys. Let me explain :
- When everything goes well, if I'm in insert mode (esc - i or a), I can type text and then move to the next line quickly using the arrow keys
- When it goes wrong, using the arrow keys in this mode results in inserting a new line with a command character on it. The only way is to escape to command mode to delete the offending line and beeing able again to use the arrows.
I think of a misconfigured keyboard option somewhere, but where ? And strange enough, it can goes well from the mac with ssh control over a debian for example, where locally I'll have the problem... Where should I search ? I'm quite lost in all vi options and settings to know exactly where to look.
Thank you
Michel