From owner-svn-src-all@FreeBSD.ORG  Tue Jun 30 20:52:56 2009
Return-Path: <owner-svn-src-all@FreeBSD.ORG>
Delivered-To: svn-src-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D894810656C2
	for <svn-src-all@freebsd.org>; Tue, 30 Jun 2009 20:52:56 +0000 (UTC)
	(envelope-from max@love2party.net)
Received: from moutng.kundenserver.de (moutng.kundenserver.de
	[212.227.126.177])
	by mx1.freebsd.org (Postfix) with ESMTP id 684518FC2C
	for <svn-src-all@freebsd.org>; Tue, 30 Jun 2009 20:52:56 +0000 (UTC)
	(envelope-from max@love2party.net)
Received: from vampire.homelinux.org (dslb-088-066-037-051.pools.arcor-ip.net
	[88.66.37.51])
	by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis)
	id 0ML21M-1MLkJy34eu-00009N; Tue, 30 Jun 2009 22:52:54 +0200
Received: (qmail 68641 invoked from network); 30 Jun 2009 20:52:54 -0000
Received: from kvm.laiers.local (HELO kvm.localnet) (192.168.4.187)
	by mx.laiers.local with SMTP; 30 Jun 2009 20:52:54 -0000
From: Max Laier <max@love2party.net>
Organization: FreeBSD
To: Ulrich =?utf-8?q?Sp=C3=B6rlein?= <uqs@spoerlein.net>
Date: Tue, 30 Jun 2009 22:52:52 +0200
User-Agent: KMail/1.11.3 (Linux/2.6.30-rc5-ARCH; KDE/4.2.3; x86_64; ; )
References: <86prcl23k8.fsf@ds4.des.no>
	<20090630.094632.195416436.imp@bsdimp.com>
	<20090630193712.GA5446@roadrunner.spoerlein.net>
In-Reply-To: <20090630193712.GA5446@roadrunner.spoerlein.net>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200906302252.53894.max@love2party.net>
X-Provags-ID: V01U2FsdGVkX18QTJgRO4V4fnR6BZJw55jS0VmMloJutDDdxsj
	WS5i2hP4DmiRpQ/rj4URpKLzEqLg14iLER9z7DkZJZt++7VgRr
	6ukFgmFCnl/SrqtOSfBeQ==
Cc: ed@80386.nl, src-committers@freebsd.org, svn-src-all@freebsd.org,
	rwatson@freebsd.org, rafan@freebsd.org, svn-src-head@freebsd.org,
	des@des.no, "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: svn commit: r194628 - head/lib/ncurses/ncurses
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
	user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
	<mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all>
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-all>,
	<mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2009 20:52:57 -0000

On Tuesday 30 June 2009 21:37:12 Ulrich Sp=C3=B6rlein wrote:
> On Tue, 30.06.2009 at 09:46:32 -0600, M. Warner Losh wrote:
> > In message: <alpine.BSF.2.00.0906301631470.28381@fledge.watson.org>
> >
> >             Robert Watson <rwatson@FreeBSD.org> writes:
> > : On Tue, 30 Jun 2009, M. Warner Losh wrote:
> > : > Last time this BBQ came up, I thought it was agreed that there
> > : > would be a xterm-XXX that didn't do this behavior for those folks
> > : > that think the current behavior is harmfully wrong...
> > :
> > : Whereas I think it's a bug in more(1)/less(1) that it tries to use
> > : those sequences...
> >
> > Agreed.  vi too.  I'll note that on Mac OS, in the xterm, you don't
> > see this with either...  But I don't know how to undo tic(1)
> > formatting to get back to the raw xterm entries...
>
> For vim(1) you can use something like set t_ti=3D t_te=3D
>
> Btw, I do like the current behaviour, but if $PAGER can be coerced into
> not clearing screen after exit, I think more people could be persuaded.

$ alias less=3D'less -X'

   -X or --no-init
          Disables sending the termcap initialization and deinitialization
          strings to the terminal.  This is  sometimes  desirable  if  the
          deinitialization  string does something unnecessary, like clear-
          ing the screen.

It's one of the first things I do when I get a linux shell account=20
somewhere.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News