Switch to alternate screen buffer
Wojciech Puchar
wojtek at wojtek.tensor.gdynia.pl
Thu Jul 24 14:58:03 UTC 2008
> 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 2>&1|vim -
More information about the freebsd-questions
mailing list