Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: * Re: zpty woes



Jaime Vargas wrote:
> Still doesn't work for me. Below is the modified script and the debug
>...
> I changed my credentials for security. Basically it now hangs waitng
> for password and doesnt' do anything.  -- Jaime

I don't think it does...

> +./zpty-test.zsh:16> result+='1> scp hello.world
> '\''jvargas@xxxxxxxxxxxxxxxxxxxxxxxxxxx:~/'\''
> 
> '
> +./zpty-test.zsh:14> zpty -r scppty line

This is where it's asking for the password, and it hasn't hung.

> +./zpty-test.zsh:14> zpty -r scppty line
> 
> 
> ..... it waits forever here.

At *this* point it will wait if it doesn't get a complete line because
of my previous point.  Try adding "*" (including quotes) to the end of
the `zpty -r' command.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author