History in ielm without cycling (new functions comint-previous-input-straight and comint-next-input-straight)