rogers@falcon.SRC.Honeywell.COM (Brynn Rogers) (07/18/89)
I run kermit at home with my AT-clone and a 1200 baud modem. When I run emacs and have two or more windows open I am seriously slowed up or down because most of the time scrolling down in a window results in the redrawing of that whole window, instead of just scrolling that window using ANSI commands. I know it can work right because sometimes it does, and scrolling to a new line in one window just draws the one new line and goes fast. I have no Idea why it works fine in some cases but not others. If I have only one window open it works fine. I am just using the standerd termcap entry for a vt100 and I have the NNANSI.SYS device driver loaded (works great, lightning fast) which is an enhanced ANSI driver that handles 43 and 50 line modes. I have a orchid prodesigner and love it, I can run in BIOS supported text modes like 50x100 using a 8x12 character or virtually any size from 8x8 to 8x16. Of course I just do a 'stty rows 50 cols 100' to keep emacs aware of my screen size. Brynn Rogers Honeywell S&RC rogers@src.honeywell.com 612-782-7737 use this address if your reply bounces
rogers@falcon.SRC.Honeywell.COM (Brynn Rogers) (07/19/89)
I (Brynn Rogers) wrote: > When I run emacs and have two or more windows open I am seriously >slowed up or down because most of the time scrolling down in a window results Of course I meant I was slowed down when scrolling up or down. Also, I am running GNU emacs 18.51.10 on BSD 4.2 and MSKERMIT version 2.32 at home (I think that's the kermit I am using) Brynn Rogers Honeywell S&RC rogers@src.honeywell.com 612-782-7737 use this address if your reply bounces
hsu@kampi.hut.fi (Heikki Suonsivu) (07/23/89)
In article <25825@srcsip.UUCP> rogers@src.honeywell.com (Brynn Rogers) writes: >line and goes fast. I have no Idea why it works fine in some cases but not >others. If I have only one window open it works fine. You might try d0|vt100|vt100-am|vt100am|dec vt100:\ :al=\E[L:AL=\E[%2L:dc=\E[P:DC=\E[%2P:\ :do=^J:DO=\E[%2B:co#80:li#24:ll=\E[24;1H:cl=\E[H\E[2J:sf=\ED:\ :le=^H:LE=\E[%2D:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :RI=\E[%2C:UP=\E[%2A:dl=\E[M:DL=\E[%2M:\ :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :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=\EM:vt#3:xn:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr: I have removed tabset for some no-more-online-in-my-memory reason. I have been using it with a bit older kermit, and I think it works even with real vt100:s? - Heikki Suonsivu @ 2:504/1 2:504/7 Kuutamokatu 5 A 7/02210 Espoo/FINLAND ..!mcvax!santra!kampi!hsu hsu@fingate.BITNET hsu@kampi.hut.fi voice +358-0-1351300 fax -1351948 v22bis -1351526 Dont panic, registers follow
rogers@falcon.SRC.Honeywell.COM (Brynn Rogers) (07/25/89)
In article <25825@srcsip.UUCP> rogers@src.honeywell.com (Me!) writes:
<I run kermit at home with my AT-clone and a 1200 baud modem.
< When I run emacs and have two or more windows open I am seriously
<slowed down because most of the time scrolling up or down in a window results
<in the redrawing of that whole window, instead of just scrolling that
<window using ANSI commands. I know it can work right because sometimes
<it does, and scrolling to a new line in one window just draws the one new
<line and goes fast. I have no Idea why it works fine in some cases but not
<others. If I have only one window open it works fine.
I have learned a great many things and I have narrowed down the behavior
of this problem but even custom termcaps have not fixed completely.
Whenever I have a window smaller than about 15 lines it gets completely
repainted when I just move down one line, but if it is bigger it just
deletes one line and inserts the new one like it should. Is there something
that controls this behavior? Looking at scroll.c (emacs source) I
can see that a large amout of effort is used to figure the cost of
different methods of scrolling. Why does it always choose to repaint
when the window is small? [ I have no padding whatsoever in my termcap,
scrolling regions is defined along with multiple line/character insertion
and deletion]
Brynn Rogers Honeywell S&RC rogers@src.honeywell.com
612-782-7737 use this address if your reply bounces
mitsolid@acf5.NYU.EDU (Thanasis Mitsolides) (07/26/89)
Emacs tends to redraw instead of scrolling whenever it thinks you have a fast connection to your terminal. Some times the unix system has wrong information about the actual speed of the connection. The unix system here constantly thinks the speed is 34000 bps! Needles to say that under that lie, emacs behaves like a moron. You just have to execute the command 'stty 2400' or whatever (before you enter emacs), and emacs will get to its sences again. Then, you might be interested to have a look at the variables: [i]search-slow-... Thanasis ------------------------------------------------------------------------------- "If you know what you are doing, you are not learning anything." Internet: mitsolid@csd2.nyu.edu (mitsolid%csd2.nyu.edu@relay.cs.net) UUCP : ...!uunet!cmcl2!csd2!mitsolid -------------------------------------------------------------------------------
rogers@falcon.SRC.Honeywell.COM (Brynn Rogers) (07/26/89)
THANK YOU! Finally I get this thing to work right. Yes, our LAN makes it look like everybody is running at 38.4K baud. stty speed 1200 solved my problems, along with a kermit termcap mailed to me by a kind soul and modified more by me. One other person suggested that I try setting my speed lower and I tried 'stty speed 300' which didn't seem to work, so I gave up on that approach. Thanks to everybody that Helped! Brynn Brynn Rogers Honeywell S&RC rogers@src.honeywell.com 612-782-7737 use this address if your reply bounces
rogers@falcon.SRC.Honeywell.COM (Brynn Rogers) (07/26/89)
Opps, 'stty speed 1200' doesn't work all the time, 'stty extb 1200' is the necesary command. Brynn Rogers Honeywell S&RC rogers@src.honeywell.com 612-782-7737 use this address if your reply bounces