File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / terminalindepe
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

@.


terminal-independent operationsOverviewterminal-independent operations




The COHERENT  system includes  a set  of functions, found  in the
library /usr/lib/libterm.a, that extract and use the descriptions
stored in the file /etc/termcap.  These functions return informa-
tion about  how a  given terminal  functions; thus, they  allow a
program to  address any number of  different terminals correctly,
without having to change source code or recompile.

The following functions perform terminal-independent operations:

ttggeetteenntt() Read the appropriate termcap entry.

ttggeettffllaagg()
          Check if  a given Boolean capability  is present in the
          terminal's entry.

ttggeettnnuumm() Return the value of a numeric tteerrmmccaapp feature.

ttggeettssttrr() Read and decode a tteerrmmccaapp ssttrriinngg ffeeaattuurree.

ttggoottoo()   Read and decode a tteerrmmccaapp cursor-addressing string.

ttppuuttss()   Read  and decode the  leading padding information  of a
          tteerrmmccaapp string feature.

See the  Lexicon entry for each function for  more details on its
operation.

The external variable ospeed  is the output speed to the terminal
as  encoded  by stty.   The  external variable  PC  is a  padding
character from the pc capability  if a null (<ccrrttll-@>) is not ap-
propriate.

***** Files *****

/eettcc/tteerrmmccaapp -- Terminal capabilities data base
/uussrr/lliibb/lliibbtteerrmm.aa -- Function library

***** See Also *****

libraries,  stty,   termcap,  tgetent(),  tgetflag(),  tgetnum(),
tgetstr(), tgoto(), tputs()














COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.