[net.unix] termcap

kadie@uiucdcs.UUCP (kadie ) (04/05/84)

#N:uiucdcs:39300002:000:151
uiucdcs!kadie    Apr  4 17:28:00 1984

How can I set up my own termcap for my terminal
without using the system termcap. ( I would like to
experiment before it goes to the system database)

grunwald@uiuccsb.UUCP (04/06/84)

#R:uiucdcs:39300002:uiuccsb:19300009:000:543
uiuccsb!grunwald    Apr  5 08:54:00 1984

   You can set the shell variable "TERMCAP" to the string you want to use.
Programs using the TERMCAP routines check this variable before accessing
/etc/termcap.

For a specific terminal type, you can retrieve your termcap information by
doing "tset -S". This will print your termcap entry to stdout.

Thus, in the CSH, to set your TERMCAP variable (and thus cut down on a
file access every time you do a "more" or "vi"), do the following:

setenv TERMCAP "`tset -SQ`"

See TERMCAP in section (5) of the UNIX programmers manual for more info.

rpw3@fortune.UUCP (04/08/84)

#R:uiucdcs:39300002:fortune:26900040:000:546
fortune!rpw3    Apr  7 20:41:00 1984

+--------------------
|    You can set the shell variable "TERMCAP" to the string you want to use.
| Programs using the TERMCAP routines check this variable before accessing
| /etc/termcap.
+--------------------

You can also set TERMCAP to a filename, as in "TERMCAP=/usr/you/termcap.test".
That lets you use several test versions which you can select with "TERM=xxx".

Rob Warnock

UUCP:	{ihnp4,ucbvax!amd70,hpda,harpo,sri-unix,allegra}!fortune!rpw3
DDD:	(415)595-8444
USPS:	Fortune Systems Corp, 101 Twin Dolphin Drive, Redwood City, CA 94065

smk@axiom.UUCP (Steven M. Kramer) (04/09/84)

For the record (no, I'm not going to also post to net.records), the
TERMCAP variable is interpreted as:

1) If it leads with a / as in TERMCAP=/etc/termcap, it points to a file.

2) Otherwise, it points to the attributes themselves, as in
   TERMCAP=dumb|li#80

On most systems, no TERMCAP environment var means default to /etc/termcap
in the programs.
-- 
	--steve kramer
	{allegra,genrad,ihnp4,utzoo,philabs,uw-beaver}!linus!axiom!smk	(UUCP)
	linus!axiom!smk@mitre-bedford					(MIL)

jag7871@ritcv.UUCP (John Greenwald) (01/18/85)

**Does anyone know the termcap entry for the vic 20?
If so, please respond to rochester!ritcv!jag7871
 REPLACE THIS LINE WITH YOUR MESSAGE ***