Eli Zaretskii <
[hidden email]> writes:
>> I think so -- matching "Password: \n\n" makes as much sense as matching
>> "Password: \n", I think?
>
> It actually happens in Real Life?
I wouldn't have thought so, but then again, I wouldn't have thought that
anybody had even a single newline in the prompt, so my intuitions here
don't count for much.
> What bothers me is that we could takes something unrelated as a
> password prompt.
If I understand the comint code correctly, it'll match this stuff if
it's the final thing that has been output. So there should be little
danger in faulty matching here. But I'm not overly confident in my
understanding of that code.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog:
http://lars.ingebrigtsen.no