Ive been trying to solve a weird problem most of the day. Our system uses Exceed to connect to Unix and Linux from PC's. When I start an Xterm, vi does not work correctly in terms of key bindings when run from that starting Xterm. If I invoke a second Xterm from that first Xterm it works fine!
Now, if I do echo $term in the first window it shows 'vt100', but doing echo $term in any subsequent Xterm windows, they all show up as 'xterm'.
I cant help but think its something to do with .Xinit or .Xdefaults. What am I missing something here? Any help appreciated.