Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2009 10:53:08 +0100
From:      Christoph Mallon <christoph.mallon@gmx.de>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Hajimu UMEMOTO <ume@FreeBSD.org>, Garrett Wollman <wollman@bimajority.org>
Subject:   Re: svn commit: r200369 - in head: etc share/termcap
Message-ID:  <4B236804.1030001@gmx.de>
In-Reply-To: <4B236403.2080408@FreeBSD.org>
References:  <200912102225.nBAMPrZx076758@svn.freebsd.org>	<ygek4wtgyp4.wl%ume@mahoroba.org>	<19235.10488.325168.267306@hergotha.csail.mit.edu>	<4B232E39.4000305@FreeBSD.org> <4B236147.7030603@gmx.de> <4B236403.2080408@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote:
> Christoph Mallon wrote:
>> Doug Barton wrote:
>>> Garrett Wollman wrote:
>>>> <<On Sat, 12 Dec 2009 03:20:07 +0900, Hajimu UMEMOTO
>>>> <ume@FreeBSD.org> said:
>>>>
>>>>> It's great, thank!!
>>>>> I believe that our xterm entry was modified not to clear screen when
>>>>> applications such as less(1) are terminated.  Are there any chance to
>>>>> back to the behavior?
>>>> <aol/>
>>>>
>>>> I don't understand why people put up with the unspeakably obnoxious
>>>> "alternate screen" behavior.  Please don't tell me someone actually
>>>> thinks it's *useful*.
>>> I actually liked having the remnants of whatever I was looking at in
>>> $PAGER left behind on the screen, and would appreciate it if someone
>>> could tell me how to restore that locally.
>> %echo $LESS
>> -X
> 
> Yeah, I should have been more clear. I am aware of that solution for
> less, but I also dislike this behavior for vi, etc. Basically, I want
> to know what to twiddle to get the old behavior back.

No idea for (n)vi, but for vim you can do this:

echo "set t_ti=" >> ~/.vimrc
echo "set t_te=" >> ~/.vimrc

	Christoph



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