summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Pueschel <pueschel@imsdd.meb.uni-bonn.de>1997-03-23 18:57:22 +0100
committerChip Salzenberg <chip@atlantic.net>1997-03-22 15:34:25 +1200
commitc6f23515cbc613899d8b79910cc2429dea847fde (patch)
tree34bd45ee539433c4f2c48661ca3b11d64967b8d8
parenta66bc3b0c7b47b1405c3f62393e8f35e9a4bbdb8 (diff)
downloadperl-c6f23515cbc613899d8b79910cc2429dea847fde.tar.gz
Term::Readline patch for AmigaOS
I stumbled upon this when trying to get CPAN working. p5p-msgid: 77724797@Armageddon.meb.uni-bonn.de
-rw-r--r--lib/Term/ReadLine.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Term/ReadLine.pm b/lib/Term/ReadLine.pm
index 0c88a76e41..879642f378 100644
--- a/lib/Term/ReadLine.pm
+++ b/lib/Term/ReadLine.pm
@@ -160,6 +160,10 @@ sub findConsole {
}
}
+ if ($^O eq 'amigaos') {
+ $console = undef;
+ }
+
$consoleOUT = $console;
$console = "&STDIN" unless defined $console;
if (!defined $consoleOUT) {