[net.emacs] Pause Bug in Unipress Emacs

km@emory.UUCP (Ken Mandelberg) (03/29/84)

When I use the pause function on a termcap supported
terminal (TrmTERM), the terminal state is not properly
restored. This does not happen on the terminal specific
drivers. I have looked through the source, and the
gtty/stty stuff looks ok to me (and no different in the
TrmTERM case). We are running 4.2BSD.


Ken Mandelberg
Emory University
Dept of Math and CS
Atlanta, Ga 30322

{akgua,sb1,gatech}!emory!km

chris@umcp-cs.UUCP (04/01/84)

[Re: terminal state wrong after resuming a paused Emacs]

TrmTERM as distributed has some terrible code that tends to send
the "ei" and "se" strings at seemingly random times; if you have
escape sequences that toggle these, you may have trouble with insert
mode or some such.

I have completely rewritten the display driver and TrmTERM and some
of the other Trm* programs; the new code is currently inching its
way toward UniPress, so maybe they'll send out a new release.

In case you're interested in gory details:  the new code moves all
the fixedpoint code out of the terminal drivers; it does separate
insert and delete cost calculations; it handles terminals like the
VT100 that can only insert or delete one line at a time, and like
the Ann Arbor Ambassador that can do n-line ID; TrmTERM can run on
any terminal that supports (1) clear screen and (2) either relative
or absolute cursor motion, and it seems to handle magic cookie
glitch terminals properly; there's an H19 driver that can use ANSI
mode (at least up to 1200 baud for sure - I haven't tested higher
rates) that does fast scrolling (via n-line ID).  In short, the
terminal handling is much better.  I've also fixed a number of
other bugs, such as null string handling in the MLisp compiler,
keymap traversal during (local-)bind-to-key, etc.  It has as a
compile time option the "echo-keystrokes" feature, which lets you
have keys that are in keymaps echoed after a delay; i.e., if you
type ESC and sit back for a bit, you'll see "ESC-" in the minibuf.
There's all sorts of other neat stuff.  Wow, too bad we can't sell
this new version....
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris.umcp-cs@CSNet-Relay