Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 01:04:56 +0400
From:      Pan Tsu <inyaoo@gmail.com>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD current mailing list <freebsd-current@freebsd.org>
Subject:   Re: xterm termcape :ti@:te@:
Message-ID:  <8639l7bbt3.fsf@gmail.com>
In-Reply-To: <m2sjt8mbt4.wl%randy@psg.com> (Randy Bush's message of "Sun, 24 Apr 2011 14:57:11 %2B0900")
References:  <m2sjt8mbt4.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Randy Bush <randy@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
%%



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