Re: expect + telnet hangs on AIX
- From: kkivi@xxxxxxxxxx (Konstantin Kivi)
- Date: 9 Apr 2005 23:03:26 -0700
"Khaled" <ksubs@xxxxxxx> wrote in message news:<1113082055.444340.97160@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...
> kkivi@xxxxxxxxxx wrote:
> >
> > The question is not about connection refused.
> > The question is why expect hangs. As I write if I telnet to another
> > system it hangs either. I have an application that can be conntrolled
> > via telnet (it listen on it's own port). if I try to use expect in
> this
> > \
> > case it hangs too.
>
> What do u mean by "hangs"? What makes u say so? This does not show in
> yr quoted debug.
This means that the program(or script) never returns.
After spawn telnet is finished (either because connection was refused or
because connection is closed) and there is no more experssions in the script, expect
doesn't exit and cannot be terminated
from the keybord (SIGINTR/SIGQUIT). I have to make another session and
kill it.
I have some basic experience with expect and never seen such behaviour.
Konstantin
.
- Follow-Ups:
- Re: expect + telnet hangs on AIX
- From: Khaled
- Re: expect + telnet hangs on AIX
- From: Cameron Laird
- Re: expect + telnet hangs on AIX
- References:
- expect + telnet hangs on AIX
- From: Konstantin Kivi
- Re: expect + telnet hangs on AIX
- From: Khaled
- Re: expect + telnet hangs on AIX
- From: kkivi
- Re: expect + telnet hangs on AIX
- From: Khaled
- expect + telnet hangs on AIX
- Prev by Date: Re: What happens when an error does not have a POSIX translation?
- Next by Date: Re: Newbie Tcl/Tk build problem
- Previous by thread: Re: expect + telnet hangs on AIX
- Next by thread: Re: expect + telnet hangs on AIX
- Index(es):
Relevant Pages
|
|