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: David White
Subject: Re: When exiting Emacs is there a command to "Clear" screen or "Restore Previous State".
Date: Mon, 09 Aug 2004 14:56:04 GMT
User-agent: Mozilla Thunderbird 0.7.2 (X11/20040728)

Reinhard Kotucha wrote:
"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,

Thanks for the input...

Term also returns "linux" for me.
Terminfo is the config file & there is a ref to  a linux console.
I guess it just doesn't support a CLEAR srceen when emacs exits.

Good Luck,
Dave White


reply via email to

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