You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't see an easy way to do this so i figured i would request it as an
enhancement...
It would be great to have an option to delay execution of ssh until the windows
are tiled.
I run an expect script to jump through multiple hosts to get to my clusters,
the issue is that if the expect script is executed during the window resize, it
kills the expect trap on window resize and can cause some very un-expected
behavior from expect... my current solution is to have a wrapper script with a
sleep statement in it.. but i have to adjust the sleep interval depending on
how many hosts i am opening up.
Original issue reported on code.google.com by sco...@horknfbr.com on 9 Aug 2011 at 10:00
The text was updated successfully, but these errors were encountered:
This is also a little tricky on the csshX side since the window resizing is
triggered from the master process, and the child processes have no knowledge of
this.
Are you using the actual program "expect", or an expect module in another
language?
I'm guessing you are getting a SIGWINCH signal. Maybe you can trap it?
Something like http://ubuntuforums.org/showpost.php?p=5432825&postcount=4
Original comment by gavin.brock on 16 Aug 2011 at 7:32
the script is pure expect... and i am using SIGWINCH, it seem that if the
window resizes before the script is complete, then it spits out an error and
some how causes a hiccup in the execution of the script (obviously a bug in
expect). would it be possible to have a switch via config or cli that allows
the child windows to open untiled? then the tilling could just be done via the
ctl-a commands after the login script is complete.
Original comment by sco...@horknfbr.com on 16 Aug 2011 at 9:42
i was able to somwhat fix this issue by having sigwinch much further down in my code.. closer to the ssh spawn... once the windows open and tile, i foce a retile and sigwinch is updated correctly in all the slaves
Original issue reported on code.google.com by
sco...@horknfbr.com
on 9 Aug 2011 at 10:00The text was updated successfully, but these errors were encountered: