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

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

Re: When exiting Emacs is there a command to "Clear" screen or "Restore


From: Reinhard Kotucha
Subject: Re: When exiting Emacs is there a command to "Clear" screen or "Restore Previous State".
Date: 08 Aug 2004 03:45:21 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "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 via email to

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