Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.programmer Subject: Re: termcap str + params -> control seq. How? Message-ID: <7043@auspex.auspex.com> Date: 5 Apr 91 19:14:28 GMT References: <12587@hydra.Helsinki.FI> <1991Apr02.223345.15465@buster.stafford.tx.us> Organization: Auspex Systems, Santa Clara Lines: 17 >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()".