Switch to alternate screen buffer

2008-07-24 Thread Bertram Scharpf
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

Re: Switch to alternate screen buffer

2008-07-24 Thread Wojciech Puchar
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 buffe

Re: Switch to alternate screen buffer

2008-07-26 Thread Bertram Scharpf
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 acti

Re: Switch to alternate screen buffer

2008-07-26 Thread Thomas Dickey
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 > >>