Re: [ANNOUNCE] git-pasky-0.6.2 && heads-up on upcoming changes
- From
- Edgar Toernig <froese@gmx.de>
- Date
- Apr 21, 2005, 14:21 UTC
- Message-ID
- <20050421162100.068146b9.froese@gmx.de>
- In-Reply-To
- <20050421064931.GA31910@pasky.ji.cz>
Petr Baudis wrote:
> > A little off-topic, anyone knows how to turn off that damn alternate > screen thing on the xterm level? (Or any other level which makes _all_ > programs not to use it.)
Change the terminfo entry.
The relevant sequence is \E?47h and \E[?47l (save/restore screen) and often it is paired with \E7 and \E8 (save/restore cursor position) and \E[2J (clear screen). [1]
Here it was put in the smcup/rmcup capabilities.
infocmp >term.src vi term.src # either remove the sequences or completely disable the # capabilities by adding a dot in front of them (.rmcup=...). tic term.src
Done.
Ciao, ET.
[1] On strange terminals the escape sequences may be completely different but these are the common ones.