There is a patch available out there somewhere, but I can't find it on the web, so I will include it below in READMORE tags.
--- Curses-1.06/Curses.c.orig   Tue Jul 30 02:42:30 2002
+++ Curses-1.06/Curses.c        Tue Jul 30 03:09:25 2002
@@ -272,7 +272,7 @@
 SV *sv;
 int argnum;
 {
-    if (Perl_sv_isa(sv, "Curses::Window")) {
+    if (sv_isa( sv, "Curses::Window")) {
       WINDOW *ret = (WINDOW *)SvIV((SV*)SvRV(sv));
       return ret;
     }




--- Curses-1.06/CursesFun.c.orig        Tue Jul 30 04:04:30 2002
+++ Curses-1.06/CursesFun.c     Tue Jul 30 07:23:06 2002
@@ -1276,8 +1276,8 @@
     c_exactargs("newterm", items, 3);
     {
        char *  type    = ST(0) != &PL_sv_undef ? (char *)SvPV(ST(0),PL_na) : NU
LL;
-       FILE *  outfd   = IoIFP(sv_2io(ST(1)));
-       FILE *  infd    = IoIFP(sv_2io(ST(2)));
+       FILE *  outfd   = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
+       FILE *  infd    = PerlIO_findFILE(IoIFP(sv_2io(ST(2))));
        SCREEN *        ret     = newterm(type, outfd, infd);

        ST(0) = sv_newmortal();
@@ -3450,7 +3450,7 @@
     c_exactargs("putwin", items, 2);
     {
        WINDOW *win     = c_sv2window(ST(0), 0);
-       FILE *  filep   = IoIFP(sv_2io(ST(1)));
+       FILE *  filep   = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
        int     ret     = putwin(win, filep);

        ST(0) = sv_newmortal();
@@ -3469,7 +3469,7 @@
 #ifdef C_GETWIN
     c_exactargs("getwin", items, 1);
     {
-       FILE *  filep   = IoIFP(sv_2io(ST(0)));
+       FILE *  filep   = PerlIO_findFILE(IoIFP(sv_2io(ST(0))));
        WINDOW *        ret     = getwin(filep);

        ST(0) = sv_newmortal();

In reply to Re: Red Hat 9 --- Curses.pm installation woes. by Paladin
in thread Red Hat 9 --- Curses.pm installation woes. by blue_cowdawg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.