Subject: Re: bin/7198: recent xterm termcap entry flakes out screen
To: None <mason@acheron.middleboro.ma.us>
From: ITOH Yasufumi <yasufu-i@is.aist-nara.ac.jp>
List: netbsd-bugs
Date: 03/19/1999 21:08:26
In article <199903190153.UAA24935@acheron.middleboro.ma.us>
mason@acheron.middleboro.ma.us writes:

> As per Rob Windsor's problem report (pkg/7008), screen and vi don't cooperate
> in an xterm.

It seems the TERMCAP environment variable set by screen
exceeds 1023 bytes long.
(Bug of screen?)

I think this is also the cause of pkg/7008.

> >Fix:
> 
> Use an older termcap. Diffs that apply to 1999.03.17's termcap are included,
> below.

Does this really fix?

Screen sets its own termcap entry in TERMCAP variable,
and I think reverting the /usr/share/misc/termcap{,db} doesn't help.

I think the following will be a work-around of the problems

Type
	% unsetenv TERMCAP	# if you are using csh
or
	% eval `tset -I -s`
in a window of screen
and then,
	% vi

Thanks,
--
ITOH, Yasufumi <yasufu-i@is.aist-nara.ac.jp>, <itohy@netbsd.org>