Re: Enter Problem at Portmaster PM2ER

Jake Messinger (jake@ams.com)
Thu, 17 Apr 1997 20:39:55 -0500 (CDT)

On Thu, 17 Apr 1997, Christopher Hicks wrote:

> Most modern UNIX's will give you the login prompt again and again until

Yes you are right and that IS posix compliant.

> you actually type something in. This is a feature. (I don't recall POSIX
> covering this, does anyone else know?) And for his application, what

Yes.

> difference would it make if it did break other scripts? If it were an
> option everybody could break which set of scripts/behaviours they wish.
>
> And honestly any script that doesn't cope with both behaviours seems
> ill-conceived.

I guess that was my point. Make your script deal with it.

> > Why do you have SOME enter characters? Just make the script go into a
> > loop hitting enter UNTIL it sees "username:"

Right.

~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Jake Messinger 713-772-6690 jake@ams.com
Advanced Medical Systems, Inc. jake@uh.edu
Houston, Texas http://www.ams.com/~jake
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
(Betcha can't do this on an Apple ][, ][c, or ][e)