On Sat, Jan 19, 2013 at 01:06:14AM +0100, Petr Baudis wrote:
> I see! Indeed, I did not realize from reading the manpage (as I focused
> just on the main -C paragraph) that I need the -r and -T switches too.
> (Well, if I noticed -r, I would have figured -T out, probably.)
> 
> Judging by the wrong usage in Term::Cap, I'm probably not alone so
> a brief clarification might indeed be a good idea.

man infocmp shows this (not explaining size-restrictions):

       -T   eliminates  size-restrictions  on  the  generated  text.   This is
            mainly  useful  for  testing  and  analysis,  since  the  compiled
            descriptions  are  limited  (e.g., 1023 for termcap, 4096 for ter-
            minfo).

However, -T is ncurses-specific (won't work with Solaris, etc):

EXTENSIONS
       The  -E,  -F,  -G,  -R,  -T,  -V, -a, -e, -f, -g, -i, -l, -p, -q and -t
       options are not supported in SVr4 curses.

A lot of termcap-related stuff is either intended to be portable,
or simply hasn't been enhanced since the 1990s.  I made a page
describing some of the termcap issues here:

        http://invisible-island.net/ncurses/tctest.html

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to