From owner-freebsd-current@FreeBSD.ORG Mon Apr 25 07:52:29 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4C861065675 for ; Mon, 25 Apr 2011 07:52:29 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 304CE8FC17 for ; Mon, 25 Apr 2011 07:52:28 +0000 (UTC) Received: by wwc33 with SMTP id 33so1916661wwc.31 for ; Mon, 25 Apr 2011 00:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=+gN8TkXUwRoDSx86rLM/tozc6QisKumE6rzQ9r6q04A=; b=xmirf+034oURB7Esq8N2uTkAxgNLdOAciPiU7/vXWgrJrGA/dBzhvphSMpE23mZgzW zF4/AYA+qlB1CouA6wErRCFO+OcFEn24B+qu5mw/jcP3SySpktK0rhD5jE+DTrr889UP zMdso25puBcG/ZM/36kA9MXkZKTFpJrnLGuOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=MBNG6lLgdHe/29GJz4ZSXvSIblaKgGKrkuqjNCaAtsbhjjhkuKIPQS08Ti7UdBCpyC t4mjtIm7MJPUBYFEw8YB6Qs4FZWdRENd/6t5Wiytm6itu3WLnv2eUKXjLQliZ+EKedbM xobmCixfnsmxwVOCRTJx36FZBbcIyxSaXEnB4= Received: by 10.227.91.77 with SMTP id l13mr3661967wbm.44.1303717948182; Mon, 25 Apr 2011 00:52:28 -0700 (PDT) Received: from ernst.jennejohn.org (p578E3302.dip.t-dialin.net [87.142.51.2]) by mx.google.com with ESMTPS id p5sm3132025wbg.11.2011.04.25.00.52.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2011 00:52:27 -0700 (PDT) Date: Mon, 25 Apr 2011 09:52:24 +0200 From: Gary Jennejohn To: Thomas Dickey Message-ID: <20110425095224.39550486@ernst.jennejohn.org> In-Reply-To: <20110425002314.GA8998@saltmine.radix.net> References: <8639l7bbt3.fsf@gmail.com> <20110424222634.GA24854@saltmine.radix.net> <20110425002314.GA8998@saltmine.radix.net> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Randy Bush , FreeBSD current mailing list Subject: Re: xterm termcape :ti@:te@: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 07:52:29 -0000 On Sun, 24 Apr 2011 20:23:14 -0400 Thomas Dickey wrote: > On Mon, Apr 25, 2011 at 08:37:05AM +0900, Randy Bush wrote: > > no help from the following: > > > > *** termcap~ Fri Mar 18 14:34:01 2011 > > --- termcap Sun Apr 24 23:33:52 2011 > > *************** > > *** 3131,3136 **** > > --- 3131,3137 ---- > > # > > # Customization begins here. > > xterm-xfree86|xterm terminal emulator (XFree86):\ > > + :te=\E[?1049l:ti=\E[?1049h:\ > > :tc=xterm-new: > > At this point, I'd check if less is using that entry > (ktrace or truss should be able to show the open's on the termcap database, > for instance). > > Also, I seem to recall some discussion about less' -X (--no-init) > option. It's possible that someone's patched "less" for FreeBSD > to make that -X option more or less permanent. That would be > consistent with omitting ti/te from the termcap. > This may not be too helpful, but it works with rxvt and less, i.e. the old screen contents are preserved and appear again after leaving less. -- Gary Jennejohn