Using edit command to edit a pointer+status