Hello

I have been working on an existing expectk script which supports ftp, to modify 
it so it will also support sftp. it seems that when the proc command is used 
and 
I return back I've lost my sftp connection (No sftp> ) prompt. If I replace the 
proc (procedure name) command with the actual expect scripts code that is 
within 
the procedure being called I remain connected. This is getting bothersome 
especially when I within the script I have procedures calling procedures,.... 
etc, doing general maintenance like screen refreshing or something. The 
question 
is: Is there some configuration option I'm missing for ssh, or some expectk 
option that might allow the connection to remain intact after coming back after 
a procedure call?

Thanks
 
 
This message posted from opensolaris.org

Reply via email to