Date: Sat, 26 Jul 2008 13:13:59 -0400 From: Thomas Dickey <dickey@radix.net> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions@freebsd.org Subject: Re: Switch to alternate screen buffer Message-ID: <20080726171359.GA25742@saltmine.radix.net> In-Reply-To: <20080726130357.GB10056@marge.bs.l> References: <20080724133631.GA31077@marge.bs.l> <20080724165727.O3416@wojtek.tensor.gdynia.pl> <20080726130357.GB10056@marge.bs.l>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080726171359.GA25742>