svn commit: r200369 - in head: etc share/termcap

Christoph Mallon christoph.mallon at gmx.de
Sat Dec 12 01:53:11 PST 2009


Doug Barton wrote:
> Christoph Mallon wrote:
>> Doug Barton wrote:
>>> Garrett Wollman wrote:
>>>> <<On Sat, 12 Dec 2009 03:20:07 +0900, Hajimu UMEMOTO
>>>> <ume at 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


More information about the svn-src-all mailing list