all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reinhard Kotucha <reinhard@zarniwoop.ms25.local>
Subject: Re: When exiting Emacs is there a command to "Clear" screen or "Restore Previous State".
Date: 08 Aug 2004 03:45:21 +0200	[thread overview]
Message-ID: <m2zn56o11q.fsf@zarniwoop.ms25.local> (raw)
In-Reply-To: XleRc.430$aA3.403@newssvr15.news.prodigy.com

>>>>> "David" == David White <djwhite@snet.net> writes:

    > Hello everyone, I couldn't find anything on this subject in info
    > emacs or google.

I suppose that you are running emacs in a terminal.  It's up to the
terminal program to restore the screen.  Make sure that the TERM
variable is set properly.

For instance, in xterm you should have TERM=xterm.  On a Linux console
I have TERM=linux (this might be different in other Linux
distributions, depending on the terminal program beeing used). 

If I set TERM=vt100 the content of the screen is not restored.  But
doing this is wrong anyway because it's not a vt100 terminal.

You can check the value of the variable by typing "echo $TERM"
(without the quotes).

If the variable is set properly and it doesn't work, either your
terminal program doesn't support this feature or the configuration
file (termcap or terminfo) is broken.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha@web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------

  reply	other threads:[~2004-08-08  1:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-08  0:21 When exiting Emacs is there a command to "Clear" screen or "Restore Previous State" David White
2004-08-08  1:45 ` Reinhard Kotucha [this message]
2004-08-09 14:56   ` David White
2004-08-09 16:57     ` Kevin Rodgers

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

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

  git send-email \
    --in-reply-to=m2zn56o11q.fsf@zarniwoop.ms25.local \
    --to=reinhard@zarniwoop.ms25.local \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.