[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TTY display trouble
From: |
Devon Sean McCullough |
Subject: |
TTY display trouble |
Date: |
Sun, 24 Jul 2005 15:34:14 -0400 (EDT) |
While testing isearch I ran into TTY display trouble
Emacs trashes a whole screenful of transcript
which should have been saved in the
terminal scroll back buffer.
The fix is to scroll the emacs command line off the top at initial
startup and suspend resume, before any mode line or text redisplay.
Newlines are best because clear screen fails to preserve scroll back
on certain popular terminal emulators such as Apple Terminal.
It does no good to set `term-setup-hook' which runs too late,
after the mode line already clobbered the emacs command line.
Peace
--Devon
PS: To duplicate, in some terminal program ...
$ cd emacs
$ ls -la
$ src/emacs -nw -q --no-site-file src/emacs
... any file big enough to read slowly will do.
Now observe how scrolling backwards lost the most recent
screen of output including the command that launched emacs.
- TTY display trouble,
Devon Sean McCullough <=