Re: xterm termcape :ti_at_:te_at_:

From: Gary Jennejohn <gljennjohn_at_googlemail.com>
Date: Mon, 25 Apr 2011 09:52:24 +0200
On Sun, 24 Apr 2011 20:23:14 -0400
Thomas Dickey <dickey_at_radix.net> wrote:

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

This may not be too helpful, but it works with rxvt and less, i.e. the
old screen contents are preserved and appear again after leaving less.

-- 
Gary Jennejohn
Received on Mon Apr 25 2011 - 05:52:29 UTC

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