xterm termcape :ti@:te@:

Thomas Dickey dickey at radix.net
Mon Apr 25 00:23:18 UTC 2011


On Mon, Apr 25, 2011 at 08:37:05AM +0900, Randy Bush wrote:
> no help from the following:
> 
> *** termcap~    Fri Mar 18 14:34:01 2011
> --- termcap     Sun Apr 24 23:33:52 2011
> ***************
> *** 3131,3136 ****
> --- 3131,3137 ----
>   #
>   # Customization begins here.
>   xterm-xfree86|xterm terminal emulator (XFree86):\
> +       :te=\E[?1049l:ti=\E[?1049h:\
>         :tc=xterm-new:

At this point, I'd check if less is using that entry
(ktrace or truss should be able to show the open's on the termcap database,
for instance).

Also, I seem to recall some discussion about less' -X (--no-init)
option.  It's possible that someone's patched "less" for FreeBSD
to make that -X option more or less permanent.  That would be
consistent with omitting ti/te from the termcap.

-- 
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/20110425/e5c69fb4/attachment.pgp


More information about the freebsd-current mailing list