From owner-svn-src-all@FreeBSD.ORG Tue Jun 30 21:08:18 2009 Return-Path: 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 5BCFD1065670; Tue, 30 Jun 2009 21:08:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 136248FC08; Tue, 30 Jun 2009 21:08:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n5UL6XBp022383; Tue, 30 Jun 2009 15:06:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 30 Jun 2009 15:06:58 -0600 (MDT) Message-Id: <20090630.150658.1306326527.imp@bsdimp.com> To: max@love2party.net From: "M. Warner Losh" In-Reply-To: <200906302252.53894.max@love2party.net> References: <20090630.094632.195416436.imp@bsdimp.com> <20090630193712.GA5446@roadrunner.spoerlein.net> <200906302252.53894.max@love2party.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ed@80386.nl, src-committers@FreeBSD.org, uqs@spoerlein.net, rwatson@FreeBSD.org, svn-src-head@FreeBSD.org, des@des.no, svn-src-all@FreeBSD.org, rafan@FreeBSD.org 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 " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 21:08:18 -0000 In message: <200906302252.53894.max@love2party.net> Max Laier writes: : On Tuesday 30 June 2009 21:37:12 Ulrich Sp=F6rlein wrote: : > On Tue, 30.06.2009 at 09:46:32 -0600, M. Warner Losh wrote: : > > In message: : > > : > > Robert Watson writes: : > > : On Tue, 30 Jun 2009, M. Warner Losh wrote: : > > : > Last time this BBQ came up, I thought it was agreed that ther= e : > > : > would be a xterm-XXX that didn't do this behavior for those f= olks : > > : > 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 persua= ded. : = : $ alias less=3D'less -X' : = : -X or --no-init : Disables sending the termcap initialization and deinitializ= ation : strings to the terminal. This is sometimes desirable if= the : deinitialization string does something unnecessary, like c= lear- : ing the screen. : = : It's one of the first things I do when I get a linux shell account = : somewhere. Looks like "setenv LESS -X" or "export LESS=3D-X" would do the same thing, no? And work for "more" too... Warner