xterm termcape :ti@:te@:

Thomas Dickey dickey at radix.net
Sun Apr 24 22:49:02 UTC 2011


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@:te@: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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110424/4e48e6ec/attachment.pgp


More information about the freebsd-current mailing list