[net.bugs.usg] Terminfo

cc1@ucla-cs.UUCP (11/27/84)

What is terminfo, and how does it differ from termcap (be technical, please)

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (11/30/84)

> What is terminfo, and how does it differ from termcap (be technical, please)

Terminfo is Mark Horton's redesign of termcap.  The overall scheme is
quite similar, with the following improvements made:

	(1)  Terminal description database is pre-compiled for speed.
	(2)  Terminal description database is in several files rather
		than one humongous one.
	(3)  Additional terminal capabilities were added, some of
		which could be back-ported into termcap and some of
		which rely on terminfo special abilities.
	(4)  Terminal capabilities are given longer names (ANSI where
		possible).
	(5)  Parameterized string capabilities are now fully programmable
		in terms of a stack pseudo-machine.  The added flexibility
		supports a wider variety of terminals and capabilities.
	(6)  The curses and termlib libraries have been combined.

Terminfo is supplied as part of UNIX System V Release 2.0.  There is a
public-domain implementation by Pavel Curtis of Cornell.

martillo@mit-athena.ARPA (Joaquim Martillo) (12/02/84)

Terminfo users should be warned that one library supplied routine,
tgets, uses floating point and can definitely slow down emacs output.
The routine can easily be rewritten to use shift instructions.

martillo@mit-athena.ARPA (Joaquim Martillo) (12/02/84)

That function should have been tputs.

cc1@ucla-cs.UUCP (12/05/84)

>Terminfo is supplied as part of UNIX System V Release 2.0.  There is a
>public-domain implementation by Pavel Curtis of Cornell.

Where can I write for a copy of the public domain version?
					Michael Gersten

geoff@desint.UUCP (Geoff Kuenning) (12/06/84)

>>Terminfo is supplied as part of UNIX System V Release 2.0.  There is a
>>public-domain implementation by Pavel Curtis of Cornell.
>
>Where can I write for a copy of the public domain version?
>					Michael Gersten

The heck with that.  How 'bout a posting in mod.sources?
-- 

	Geoff Kuenning
	...!ihnp4!trwrb!desint!geoff

hansen@pegasus.UUCP (Tony L. Hansen) (12/07/84)

< Terminfo users should be warned that one library supplied routine,
< tgets, uses floating point and can definitely slow down emacs output.
< The routine can easily be rewritten to use shift instructions.
< 
< That function should have been tputs.

I don't know what terminfo you're using, but the "official" version
distributed as part of System Vr2 contains NO floats or doubles within it.
If you're using some other public implementation of terminfo, (of which
there is at least one,) then all bets are off.

					Tony Hansen
					pegasus!hansen