svn commit: r194628 - head/lib/ncurses/ncurses
max at love2party.net
Tue Jun 30 20:52:57 UTC 2009
On Tuesday 30 June 2009 21:37:12 Ulrich Spörlein wrote:
> On Tue, 30.06.2009 at 09:46:32 -0600, M. Warner Losh wrote:
> > In message: <alpine.BSF.2.00.0906301631470.28381 at fledge.watson.org>
> > Robert Watson <rwatson at 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= t_te=
> 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='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
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
More information about the svn-src-all