Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: application crash during WINCH Signal

by hanspr (Sexton)
on Nov 28, 2019 at 18:58 UTC ( [id://11109385]=note: print w/replies, xml ) Need Help??


in reply to Re^3: application crash during WINCH Signal
in thread application crash during WINCH Signal

I have monitored the pid with strace, or think I did, as in the first post. It is a bash shell, but I it happens with : bash, ssh, zsh.

But essentialy is bash because the ssh connections are lunched using bash too.


If I comment the complete WINCH routine, like this
#$SIG{'WINCH'} = sub { # if (!$CONNECTED) { # return 1; # } # while (!$EXP->slave) { # #select(undef, undef, undef, 0.1); # }; # $EXP->slave->clone_winsize_from(\*STDIN); # kill 'WINCH' => $EXP -> pid if $EXP -> pid; # return 1; #};

It will not get disconnected, but the terminal will not be aware of the window size change


So, is in did something related to the propagation of the winch signal.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11109385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-26 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found