[comp.emacs] terminal-emulator

nate@cpocd2.UUCP (Nate Hess) (04/27/87)

(insert (emacs-version))
==> GNU Emacs 18.41.1 of Thu Mar 26 1987 on cpocd2 (berkeley-unix)
Additional info:  I'm using a VT220 terminal.

Is anyone using the terminal-emulator feature?  I have encountered a
problem with it and haven't been able to come up with a satisfactory fix...

To reproduce the bug:
	Call terminal-emulator running csh.  Type the following:

		while (1)
		? clear ; w ; sleep 5
		? end

	Now visit a file that is bigger than one screenful of text.  Go
	to the bottom of it.  After a few seconds (whenever the
	terminal-emulator updates its buffer), the point of the current
	buffer will jump to near the beginning.  Repeat this behavior as
	often as necessary for you to verify the bug -- sure enough, the
	*current* buffer's point is being changed, even though the
	terminal emulation buffer is *not* the current window.


Has anyone else noticed this behavior?  Does anyone, perchance, have a
fix for it?  I have breezed through the terminal.el code (mighty
interestin'! :-)# but couldn't come up with a clean fix.

Any help would be appreciated.
--Nate
-- 
	"How do you get your mind to tilt like your hat?"

...!{decwrl|hplabs!oliveb|pur-ee|qantel|amd}!intelca!mipos3!cpocd2!nate
<domainish> :   nate@cpocd2.intel.com		ATT :    (602) 961-2037

dsill@RELAY.NSWC.NAVY.MIL (05/16/89)

Thanks again to all who replied to my query.  I've forwarded the
responses to my friend -- I'll let him decide what to do.

Obviously, the issues involved in running a screen oriented program
within a window of another screen oriented program are complex.  I'm
just glad I've got X to handle such things for me.

-Dave (dsill@relay.nswc.navy.mil)