termcap str + params -> control seq. How?
Guy Harris
guy at auspex.auspex.com
Sat Apr 6 05:14:28 AEST 1991
>tparm( str, p1, p2, p3, ...)
>
>is the proper way to instantiate strings with parameters. Also,
>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. This is all defined in the manual under curses(3x).
Funny, there's *no* mention of "tparm()" in the "curses(3x)" on my
machine.
Of course, there *is* a mention of it in "curses(3v)".
Remember, not *everybody* out there is running the same flavor of UNIX
as you are. ("You" here meaning "any of you".) The BSD "termcap"
library has only "tgoto()" for instantiating strings with parameters;
the S5 "curses" library has "tparm()".
More information about the Comp.unix.programmer
mailing list