Xref: utzoo gnu.emacs:1390 gnu.emacs.bug:1037 comp.emacs:6635
Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!att!cbnews!djs
From: djs@cbnews.ATT.COM (Douglas J. Scofea)
Newsgroups: gnu.emacs,gnu.emacs.bug,comp.emacs
Subject: Scrolling in GNU emacs
Message-ID: <8914@cbnews.ATT.COM>
Date: 9 Aug 89 17:50:30 GMT
Reply-To: djs@cbnews.ATT.COM (Douglas J. Scofea)
Organization: AT&T Bell Laboratories
Lines: 28

I am using GNU emacs 18.53 on an Amdahl running UTS (mostly System 5 
release 2).  Under some conditions, emacs will redraw the entire screen 
just to scroll one line, which is very slow.  The terminal is an AT&T 
5620 but it also occurs on a Teletype 4425 (pretty much a standard ANSI 
terminal). 

I've read $EMACS/etc/TERMS and tryed making some changes to the terminfo 
description, but it just made things worse.  The terminfo description
has no padding in it at all.  The problem occurs when the screen is
mostly full of a narrow column of text, like a large case statement in
C or a terminfo description.  Under these conditions, emacs will redraw
the entire display to scroll one line.  If it matters, I have scroll-step
set to 1.  When the same file is scrolled in vi, no problems occur.

I figure it has to be something in the terminfo description making emacs 
think that scrolling the terminal would be slow compared to redrawing the 
screen.  However, since there is no padding, and a scroll is at most
a few escape sequences, I can't understand what would cause this.

If anyone has some suggestions about things to try, please post them
or mail to the address below.  Thanks.

--
Doug Scofea  -  djs@cbnews.ATT.COM      Phone: +1 614 860 2065
UUCP:   ...!att!cblpn!djs
-- 
Doug Scofea  -  djs@cblpn.ATT.COM      Phone: +1 614 860 2065
UUCP:   ...!att!cblpn!djs