xterm termcape :ti@:te@:

Pan Tsu inyaoo at gmail.com
Sun Apr 24 21:05:07 UTC 2011


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

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)
@@ -3011,7 +3011,7 @@
 # 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
%%


More information about the freebsd-current mailing list