Home | Directory | Search | 12 unapplied patches, 13 total | 7 programs
Haberdasher
demiurgo.org

Patch #5 (by zoso)

Other Unapplied Patches for 'Term::Screen::Wizard'

None

Applied Patches for 'Term::Screen::Wizard'

None

Basic Info

Term::Screen::Wizard
Restore terminal settings correctly
[none]
Restore terminal settings correctly

Patch History

unknown 609 Bytes 28 Aug, 2006 (17:33)
Initial version

Patch Text

*** /usr/local/share/perl/5.6.1/Term/Screen/Wizard.pm.old       2003-02-14
09:59:20.000000000 +0000
--- /usr/local/share/perl/5.6.1/Term/Screen/Wizard.pm   2003-02-14
09:59:29.000000000 +0000
***************
*** 18,26 ****
    foreach my $f (@_) {
      $cmd.="$f ";      
    }
    system "stty -raw echo";
    system @_;              
!   system "stty raw -echo";
  }
   
  sub add_screen {
--- 18,27 ----
    foreach my $f (@_) {
      $cmd.="$f ";      
    }
+   my $saveterm = `stty -g`;
    system "stty -raw echo"; 
    system @_;              
!   system "stty $saveterm";
  }
   
  sub add_screen {