🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8134

Redraw or scroll

#8134
From: Sying-Syang Liu
Date: Fri, 16 Dec 1988 14:59
29 lines
1561 bytes
I am working on UNIX 4.2 Release 3.4 and GNU emacs 18.52.5.

What is the criteria that emacs decides to redraw or scroll up (or down)
a buffer when \C-n is pressed at the bottom of a buffer (or \C-p at the
top of a buffer) is pressed?  Emacs usually scrolls on a "slow" terminal
(with speed <= 19200).

The situation is that I usually telnet (not rlogin) from a machine to
the other.  In that case I will get a speed 38400 (logically not
physically).  Under this speed, emacs usually redraws the buffer when
\C-n is pressed at the bottom of a buffer or \C-p at the top of a
buffer.

I have tried "stty 9600" to reset the terminal (No hardware adjustment
is necessary.  Telnet controls it.)  It works but I have to do it
every time when I log in.  I did not reset the terminal speed in my
.login because we have terminals with different physical speeds here.

I also tried to redefine the function "baudrate" (in emacs).  
It did not work.

How to get the physical speed of a terminal?  
How to tell emacs to scroll (up or down) instead of redrawing.

-- UUCP: ...uflorida!beach!lius
   Internet: lius@ufl.edu
   CSNet:    lius%ufl.edu@relay.cs.net
   Sying-Syang Liu, University of Florida
Technical Details
Message-ID: <LIUS.88Dec16095911@banana.ufl.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tank!ncar!mailrus!uflorida!bikini!lius

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tank!ncar!mailrus!uflorida!bikini!lius
From: lius@banana.ufl.edu (Sying-Syang Liu)
Newsgroups: comp.emacs
Subject: Redraw or scroll
Message-ID: <LIUS.88Dec16095911@banana.ufl.edu>
Date: 16 Dec 88 14:59:11 GMT
Sender: news@uflorida.cis.ufl.EDU
Distribution: comp
Organization: UF CIS Department
Lines: 29