Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: termcap parameter support



On Apr 20,  9:39am, Clint Adams wrote:
} Subject: Re: PATCH: termcap parameter support
}
} > As promised, here is ${termcap}.  This breaks the TERMCAP_H/TERM_H check
} > in Src/prototypes.h.
} 
} Hmm.  No, it doesn't.  I'm confused.

You can't include both <termcap.h> and <term.h> on systems where termcap
is a "real" library, I think.  Also, notice in terminfo.c that there is

/* The following two undefs are needed for Solaris 2.6 */
# ifdef VINTR
#  undef VINTR
# endif
# ifdef offsetof
#  undef offsetof
# endif

before the inclusion of <curses.h> and <term.h> ... that should clear up
at least some of those errors.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author