> >> What is the standard way to apply parameters to the termcap strings you
> >> have read with tgetent?
> WRONG ANSWER:
> tparm( str, p1, p2, p3, ...)
> is the proper way to instantiate strings with parameters.
Really. Termcap, termcap... let's see what the manual says:
Not in Xenix/286, let's try System V.2... It's under "curses... termcap
Someone's swiped my V.3.2 manuals, but nm /usr/lib/libcurses.a shows there
*is* an entry for tparm. So it showed up in V.3.2. After some digging, I found
it in SunOS but not in BSD. Under the System V compatibility library. Yep,
it's a V.3 thing.
Quote:> Newsgroups: comp.unix.programmer
Now if this was comp.unix.sysv386 you might have a point.
> tputs() is the method used to output non cursor positioning
> strings after instantiation. tgoto() is a special case and is
> only used for cursor positioning, which means that it is *very*
> tied to cm.
It's used for expanding "cs", too, at the very least.
Quote:> This is all defined in the manual under curses(3x).
If you're using termcap in the first place, rather than terminfo or curses,
portability is obviously a concern. In that case it behooves you to use the
least common denominator.
+1 713 274 5180. 'U` "Have you hugged your wolf today?"