Date: Sat, 26 Jul 2008 15:03:57 +0200 From: Bertram Scharpf <lists@bertram-scharpf.de> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions@freebsd.org Subject: Re: Switch to alternate screen buffer Message-ID: <20080726130357.GB10056@marge.bs.l> In-Reply-To: <20080724165727.O3416@wojtek.tensor.gdynia.pl> References: <20080724133631.GA31077@marge.bs.l> <20080724165727.O3416@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 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 - No. I will not waive. This is not Microsoft here. Edit /usr/share/misc/termcap. Change the following entry: xterm|xterm-color|X11 terminal emulator:\ :ti=\E[?47h:te=\E[?47l:tc=xterm-xfree86: Don't forget to execute "cap_mkdb termcap". No need to get over with a poor workaround. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080726130357.GB10056>