[comp.emacs] Scrolling faster in SunView, Making multi-line scrolling really work

peck@SUN.COM (01/18/89)

A lot of folks have asked about this, so to refresh all your memories:
There's two things you can do to make scrolling repaint go faster.

In your .defaults file, include the line:
/Tty/Retained   "Yes"
That way, the terminal emulator can do text moves using bitblt, 
instead of repaint.
    If SunOS/4.0 does not have this option, or you are on a memory limited
    color monitor , then don't worry about it.

 Also, tell UNIX and Emacs that the Sun terminal supports 
MULTI-Line and MULTI-Character insert/delete.  
Add this patch to your /etc/termcap file:

*** /etc/termcap.~1~    Mon Sep 15 12:34:23 1986
--- /etc/termcap        Mon Feb  9 17:34:08 1987
***************
*** 32,39 ****
--- 32,40 ----
  Mu|sun|Sun Microsystems Workstation console:\
        :am:bs:km:mi:ms:pt:li#34:co#80:cl=^L:cm=\E[%i%d;%dH:\
        :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:rs=\E[s:\
        :al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\
+       :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:\
        :up=\E[A:nd=\E[C:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
        :k1=\E[224z:k2=\E[225z:k3=\E[226z:k4=\E[227z:k5=\E[228z:\
        :k6=\E[229z:k7=\E[230z:k8=\E[231z:k9=\E[232z:
  M-|sun-nic|sune|Sun Microsystems Workstation console without insert character:\


If you don't have the program "patch", just add the line marked "+":
        :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:\

guy@auspex.UUCP (Guy Harris) (01/19/89)

>    If SunOS/4.0 does not have this option,

SunOS 4.0 has this option; I presume from your statement that you don't
have access to it.  In that case, also note that:

> Also, tell UNIX and Emacs that the Sun terminal supports 
>MULTI-Line and MULTI-Character insert/delete.

...the 4.0 "termcap" file has AL and DL capabilities for the "sun" entry
already, so you shouldn't add them.  (I don't know if later 3.x
"termcap" files had them; check before adding those entries.)