Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 07:00:39 -0400
From:      Thomas Dickey <dickey@radix.net>
To:        Gary Jennejohn <gljennjohn@googlemail.com>
Cc:        FreeBSD current mailing list <freebsd-current@freebsd.org>
Subject:   Re: xterm termcape :ti@:te@:
Message-ID:  <20110425110039.GA7645@saltmine.radix.net>
In-Reply-To: <20110425095224.39550486@ernst.jennejohn.org>
References:  <m2sjt8mbt4.wl%randy@psg.com> <8639l7bbt3.fsf@gmail.com> <20110424222634.GA24854@saltmine.radix.net> <m21v0rmdb2.wl%randy@psg.com> <20110425002314.GA8998@saltmine.radix.net> <20110425095224.39550486@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 25, 2011 at 09:52:24AM +0200, Gary Jennejohn wrote:
> On Sun, 24 Apr 2011 20:23:14 -0400
> Thomas Dickey <dickey@radix.net> wrote:
>=20
> > On Mon, Apr 25, 2011 at 08:37:05AM +0900, Randy Bush wrote:
> > > no help from the following:
> > >=20
> > > *** termcap~    Fri Mar 18 14:34:01 2011
> > > --- termcap     Sun Apr 24 23:33:52 2011
> > > ***************
> > > *** 3131,3136 ****
> > > --- 3131,3137 ----
> > >   #
> > >   # Customization begins here.
> > >   xterm-xfree86|xterm terminal emulator (XFree86):\
> > > +       :te=3D\E[?1049l:ti=3D\E[?1049h:\
> > >         :tc=3Dxterm-new:
> >=20
> > At this point, I'd check if less is using that entry
> > (ktrace or truss should be able to show the open's on the termcap datab=
ase,
> > for instance).
> >=20
> > Also, I seem to recall some discussion about less' -X (--no-init)
> > option.  It's possible that someone's patched "less" for FreeBSD
> > to make that -X option more or less permanent.  That would be
> > consistent with omitting ti/te from the termcap.
> >=20
>=20
> This may not be too helpful, but it works with rxvt and less, i.e. the
> old screen contents are preserved and appear again after leaving less.

Well, that would address the issue with "less" (if it used the same
behavior in either terminal).  rxvt should be setting $TERM to some
"rxvt" name though, since its function-keys differ from xterm's.

(I seem to recall that some packages for it used to set TERM to "xterm",
under the supposition that a poor match was better than none).

--=20
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFNtVQvtIqByHxlDocRAkq7AKCi5UZxn9G6SD2d8C6TBxUjRDzXhwCgne1z
2SjIS+lL2QiaN+V1tLPw/2E=
=yMWx
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110425110039.GA7645>