ssh - VI freezes putty session whenever I try to edit a file even though no swap or processing using the file -



ssh - VI freezes putty session whenever I try to edit a file even though no swap or processing using the file -

so have file i've been editing, lets phone call evilconfig.xml.

there no processes running using yet. have edit before, today reason when seek vi evilconfig.xml putty session freezes. vi doesn't come up.

i can cat file fine.

what i've tried , has not worked:

check swap files (there 1 other session, deleted it) cat file test. rm evilconfig.xml; vi test works!; mv test evilconfig.xml doesnt!! pray vi god forgiveness of sins

any other ideas?

why can cat evilconfig.xml > test; vi test; when mv test evilconfig.xml , seek vi evilconfig.xml, line break , ssh session stops responding.

i don't see funky characters when cat either.

thanks guys (and gals),

try run vi (actually vim) -x option.

its old post ran in similar problem. putty freezes when starting vim. sitting in front end of windows 7 pc x-server running , x11 forwarding enabled in putty. pc connected remote ibm power6 aix. after such freeze looked in event log in putty , noticed lastly action "requesting x11 forwarding". vim connects x server in order utilize clipboard , alter window title. setting -x alternative made putty doesn't freezes anymore in situations.

ssh vi

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -