In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/b219737899b7744755182cf4dadebfabb21e24bc?hp=6c864ec2ac9f9d9be7636d00f6c73b0fe89025b8>

- Log -----------------------------------------------------------------
commit b219737899b7744755182cf4dadebfabb21e24bc
Author: Craig A. Berry <[email protected]>
Date:   Sun Nov 25 10:03:25 2012 -0600

    Bump Term::ReadLine version.

M       dist/Term-ReadLine/lib/Term/ReadLine.pm

commit 9afdad132fb2f9cac46d8860924ad2b4384f4090
Author: Craig A. Berry <[email protected]>
Date:   Sun Nov 25 09:09:59 2012 -0600

    Add Sven Strickroth to AUTHORS.

M       AUTHORS

commit c0788ef2f042eecbda736216fc6338474b161551
Author: Craig A. Berry <[email protected]>
Date:   Sun Nov 25 08:54:32 2012 -0600

    Rational findConsole dispatch for Term::ReadLine.
    
    Back in 5.002 or so, if we didn't find /dev/tty and weren't on
    Windows, the console was assumed to be sys$command, which only
    makes sense on VMS (possibly $^O didn't work yet on VMS?).
    
    Later accretions have assumed that the sys$command default meant
    something other than laziness and a second if block with various
    specific overrides was added, some of which set the console back
    to undef after its having been set to sys$command.
    
    That can all be avoided by simply checking we're on VMS before
    setting the console to sys$command and letting it default to
    STDIN for cases where we don't know of something else specific
    that it should be.

M       dist/Term-ReadLine/lib/Term/ReadLine.pm

commit 0a616d17c63ccea3e07a9370becf1d236ce89558
Author: Sven Strickroth <[email protected]>
Date:   Sun Nov 25 08:44:02 2012 -0600

    (msys) perl readline creates sys$command files w/o STDIN connected
    
    This fixes [perl #115900].

M       dist/Term-ReadLine/lib/Term/ReadLine.pm
-----------------------------------------------------------------------

Summary of changes:
 AUTHORS                                 |    1 +
 dist/Term-ReadLine/lib/Term/ReadLine.pm |   19 ++++++-------------
 2 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index e798233..5e28ea5 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1057,6 +1057,7 @@ Steven Parkes                     <[email protected]>
 Steven Schubiger               <[email protected]>
 Stian Seeberg                  <[email protected]>
 Sullivan Beck           <[email protected]>
+Sven Strickroth                        <[email protected]>
 Sven Verdoolaege               <[email protected]>
 SynaptiCAD, Inc.               <[email protected]>
 Takis Psarogiannakopoulos      <[email protected]>
diff --git a/dist/Term-ReadLine/lib/Term/ReadLine.pm 
b/dist/Term-ReadLine/lib/Term/ReadLine.pm
index 9d176d7..f651a90 100644
--- a/dist/Term-ReadLine/lib/Term/ReadLine.pm
+++ b/dist/Term-ReadLine/lib/Term/ReadLine.pm
@@ -235,22 +235,15 @@ sub findConsole {
 
     if (-e "/dev/tty" and $^O ne 'MSWin32') {
        $console = "/dev/tty";
-    } elsif (-e "con" or $^O eq 'MSWin32') {
+    } elsif (-e "con" or $^O eq 'MSWin32' or $^O eq 'msys') {
        $console = 'CONIN$';
        $consoleOUT = 'CONOUT$';
-    } else {
+    } elsif ($^O eq 'VMS') {
        $console = "sys\$command";
-    }
-
-    if (($^O eq 'amigaos') || ($^O eq 'beos') || ($^O eq 'epoc')) {
-       $console = undef;
-    }
-    elsif ($^O eq 'os2') {
-      if ($DB::emacs) {
-       $console = undef;
-      } else {
+    } elsif ($^O eq 'os2' && !$DB::emacs) {
        $console = "/dev/con";
-      }
+    } else {
+       $console = undef;
     }
 
     $consoleOUT = $console unless defined $consoleOUT;
@@ -327,7 +320,7 @@ sub Features { \%features }
 
 package Term::ReadLine;                # So late to allow the above code be 
defined?
 
-our $VERSION = '1.10';
+our $VERSION = '1.11';
 
 my ($which) = exists $ENV{PERL_RL} ? split /\s+/, $ENV{PERL_RL} : undef;
 if ($which) {

--
Perl5 Master Repository

Reply via email to