I ran "strace vi file" and saw it was hanging on the network.
Huh? It wasn't a network filesystem, so why is vi hanging on the network?
Well, on a hunch, I unset my DISPLAY environment variable:
% env | grep DISPLAY
DISPLAY=c-XXX.hsd1.il.comcast.net:0.0
% unsetenv DISPLAY
And then things worked fine.
So vi was trying to do some X11 thing and was getting blocked by my ISP or my NAT router or something between me and work. What the heck vi (vim) is trying to do X11 I don't know....
No comments:
Post a Comment