Refactor S_utf16_textfilter() to use a second SV for the UTF-16 input.
[p5sagit/p5-mst-13.2.git] / lib / termcap.pl
index 3731343..8c7381b 100644 (file)
@@ -1,4 +1,20 @@
 ;# $RCSfile: termcap.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:16 $
+#
+# This library is no longer being maintained, and is included for backward
+# compatibility with Perl 4 programs which may require it.
+# This legacy library is deprecated and will be removed in a future
+# release of perl.
+#
+# In particular, this should not be used as an example of modern Perl
+# programming techniques.
+#
+# Suggested alternative: Term::Cap
+#
+
+warn( "The 'termcap.pl' legacy library is deprecated and will be"
+      . " removed in the next major release of perl. Please use the"
+      . " Term::Cap module instead." );
+
 ;#
 ;# Usage:
 ;#     require 'ioctl.pl';
@@ -13,7 +29,7 @@ sub Tgetent {
     local($TERM) = @_;
     local($TERMCAP,$_,$entry,$loop,$field);
 
-    warn "Tgetent: no ospeed set" unless $ospeed;
+    # warn "Tgetent: no ospeed set" unless $ospeed;
     foreach $key (keys %TC) {
        delete $TC{$key};
     }