Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2011 18:26:34 -0400
From:      Thomas Dickey <dickey@radix.net>
To:        Pan Tsu <inyaoo@gmail.com>
Cc:        FreeBSD current mailing list <freebsd-current@freebsd.org>
Subject:   Re: xterm termcape :ti@:te@:
Message-ID:  <20110424222634.GA24854@saltmine.radix.net>
In-Reply-To: <8639l7bbt3.fsf@gmail.com>
References:  <m2sjt8mbt4.wl%randy@psg.com> <8639l7bbt3.fsf@gmail.com>

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

--7JfCtLOvnd9MIVvH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 25, 2011 at 01:04:56AM +0400, Pan Tsu wrote:
> Randy Bush <randy@psg.com> writes:
>=20
> > i know i a perverted, but i really prefer not to have ca_mode.  i.e.
>=20
> Not to? But the patch makes the opposite effect.

hmm - I've seen this sort of question often enough that I read it offhand
as did someone last August - that Randy wants to cancel the alternate
screen mode:

http://lists.freebsd.org/pipermail/freebsd-current/2010-August/019100.html

(I don't know what ca_mode might be, either)

But given your comment, and looking again at the patch, I notice that the
chunk without the cancels has the later timestamp:
=20
> > prior to 9, i had this little patch
> >
> >     *** termcap.FCS Tue Jun 17 15:10:46 2003
> >     --- termcap     Tue Jun 17 15:14:15 2003
> >     ***************
> >     *** 299,305 ****
> >       adm3|3|lsi adm3:\
> > 	    :do=3D^J:am:le=3D^H:bs:cl=3D^Z:li#24:ma=3D^K^P:co#80:
> >       xterm|xterm-color|X11 terminal emulator:\
> >     !       :ti@:te@:tc=3Dxterm-xfree86:
> >       #
> >       # DESCRIPTION:
> >       # This file describes capabilities of various terminals, as neede=
d by
> >     --- 299,305 ----
> >       adm3|3|lsi adm3:\
> > 	    :do=3D^J:am:le=3D^H:bs:cl=3D^Z:li#24:ma=3D^K^P:co#80:
> >       xterm|xterm-color|X11 terminal emulator:\
> >     !       :tc=3Dxterm-xfree86:
> >       #
> >       # DESCRIPTION:
> >       # This file describes capabilities of various terminals, as neede=
d by
> >
> > which no longer works.

Perhaps he wants to _have_ the alternate screen, which as I noted is
not present in the "xterm-xfree86" entry.  Then that would make the=20
desired line

	:ti=3D\E[?1049h:te=3D\E[?1049l:tc=3Dxterm-xfree86:

or=20

	:ti=3D\E[?1049h:te=3D\E[?1049l:tc=3Dxterm-new:

Setting the titeInhibit resource cancels those 1049's, but unsetting
it doesn't add them.

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

--7JfCtLOvnd9MIVvH
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

iD8DBQFNtKORtIqByHxlDocRAvliAJ0QzSJsZndA4v/NxgwLUnjt138/2QCgkct6
FII6WsB7vGMAGW5Hg+h4yew=
=S/Ei
-----END PGP SIGNATURE-----

--7JfCtLOvnd9MIVvH--



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