Long-recoil operated pistol