Help for this page

Select Code to Download


  1. or download this
    $SIG{'WINCH'} = sub {
    #    if (!$CONNECTED) {
    ...
    #    $EXP -> slave -> clone_winsize_from(\*STDIN);
        kill WINCH => $EXP -> pid if $EXP -> pid;
    };
    
  2. 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)
    
  3. or download this
    hans@hans-desktop:~$ trap 'stty size' winch
    hans@hans-desktop:~$ 
    ...
    hans@hans-desktop:~$ 
    hans@hans-desktop:~$ 
    hans@hans-desktop:~$
    
  4. or download this
    $SIG{'WINCH'} = sub {
        kill WINCH => $EXP -> pid if $EXP -> pid;
    };