help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suspending emacs on character terminals and "screen switching"


From: Romain Francoise
Subject: Re: Suspending emacs on character terminals and "screen switching"
Date: Sat, 05 May 2007 21:06:40 +0200

Casper Gripenberg <address@hidden> writes:

> Does anyone know what the terminal capability is that makes emacs
> switch back to the "shell screen" when you suspend emacs?

What you're seeing is called the "alternate screen", when TERM=xterm
Emacs draws its frame in the alternate screen, leaving the original
screen alone.  When TERM=vt100 then Emacs uses the original screen
buffer, which (as you've noticed) makes scrollback invisible.  The
corresponding termcap entries are 'ti' and 'te'.

A Google search for "xterm alternate screen" should return plenty of
relevant results.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]