Re: xterm termcape :ti_at_:te_at_:

From: Pan Tsu <inyaoo_at_gmail.com>
Date: Mon, 25 Apr 2011 01:04:56 +0400
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.

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

Use FreeBSD-specific `xterm-clear' termcap record, e.g.

  $ xterm -xrm 'XTerm.termName: xterm-clear' # or add to ~/.Xdefaults

or alter xterm alias to point to it so that ca_mode works even if you
ssh to Linux box that doesn't have the record.

%%
Index: share/termcap/termcap.src
===================================================================
--- share/termcap/termcap.src	(revision 220998)
+++ share/termcap/termcap.src	(working copy)
_at__at_ -3011,7 +3011,7 _at__at_
 # is widely used for a variety of incompatible terminal emulations including
 # color_xterm and rxvt.
 xterm|X11 terminal emulator:\
-	:tc=xterm-new:
+	:tc=xterm-clear:
 #	:tc=xterm-r6:
 # dtterm termcap entry - Obtained from Xinside's CDE with permission
 # from Thomas Roell
%%
Received on Sun Apr 24 2011 - 19:05:07 UTC

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