From owner-freebsd-questions@FreeBSD.ORG Sat Jul 26 17:14:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91BB8106567B for ; Sat, 26 Jul 2008 17:14:01 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 54E9A8FC27 for ; Sat, 26 Jul 2008 17:14:01 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id m6QHDxuG028259; Sat, 26 Jul 2008 13:14:00 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id m6QHDxVr028254; Sat, 26 Jul 2008 13:13:59 -0400 (EDT) Date: Sat, 26 Jul 2008 13:13:59 -0400 From: Thomas Dickey To: Wojciech Puchar , freebsd-questions@freebsd.org Message-ID: <20080726171359.GA25742@saltmine.radix.net> References: <20080724133631.GA31077@marge.bs.l> <20080724165727.O3416@wojtek.tensor.gdynia.pl> <20080726130357.GB10056@marge.bs.l> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <20080726130357.GB10056@marge.bs.l> User-Agent: Mutt/1.3.27i Cc: Subject: Re: Switch to alternate screen buffer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2008 17:14:01 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 26, 2008 at 03:03:57PM +0200, Bertram Scharpf wrote: > Hi, >=20 > Am Donnerstag, 24. Jul 2008, 16:57:40 +0200 schrieb Wojciech Puchar: > >> I know from some old Linux installations that Less and Vim are able to > >> switch to an alternate screen buffer. They use the escape sequences > >> "\e[?1047h" and "\e[?1047l" to switch back respectively. > >> > >> How can I activate this in FreeBSD? > > > > no idea but do > > > > someprg 2>&1|vim - >=20 > No. I will not waive. This is not Microsoft here. >=20 > Edit /usr/share/misc/termcap. Change the following entry: >=20 > xterm|xterm-color|X11 terminal emulator:\ > :ti=3D\E[?47h:te=3D\E[?47l:tc=3Dxterm-xfree86: 47 by itself won't clear the alternate buffer (probably not what is intende= d). For more information http://invisible-island.net/xterm/xterm.faq.html#xterm_tite --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFIi1tUtIqByHxlDocRAmD2AJoC5/ATW4dIb5eC6d+pTW1asGwK1wCgmkkJ pUfCBl0i1B7VEBcu0/+NK/M= =G+F0 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--