Looks to me like your /dev directory might have been stepped on. Looks like /dev/tty is a regular file created by the redirected output of the echo.
You might delete /dev/tty and create a new device. I think the command would be: mknod /dev/tty c 5 0 but someone might want to correct me on that. It is owned root tty on my machine. On 07-Oct-97 Darin Johnson wrote: >Regarding my problem with login/passwd/su failing, I've tracked >it a bit further. It seems that getpass() is failing, and more, that >it's actually /dev/tty that's completely screwed up. > >Symptoms: > $ echo howdy > /dev/tty > $ cat /dev/tty > howdy > $ cat /dev/tty > howdy > $ > >That is, the first echo has no output, but each successive cat will >print the output. This is contrary to a well running unix system, >where the first echo will print to the tty, and a cat /dev/tty will >block. > >I've verified this under 2.1.55 and 2.0.30. I have a mix of hamm and bo. >Further hints? > > >-- >TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to >[EMAIL PROTECTED] . >Trouble? e-mail to [EMAIL PROTECTED] . > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .