HP-UX strange login problem

Hi,

I am faceing strange login problem in HP-UX.

I am sending login username through tcl script in telnet session.

After opening new telnet session prompt comes as,

login:

but it not able to handle or get username whatever i am sending.If i press an enter then every thing goes fine. If i do not press enter terminal got hangs forever.

It there any time/delay related issue.

I am using, HP-UX htux63 B.11.31 U ia64 (td)

Any suggestion highly appriciated.

Regrds,
ashokd009

I think it has to do with the fact that the connection opens a new shell... ( but I may be wrong...) so you would have to use file decriptors...