unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Romain Francoise <romain@orebokech.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Suspending emacs on character terminals and "screen switching"
Date: Sat, 05 May 2007 21:06:40 +0200	[thread overview]
Message-ID: <87abwjks3j.fsf@pacem.orebokech.com> (raw)
In-Reply-To: mailman.313.1178390702.32220.help-gnu-emacs@gnu.org

Casper Gripenberg <casper.gripenberg@kotiportti.fi> 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	other threads:[~2007-05-05 19:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.313.1178390702.32220.help-gnu-emacs@gnu.org>
2007-05-05 19:06 ` Romain Francoise [this message]
2007-05-05 20:03 ` Suspending emacs on character terminals and "screen switching" Tyler Smith
2007-05-04 23:25 Casper Gripenberg
2007-05-06  6:19 ` Maciej Katafiasz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abwjks3j.fsf@pacem.orebokech.com \
    --to=romain@orebokech.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).