tgoto() Terminal-Independent Operation tgoto() Read/interpret termcap cursor-addressing string char *tgoto(cm, destcol, destline) char *cm; int destcol, destline; tgoto is one of a set of funtions that permit COHERENT to perform terminal-independent operations. It decodes a cursor-addressing string from the cm termcap feature, and writes it into destcolumn in destline. tgoto uses the external variables UP (from the up feature) and BC (if bc is given rather than bs) if it is neces- sary to avoid placing \n, <ctrl-D>, or <ctrl-@> into the returned string. Programs calling tgoto should turn off the XTABS bits, as tgoto may write a tab. If a `%' sequence is given that is not understood, tgoto returns ``OOPS''. ***** Files ***** /etc/termcap -- Terminal capabilities data base /usr/lib/libterm.a -- Function library ***** See Also ***** termcap, terminal-independent operation COHERENT Lexicon Page 1