Sponsored Content
Full Discussion: Termcap
Top Forums UNIX for Dummies Questions & Answers Termcap Post 97511 by aitor314 on Tuesday 31st of January 2006 07:39:08 AM
Old 01-31-2006
Termcap

Hi all!

What is the TERMCAP variable?
 

7 More Discussions You Might Find Interesting

1. Linux

Termcap Definitions

Hi. How do I enter and escape from graphics mode on RedHat Linux to capture escape sequences. I'm trying to edit the system termcap. (2 Replies)
Discussion started by: cstovall
2 Replies

2. UNIX for Dummies Questions & Answers

TermCap Error w/Anzio SSH

I have a sco unix 5.0.7 unix box with open SSH and have Soft Talk floor software I use on it. http://www.floorsoftware.com/index2.html I use Anzio 15u full Terminal with SSH to remotely connect. I connect fine and get to the Soft Talk Menu. I choose Pricing ok, then proceed to the next menu to... (3 Replies)
Discussion started by: PCTECH
3 Replies

3. UNIX for Dummies Questions & Answers

no entry in termcap for 'hp'

Hello, I have one application (top) for Solaris that exits with error "no entry in termcap for 'hp'". What can I do with system to fix it? Is it access problem to termcap file or real corruption inside the file since I know that HP is defined in termcap? ... or changes to environment... (0 Replies)
Discussion started by: gogogo
0 Replies

4. UNIX for Dummies Questions & Answers

ncurses function key problem - termcap ??

My ncurses program has been displaying "OP" (junk) on pressing F1 (instead of catching it). I have finally discovered that it runs fine (traps F1) when run under screen (program), but not in my login terminal (xterm-color) I did a check of "Set" and "env" under screen, there is a "TERMCAP"... (0 Replies)
Discussion started by: sentinel
0 Replies

5. HP-UX

screen - termcap problem

Hi I`ve got problem with screen. After i launch screen i get flying list of : ---(example) Name collision between cad68-3 cad68-3 Name collision between cad68-2 cad68-2 Name collision between cops10 cops10 Name collision between d132 d132 MH Name collision between d800 d800 M7 Name... (4 Replies)
Discussion started by: chesti
4 Replies

6. Ubuntu

Scigraphica-termcap installation

Hi all, I am trying to install Scigraphica on Ubuntu 8.10 and Termcap needs to be installed. I cannot find or install Termcap by Synaptic package manager (sudo apt-get install does not work either). I found in some forums that Termcap is not available for Ubuntu 8.10, and ncurses-dev was... (0 Replies)
Discussion started by: apprentice
0 Replies

7. UNIX for Dummies Questions & Answers

Solaris +vi (not vim) not using xterm termcap entry

Well, apparently anyway. I have a Solaris 10/08 install using vi (not vim) and when I use vi to edit a file or go into cron, the screen goes into 25/80 mode and I have to send a reset or hard reset to get it back to my screen size (190x72 in this case). vi should be using the TERM environment... (7 Replies)
Discussion started by: BOFH
7 Replies
TERMCAP(3)						   BSD Library Functions Manual 						TERMCAP(3)

NAME
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs -- terminal independent operation routines LIBRARY
Termcap Access Library (libtermcap, -ltermcap) SYNOPSIS
#include <termcap.h> char PC; char *BC; char *UP; int tgetent(char *bp, const char *name); int tgetnum(const char *id); int tgetflag(const char *id); char * tgetstr(const char *id, char **area); char * tgoto(const char *cm, int destcol, int destline); DESCRIPTION
These functions extract and use capabilities from a terminal capability database. They exist as wrappers around equivalent terminfo(3) func- tions, which new code should use. These are low level routines; see curses(3) for a higher level package. The tgetent() function calls setupterm() and configures PC, UP and BC. Only PC is actually used internally. The tgetent() function returns -1 if none of the terminfo data base files could be opened, 0 if the terminal name given does not match an entry, and 1 if all goes well. The bp argument is not used. The tgetnum() function gets the numeric value of the capability id, returning -1 if it is not given for the terminal. The tgetflag() func- tion returns 1 if the specified capability is present in the terminal's entry, 0 if it is not. The tgetstr() function returns the string value of the capability id. This is a terminfo(5) string and not a termcap string; as such it should only be processed by tgoto(). The tgetstr() function returns NULL if the capability was not found. The area argument is unused. The tgoto() function returns a cursor addressing string decoded from cm to go to column destcol in line destline, or NULL on error conditions such as out of memory. Please note that tgoto() can return an incomplete value on a malformed input sequence. Historically tgoto() used to return ``OOPS'' on those conditions, so newer programs should now be checking the return value. SEE ALSO
terminfo(3), terminfo(5) HISTORY
termcap first appeared in 4.0BSD. NetBSD 1.5 introduced some termcap t_*() extensions which were removed in NetBSD 6.0 when terminfo(3) was introduced. AUTHORS
Roy Marples <roy@NetBSD.org> BSD
March 14, 2011 BSD
All times are GMT -4. The time now is 02:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy