Subject: Re: bin/7198: recent xterm termcap entry flakes out screen
To: David Brownlee <abs@anim.dreamworks.com>
From: Olaf Seibert <rhialto@polder.ubc.kun.nl>
List: netbsd-bugs
Date: 03/22/1999 01:54:51
On Sun, 21 Mar 1999, David Brownlee wrote:

> 	This makes cgetset() strip the fields in pretty much the same fashion
> 	as the cgetcap() and friends, which should be pretty much TRT.
> 
> 	I've tested it out on a selection of data, and in the screen case it
> 	saves around 60bytes.
> 
> 	Does anyone have any objections if I commit this (when cvs comes back)

Another thing you could do (which is a bit more work though, but might
prove even more effective), is to optimize out "cancelled" capabilities,
the ones that are written

    hn|2621-nl:ks@:ke@:tc=2621:

You can remove the :ks@ and the ks= or ks# that follows later. Similarly
for replaced capabilities you can strip out the unused definitions that
are included by the tc=.

> 		David/absolute
-Olaf.
--
___ Olaf 'Rhialto' Seibert - rhialto@polder.ubc. ---- Unauthorized duplication,
\X/ .kun.nl ---- while sometimes necessary, is never as good as the real thing.