set vc-follow-symlinks and cleanup term code