- or download this
$SIG{'WINCH'} = sub {
# if (!$CONNECTED) {
...
# $EXP -> slave -> clone_winsize_from(\*STDIN);
kill WINCH => $EXP -> pid if $EXP -> pid;
};
- or download this
test@test-VirtualBox:~$trap 'stty size' winch
test@test-VirtualBox:~$ 24 85
...
test@test-VirtualBox:~$ 24 85
<-= DISCONNECTED (PRESS <ENTER> TO RECONNECT) (Thu Nov 28 13:14:40 20
+19)
- or download this
hans@hans-desktop:~$ trap 'stty size' winch
hans@hans-desktop:~$
...
hans@hans-desktop:~$
hans@hans-desktop:~$
hans@hans-desktop:~$
- or download this
$SIG{'WINCH'} = sub {
kill WINCH => $EXP -> pid if $EXP -> pid;
};