Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 09:52:24 +0200
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Thomas Dickey <dickey@radix.net>
Cc:        Randy Bush <randy@psg.com>, FreeBSD current mailing list <freebsd-current@freebsd.org>
Subject:   Re: xterm termcape :ti@:te@:
Message-ID:  <20110425095224.39550486@ernst.jennejohn.org>
In-Reply-To: <20110425002314.GA8998@saltmine.radix.net>
References:  <m2sjt8mbt4.wl%randy@psg.com> <8639l7bbt3.fsf@gmail.com> <20110424222634.GA24854@saltmine.radix.net> <m21v0rmdb2.wl%randy@psg.com> <20110425002314.GA8998@saltmine.radix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Apr 2011 20:23:14 -0400
Thomas Dickey <dickey@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



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