Re: Switch to alternate screen buffer
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 21|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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Switch to alternate screen buffer
On Sat, Jul 26, 2008 at 03:03:57PM +0200, Bertram Scharpf wrote: 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 21|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: 47 by itself won't clear the alternate buffer (probably not what is intended). For more information http://invisible-island.net/xterm/xterm.faq.html#xterm_tite -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpDDMCRzIVMH.pgp Description: PGP signature
Switch to alternate screen buffer
Hi, this is difficult to google for. In a terminal window I oftenly pipe some progams output to vim or to less: $ someprg | vim - When the program fails and outputs an error message to stderr this will be overwritten by Vim. 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[?1049h and \e[?1049l to switch back respectively. How can I activate this in FreeBSD? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Switch to alternate screen buffer
In a terminal window I oftenly pipe some progams output to vim or to less: $ someprg | vim - When the program fails and outputs an error message to stderr this will be overwritten by Vim. 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[?1049h and \e[?1049l to switch back respectively. How can I activate this in FreeBSD? no idea but do someprg 21|vim - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]