Re: xterm termcape :ti_at_:te_at_:

From: Thomas Dickey <dickey_at_radix.net>
Date: Sun, 24 Apr 2011 18:26:34 -0400
On Mon, Apr 25, 2011 at 01:04:56AM +0400, Pan Tsu wrote:
> Randy Bush <randy_at_psg.com> writes:
> 
> > i know i a perverted, but i really prefer not to have ca_mode.  i.e.
> 
> 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:
 
> > 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=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
> >       xterm|xterm-color|X11 terminal emulator:\
> >     !       :ti_at_:te_at_:tc=xterm-xfree86:
> >       #
> >       # DESCRIPTION:
> >       # This file describes capabilities of various terminals, as needed by
> >     --- 299,305 ----
> >       adm3|3|lsi adm3:\
> > 	    :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80:
> >       xterm|xterm-color|X11 terminal emulator:\
> >     !       :tc=xterm-xfree86:
> >       #
> >       # DESCRIPTION:
> >       # This file describes capabilities of various terminals, as needed 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 
desired line

	:ti=\E[?1049h:te=\E[?1049l:tc=xterm-xfree86:

or 

	:ti=\E[?1049h:te=\E[?1049l:tc=xterm-new:

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

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

Received on Sun Apr 24 2011 - 20:49:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC