Article View: gnu.emacs.bug
Article #99024horizontally-split windows and redisplay
From: Jamie Zawinski
Date: Sat, 24 Nov 1990 03:34
Date: Sat, 24 Nov 1990 03:34
33 lines
2312 bytes
2312 bytes
When using emacs with a terminal program emulating a 132x50 vt100, I've noticed some really poor choices in emacs' redisplay. For example, if I have one window which is 80 columns wide side-by-side with one that is 52 wide, and I page forward in the 52 column one, emacs redisplays *both* windows - rather than sending a sequence like "goto column 80, clear-to-eol, write some characters," it's redrawing the whole line. Similarly with things like ^U^V, and with switching buffers. However, if I switch the rightmost of the windows to an empty buffer, the column is cleared without redrawing the leftmost one. When drawing the "|"s dividing the two windows, a line of spaces followed by a | is sent, instead of using direct cursor positioning. I thought it was possible to hand a vt100 a rectangle on the screen and tell it to scroll that without affecting the characters to the right and left; that doesn't seem to be being used. Maybe the termcap entry I have isn't sophisticated enough; it's included below. When a mode-line does not extend all the way across the screen, it is not drawn in inverse video. Is there any way to get the line of "|"s to be in inverse video? -- Jamie j1|home|home|vt100-132-49|:do=^J:co#132:li#49:cl=49\E[;H\E[2J:sf=5\ED:le=^H:\ bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:ce=3\E[K:cd=49\E[J:so=2\E[7m:\ se=2\E[m:us=2\E[4m:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\ is=\E[1;49r\E[49;1H:rf=/usr/lib/tabset/vt100:\ rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:\ kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:\ sr=5\EM:vt#3:xn:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
Technical Details
Message-ID:
<9011240334.AA06757@kolyma>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!att!tut.cis.ohio-state.edu!LUCID.COM!jwzShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,6e6fee001a6c1822,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-11-23 19:34:31 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!att!tut.cis.ohio-state.edu!LUCID.COM!jwz From: jwz@LUCID.COM (Jamie Zawinski) Newsgroups: gnu.emacs.bug Subject: horizontally-split windows and redisplay Message-ID: <9011240334.AA06757@kolyma> Date: 24 Nov 90 03:34:31 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33 Approved: bug-gnu-emacs@prep.ai.mit.edu Posted: Sat Nov 24 04:34:31 1990