Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




next up previous contents
Next: 8.2.2 Find a Terminal Up: 8.2 The Termcap Library Previous: 8.2 The Termcap Library

8.2.1 Introduction

The termcap library is an API to the termcap database which can be found in /etc/termcap/. The library functions allow the following actions:

  • Get a description of the current terminal: tgetent(...).
  • Search the description for information: tgetnum(...), tgetflag(...), tgetstr(...).
  • Encode numeric parameters in a terminal specific form: tparam(...), tgoto(...).
  • Compute and perform padding tputs(...).

Programs using the termcap library must include .h and should be linked with:

tscreen47889

Termcap functions are terminal independent routines but only give the programmer low level access to the terminal. For a higher level package, curses or ncurses should be used.



Converted on:
Fri Mar 29 14:43:04 EST 1996


With any suggestions or questions please feel free to contact us